Macro Calculator

Turn your daily calories into a practical eating plan. This macro calculator splits your calories into grams of protein, carbohydrates and fat for balanced, high-protein, keto, low-fat or custom diets.

πŸ₯— 4 diet presets + custom πŸ”’ Private – runs in your browser ⏱ Takes 15 seconds

Set your targets

Start from your daily calorie target

kcal

Not sure? Use the calorie calculator first.

Diet style

Numbers show protein / carbs / fat as a percentage of calories.

Calculated on your device β€” nothing is sent or stored.

Your macro result

Your result will appear here

Enter your calories, choose a diet style and press Calculate Macros.

What are macros?

Macronutrients β€” β€œmacros” for short β€” are the three nutrients your body needs in large amounts: protein, carbohydrates and fat. Together they supply almost all of your calories. Protein builds and repairs muscle, skin and enzymes; carbohydrates are the body's preferred fuel for the brain and high-intensity exercise; and fat supports hormones, cell membranes and the absorption of vitamins A, D, E and K.

Counting calories tells you how much to eat. Counting macros adds what to eat, which helps you stay full, protect muscle while losing fat and fuel your training properly.

How to use this macro calculator

  1. Enter your daily calorie target. If you have used our calorie calculator on this device, it is filled in automatically.
  2. Choose a diet style β€” balanced, high-protein, keto or low-fat β€” or select Custom to enter your own percentages.
  3. Pick how many meals you eat to see grams per meal.
  4. Press Calculate to get daily grams, a donut chart of your calorie split and a fibre target.

How macros are calculated

Each macro's share of calories is converted into grams with the standard Atwater energy factors:

Protein (g) = calories Γ— protein % Γ· 4 Carbs (g) = calories Γ— carb % Γ· 4 Fat (g) = calories Γ— fat % Γ· 9 Fibre (g) β‰ˆ 14 Γ— calories Γ· 1,000

Example: on 2,000 kcal with a balanced 20/50/30 split you would eat 2,000 Γ— 0.20 Γ· 4 = 100 g protein, 2,000 Γ— 0.50 Γ· 4 = 250 g carbohydrate and 2,000 Γ— 0.30 Γ· 9 β‰ˆ 67 g fat, plus about 28 g of fibre.

Which macro split should you choose?

Diet styleProtein / Carbs / FatBest for
Balanced20 / 50 / 30 %General health; matches official dietary ranges
High-protein35 / 35 / 30 %Fat loss while keeping muscle, strength training
Keto20 / 5 / 75 %Very low-carb eating; typically under 50 g carbs a day
Low-fat25 / 55 / 20 %Endurance sport, people who prefer high-carb foods

For reference, the US National Academies' Acceptable Macronutrient Distribution Ranges (AMDR) for adults are 10–35% of calories from protein, 45–65% from carbohydrates and 20–35% from fat. Protein targets are often better set per kilogram of body weight β€” see the protein intake calculator.

Adjusting your macros over time

Treat your first set of numbers as an experiment. Follow it consistently for two to three weeks and watch your weight trend, energy, hunger and training performance. If you are always hungry, shift some calories from fat to protein and high-fibre carbohydrates. If workouts feel flat, try moving a little more of your intake to carbohydrates around training. When your weight changes by more than 4–5 kg, recalculate your calories first and then your macros, because both depend on body size.

Tips for hitting your macros

  • Build each meal around protein β€” eggs, dairy, fish, chicken, tofu, paneer or legumes β€” then add carbs and fats.
  • Choose high-fibre carbs like oats, whole grains, beans, fruit and vegetables over refined ones.
  • Favour unsaturated fats from nuts, seeds, olive oil and oily fish, and limit saturated and trans fats.
  • Get within 5–10 g of each target β€” perfect precision is not necessary for results.
  • Use a food-tracking app for a few weeks to learn portion sizes, then switch to eyeballing.

Limitations and when to see a doctor

Macro targets are a framework, not a prescription. Food labels can be off by up to 20%, and individual needs vary with training, health and age. Diet quality β€” vitamins, minerals, fibre and whole foods β€” matters as much as the numbers.

Speak to a doctor or registered dietitian before changing your diet substantially if you have diabetes, kidney or liver disease, high cholesterol, are pregnant or breastfeeding, or have a history of eating disorders. Very low-carb and high-protein diets are not suitable for everyone.

Macro Calculator FAQs

There is no single best ratio. Studies comparing low-carb and low-fat diets find similar weight loss when calories and protein are matched. What matters most is a calorie deficit you can stick to, with enough protein to protect muscle, so choose the split that suits your food preferences.

Protein and carbohydrates provide about 4 kcal per gram, fat provides about 9 kcal per gram and alcohol about 7 kcal per gram. These Atwater factors are used to convert your calorie target into grams.

Many healthy adults follow a ketogenic diet short term without problems, but it can raise LDL cholesterol in some people and makes it harder to get enough fibre. People with diabetes on medication, kidney disease, a history of eating disorders, or who are pregnant should only try keto with medical advice.

No. Counting macros is a helpful tool for specific goals such as fat loss or muscle gain, but many people eat healthily by following simple habits: half a plate of vegetables, a palm of protein, a fist of carbohydrates and a thumb of fats at each meal.

A common guideline from the Dietary Guidelines for Americans is about 14 g of fibre for every 1,000 kcal you eat, which is roughly 25–38 g a day for most adults. Vegetables, fruit, legumes, whole grains, nuts and seeds are the best sources.