Skip to content
induwara.lk
induwara.lkHealth · Nutrition

Macro Calculator, Daily Protein, Carbs & Fat

Set a calorie target, pick a macro split, balanced, keto, high-protein, IIFYM cut or bulk, and get daily grams of protein, carbohydrate, and fat. Atwater 4·4·9 and ISSN-backed, runs in your browser, no signup.

By Induwara AshinsanaUpdated May 11, 2026
Plan your daily macrosAtwater 4·4·9 · ISSN-backed
Sources cited
kcal

Use your maintenance calories for body recomposition, or apply a deficit / surplus.

kg

Enables a protein-by-body-weight cross-check against ISSN 2017 guidelines.

Quick calorie presets

Macro split preset

Protein
150 g
600 kcal · 30%
Carbohydrates
200 g
800 kcal · 40%
Fat
67 g
600 kcal · 30%
Per meal × 4
500 kcal
P 38 · C 50 · F 17 (g)

Balanced split breakdown

Macro% of kcalGrams / daykcal / dayAtwater
Protein30%150 g6004 kcal/g
Carbohydrate40%200 g8004 kcal/g
Fat30%67 g6009 kcal/g
Total100%417 g2,000

Atwater factors from USDA Agriculture Handbook 74. Protein-by-weight bands from the ISSN 2017 position stand and Helms et al. 2014. Full citations in “Sources” below.

How it works

The calculator does three things: it takes your daily calorie target, applies a macro ratio you choose, and converts each share into grams using the Atwater general factors. Those factors, 4 kcal per gram of protein, 4 kcal per gram of carbohydrate, and 9 kcal per gram of fat, come from the 1973 USDA Agriculture Handbook by Merrill and Watt and still drive every nutrition label printed under FDA, EU, and Codex Alimentarius rules. The arithmetic is deliberately simple:

  1. Decide the daily calorie target. For maintenance, that is your TDEE (basal metabolic rate × an activity multiplier). For a cut, subtract 10–25%; for a lean bulk, add 5–15%.
  2. Pick a preset. Each preset is a published macro ratio with a literature basis, Balanced sits inside the IOM 2005 Acceptable Macronutrient Distribution Range; High-Protein and IIFYM Cut follow the ISSN 2017 protein guidelines; Keto follows the Volek & Phinney well-formulated ketogenic profile; Zone reproduces the 30/40/30 ratio popularised by Barry Sears.
  3. Multiply: grams = (kcal × ratio) ÷ Atwater factor. For 2,000 kcal at the Balanced 30/40/30 split that produces 150 g protein, 200 g carbohydrate, and 67 g fat.
  4. Optionally enter body weight. The cross-check panel then compares the implied protein grams per kilogram against the ISSN 2017 bands, 1.4–1.7 g/kg for general fitness, 1.8–2.2 g/kg during a deficit, 1.6–2.0 g/kg for lean bulks, and 2.3–3.1 g/kg for natural contest preparation (Helms et al. 2014).
  5. Divide by the number of meals per day. The Schoenfeld–Aragon–Krieger 2013 meta-analysis on protein timing showed that distributing protein across three to five meals supports muscle protein synthesis better than two large servings, so the calculator surfaces the per-meal split alongside the daily totals.

A protein-first cross-check is also implemented in the data module ( calculateMacrosByProteinFirst()): fix protein at a target g/kg, fix fat at a chosen percentage, and let carbohydrate fill the remaining calories. Both approaches must agree on total kilocalories, the two routines effectively verify each other.

Worked examples

2,000 kcal · Balanced (30 P / 40 C / 30 F)

  1. Protein: 2,000 × 0.30 = 600 kcal → 600 ÷ 4 = 150 g
  2. Carbs: 2,000 × 0.40 = 800 kcal → 800 ÷ 4 = 200 g
  3. Fat: 2,000 × 0.30 = 600 kcal → 600 ÷ 9 ≈ 67 g
  4. Verify: 600 + 800 + 600 = 2,000 kcal ✓

2,500 kcal · High-Protein (40 P / 35 C / 25 F)

  1. Protein: 2,500 × 0.40 = 1,000 kcal → 250 g
  2. Carbs: 2,500 × 0.35 = 875 kcal → 219 g
  3. Fat: 2,500 × 0.25 = 625 kcal → 69 g
  4. Cross-check at 80 kg body weight: 250 g ÷ 80 = 3.13 g/kg, sits at the top of the Helms et al. 2014 contest-prep band.

1,800 kcal · Keto (25 P / 5 C / 70 F)

  1. Protein: 1,800 × 0.25 = 450 kcal → 113 g
  2. Carbs: 1,800 × 0.05 = 90 kcal → 23 g (well under the 30 g ketogenic threshold)
  3. Fat: 1,800 × 0.70 = 1,260 kcal → 140 g
  4. Note: this is the only preset that sits below the IOM 2005 AMDR for carbs, intentional for a Volek & Phinney–style ketogenic plan.

Macro presets at a glance

PresetProteinCarbsFat
Balanced30%40%30%
High protein40%35%25%
Low carb30%20%50%
Keto25%5%70%
High carb20%60%20%
IIFYM cut40%30%30%
IIFYM bulk25%50%25%
Zone diet30%40%30%

Frequently asked questions

Sources & references

Related tools

Comments & feedback

Spotted a bug or want an improvement? Tell us, our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] , most fixes ship within 24 hours.