Skip to main content
❤️ Nutrition

Macro Calculator

Split a daily calorie target into grams of protein, carbohydrate and fat using your chosen ratio. Protein and carbs are 4 cal/g; fat is 9 cal/g.

Protein grams
Carb grams
Fat grams
Custom ratio
100% Free
❤️ Open All Health Calculators 📖 Read the Guide

Macros — Quick answer

Protein and carbs give 4 cal/g, fat gives 9 cal/g. Grams = calories × share ÷ cal-per-gram.

protein g = cal × P% / 100 / 4 · carb g = cal × C% / 100 / 4
fat g = cal × F% / 100 / 9  (P% + C% + F% = 100)

Worked example: 2,000 cal at 30/40/30 → 150 g P, 200 g C, 66.7 g F.

2,000 calories by split (P / C / F grams)

Split (P/C/F)ProteinCarbFat
Balanced 30/40/30150 g200 g66.7 g
High-protein 40/40/20200 g200 g44.4 g
Low-carb 40/20/40200 g100 g88.9 g

Educational — not medical or nutrition advice.

❤️ Macro Calculator

Enter your daily calorie target and pick a split (or enter a custom one — the three must add to 100%).

Protein
Carbohydrate
Fat
Calorie check

⚠️ Educational meal-planning tool — not medical or nutrition advice. The three percentages must add to 100%. For a personalised plan, consult a registered dietitian.

Macros — protein, carbohydrate and fat — are the energy-providing nutrients. A macro calculator turns a calorie target into grams of each by applying their fixed energy densities: protein and carbohydrate give 4 calories per gram, fat gives 9. For any macro, grams = calories × its percentage ÷ its calories-per-gram. Choosing a split (the percentages, which must total 100%) shapes the diet toward a goal — more protein for muscle, fewer carbs for some appetite preferences — while the calorie total still drives weight change.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: Atwater energy factors (4/4/9). Not medical advice.

The macro equations

Protein & carbs
grams = calories × percent / 100 / 4
Fat
grams = calories × percent / 100 / 9
Constraint
protein% + carb% + fat% = 100

Each macro's share of calories is the calorie total times its percentage. Dividing by the energy density — 4 for protein and carbohydrate, 9 for fat — converts those calories into grams. Because fat packs more than double the energy per gram, an equal calorie share becomes far fewer grams of fat than of protein or carbs. The percentages must sum to 100%, so the split is a way of dividing the same calorie budget three ways.

Worked example — 2,000 calories, balanced split

Scenario: a 2,000-calorie day at a balanced 30% protein / 40% carb / 30% fat.

Protein & carb
2000 × 0.30 / 4 = 150 g · 2000 × 0.40 / 4 = 200 g
Fat
2000 × 0.30 / 9 ≈ 66.7 g

That is 150 g of protein, 200 g of carbohydrate and about 66.7 g of fat — which checks back to 600 + 800 + 600 = 2,000 calories. Re-weight the split and the grams shift: a high-protein 40/40/20 gives 200 g protein, 200 g carb and ~44 g fat, while a low-carb 40/20/40 gives 200 g protein, 100 g carb and ~89 g fat. The right split is personal; a common protein guideline for active people is about 1.6–2.2 g per kg of body weight.

Frequently Asked Questions

What are macronutrients?

Protein, carbs and fat. Protein & carbs = 4 cal/g; fat = 9 cal/g. Splits total 100%.

Calories to grams?

grams = cal × percent / cal-per-gram. 2000 at 30/40/30 → 150 g P, 200 g C, 66.7 g F.

Which split?

Balanced 30/40/30, high-protein 40/40/20, low-carb 40/20/40 — depends on goals.

Why so few fat grams?

Fat is 9 cal/g, so the same calories = fewer grams. 600 cal = 150 g protein but ~67 g fat.

Is this nutrition advice?

No — an educational planning tool. For a personalised plan, see a registered dietitian.

Ready to perform complete calculations?

Use the full AI Calculator suite for nutrition, fitness and health with a professional PDF report.

❤️ Open Health Calculators — Free

No registration required · 350+ calculators · PDF report export