Macro Calculator
- Runs in your browser: what you type is not uploaded
- Free, no sign-up
- Formula and a worked example below
About Macro Calculator
The macro calculator splits a daily calorie target into grams of carbohydrate, protein and fat. Macronutrients each supply energy at a fixed rate, so once you choose how to divide calories by percentage, the calculator converts those percentages into grams you can track.
Different splits suit different goals — a balanced split works for general health, low-carb for appetite control, and high-protein for muscle building or dieting.
Formula
- carbs — 4 kcal per gram
- protein — 4 kcal per gram
- fat — 9 kcal per gram
- macro% — the chosen split, e.g. 40 / 30 / 30
Carbs and protein yield 4 kcal/g; fat yields 9 kcal/g. Percentages must sum to 100.
Macro Calculator: worked example
2,000 kcal on the Balanced split (40/30/30)
- Carbs: 2,000 × 40% = 800 kcal ÷ 4 = 200 g.
- Protein: 2,000 × 30% = 600 kcal ÷ 4 = 150 g.
- Fat: 2,000 × 30% = 600 kcal ÷ 9 = 66.7 g.
Answer: 200 g carbs, 150 g protein and about 66.7 g fat a day.
How to use the Macro Calculator
- Enter your daily calorie target.
- Choose a macro split (balanced, low-carb or high-protein).
- Read the grams and calories for carbs, protein and fat.
- Use these grams as daily targets in a food tracker.
Good to know
- Fat is more than twice as energy-dense as carbs or protein, so small gram changes shift calories a lot.
- Protein is usually kept high across all splits to protect muscle.
- Low-carb is one of three splits here; none of them is required for fat loss, which follows total calories.
- Total calories drive weight change; the split mainly affects performance, satiety and adherence.
Frequently asked questions about the Macro Calculator
Which macro split is best?
There is no single best split — pick one you can stick to. Keep protein adequate and adjust carbs and fat to your preference and how you train.
Why do carbs and protein have 4 calories but fat has 9?
That reflects each nutrient's energy density (Atwater factors). Alcohol, for reference, provides about 7 kcal/g.
Do I have to hit my macros exactly?
No. The targets are estimates from the calories and split you choose, so small daily differences are expected; what you eat over weeks matters more than any single day.