Rules, rates and formulas can change after the date shown below. If one has changed since this was last checked, this tool may show an outdated number. Check the source before relying on this for anything important.

Macro calculator

Enter a daily calorie target and a split, and see how many grams of protein, carbs and fat that works out to. Use the maintenance calorie calculator first if you need that number.

Runs on your device Rules checked 11 Oct 2026 4 kcal/g protein and carbs, 9 kcal/g fat Estimate, not medical advice

Result

Protein
Carbs
Fat

How this is worked out

Protein and carbs give 4 calories per gram, fat gives 9. Each macro's share of your calorie target is converted to grams at that rate. The presets are common splits used by nutrition coaches and tracking apps, not a single official standard, since the right split depends on personal preference and goals as much as science.

// grams from a percentage of calories
protein (g) = calories × protein % / 100 / 4
carbs (g) = calories × carb % / 100 / 4
fat (g) = calories × fat % / 100 / 9

Worked example

2,200 calories a day on a balanced split (30% protein, 40% carbs, 30% fat): protein = 2200 × 0.30 ÷ 4 = 165 g, carbs = 2200 × 0.40 ÷ 4 = 220 g, fat = 2200 × 0.30 ÷ 9 ≈ 73 g.

If you already have a protein target in grams from the protein intake calculator, pick Custom and set the percentage that matches it, then adjust carbs and fat to fill the rest.

Sources

  • 4 kcal/g for protein and carbohydrate and 9 kcal/g for fat are the standard Atwater energy values used across nutrition labelling and tracking apps.

Questions people ask

Which split is best?

There is no single best split backed by strong evidence for most healthy people. What matters most is hitting your calorie target and protein range consistently. Pick whichever split you can stick to.

Why does fat use a different number per gram?

Fat is more energy-dense than protein or carbohydrate, 9 calories per gram against 4, so the same percentage of calories works out to fewer grams of fat than carbs or protein.

Should my percentages add up to 100%?

Yes. If you choose Custom and they do not add to 100%, the tool tells you so you can adjust.

Where do I get my calorie target?

Use the maintenance calorie calculator for a steady weight, or the muscle gain or cutting calculators for a surplus or deficit target, then bring that number here.

Related tools