Skip to content

Macro Calculator

Last verified May 2026 — runs in your browser
Calculate your macros
Protein (30% of total)
150g
600 cal
Carbs (40% of total)
200g
800 cal
Fat (30% of total)
67g
600 cal

For informational purposes only. Not a substitute for professional medical advice. Consult a healthcare provider before making health decisions.

Macros Calculator — IIFYM, Macronutrient Split (Protein/Carbs/Fat) Online

Enter your daily calorie target, pick a macro split (balanced 30/40/30, low-carb 40/20/40, high-protein 40/30/30, keto 25/5/70, or your own custom %), and the page returns the corresponding grams of protein, carbs, and fat plus the calorie split. Macro counts depend on the standard energy densities established by the Atwater system: protein and carbohydrate provide 4 kcal per gram, fat provides 9 kcal per gram, alcohol 7 kcal per gram (not modeled here — alcohol is calorically inert from a macro-tracking perspective). Useful when shifting between training phases, dialing in a cutting/bulking plan, prepping a meal-plan template, or transcribing a coach's prescription "2,400 kcal at 40/30/30" into actual grams.

About macros

Macronutrients are the three energy-providing nutrient classes — protein, carbohydrate, fat — and the macro split is the percentage of total calories each contributes. Common split rationales: balanced 30/40/30 (the AMDR-aligned default for general health), low-carb 40/20/40 (less insulin response, often paired with strength training and physique work), high-protein 40/30/30 (popular cutting macros, supports muscle retention in caloric deficit), keto 20/5/75 or 25/5/70 (ketogenic — carbs low enough to switch primary fuel to ketones, typically <30g carbs/day). The Atwater factors (4-4-9) are simplifications — actual digestible energy varies slightly per food source — but they're the standard codified in U.S. FDA 21 CFR 101.9 and EU Regulation 1169/2011 Annex XIV (FIC Regulation) on every nutrition label, so the math is consistent with what you see on packaging. Critical caveat: macro splits are tools, not commandments; individual response varies, training style matters more than precise %, and total calories matter more than split for most goals. Athletes, those with medical conditions, or anyone using extreme splits should work with a registered dietitian.

  • Atwater 4/4/9 kcal-per-gram densities (FDA + EU Regulation 1169/2011 standard)
  • 5 preset splits: balanced, low-carb, high-protein, keto, custom
  • Live grams + calorie split per macronutrient
  • Custom percentage mode with auto-validation (must sum to 100)
  • Reactive — recalcs as you change calories or split
  • Default split rationale documented (training-phase context)
  • Pure client-side math — no upload
  • Useful for cutting/bulking phases, meal-plan templates, coach prescriptions
  • Educational tool — disclaimer about extreme splits / medical conditions
  • Pairs naturally with the calorie calculator for a full TDEE → macros pipeline

Free. No signup. Your inputs stay in your browser. Ads via Google AdSense (consent required).

Frequently asked questions

Where do the 4-4-9 kcal-per-gram numbers come from?

Wilbur Atwater's USDA experimental work, originally published in 1900 (Atwater & Bryant, Annual Report of the Storrs Agricultural Experiment Station). Atwater used calorimetry on representative food samples to establish that protein and carbohydrate yield ~4 kcal of metabolizable energy per gram, and fat ~9 kcal/g. The factors are simplifications — actual digestible energy varies slightly per food source — but they are codified in modern nutrition labeling: U.S. FDA Code of Federal Regulations 21 §101.9(c)(1) and EU Regulation 1169/2011 Annex XIV (Food Information to Consumers, FIC Regulation) codify them on every nutrition label. Alcohol (7 kcal/g) is also Atwater-derived and standardized but not modeled in macro splits.

Is keto (low-carb high-fat) better for fat loss?

Not within calorie deficit, no. Multiple metabolic-ward studies and meta-analyses (reviewed in Helms, Aragon & Fitschen 2014, J Int Soc Sports Nutr 11:20) compared isocaloric low-carb vs higher-carb diets and found similar fat loss when protein is matched and total calories are equated. Keto's apparent advantage in real-world weight loss comes from spontaneous calorie reduction (high-protein, high-fat satiety) rather than metabolic magic. For body-recomp + resistance training, the ISSN 2017 protein-share rationale generally favors moderate-to-high carb intake (carbs spare protein and fuel training intensity).

Why don't carb timing strategies dominate macro recommendations?

Because total daily intake dominates timing for most goals. The ISSN 2017 Position Stand and Helms 2014 review both place total daily protein and total calories as primary, with timing as fine-tuning. Pre/intra/post-workout carb timing matters most for endurance athletes training >90 minutes or training twice per day; for resistance training under 60 minutes, evenly distributed protein across 4 meals matters more than carb pulses. The macro-calculator outputs daily totals because that is the load-bearing variable.

Is a 'balanced' 30/40/30 split actually evidence-based?

It falls within the IOM 2005 AMDR ranges (Protein 10-35%, Carbohydrates 45-65%, Fat 20-35% of daily energy) but the specific 30/40/30 numbers are convention rather than a direct research recommendation. Many publications use 30/40/30 as a default starting point for general fitness because it sits comfortably in all three ranges. For trained athletes, ISSN 2017 and Thomas 2016 ACSM/AND/DC suggest gram-per-kg-of-bodyweight targets (protein 1.6-2.2 g/kg, carbs 3-8 g/kg depending on training load) rather than percentage splits — which can drift inversely as total calories change.

Should alcohol count toward my macros?

Toward calories yes; toward macros no. Alcohol provides 7 kcal per gram (Atwater factor, codified in FDA 21 CFR 101.9) but contributes no protein, carbohydrate, or fat in the macro-tracking sense. The convention is to count alcohol calories toward the daily calorie ceiling without reducing macro grams — alcohol displaces other intake calorically but is calorically inert from the macronutrient-budget perspective. Frequent alcohol consumption tends to reduce protein-share intake at typical caloric levels, which is the practical concern for body-composition athletes.

Sources (5)
  • Atwater, W. O., & Bryant, A. P. (1900). The availability and fuel value of food materials. Annual Report of the Storrs Agricultural Experiment Station for 1899, pp. 73–110 — foundation of the 4-4-9 kcal-per-gram densities (protein 4, carbohydrate 4, fat 9) standardized in modern nutrition labeling.
  • Institute of Medicine (US) Panel on Macronutrients (2005). Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids — Acceptable Macronutrient Distribution Ranges (AMDR). National Academies Press, Washington DC — Protein 10–35%, Carbohydrates 45–65%, Fat 20–35% of daily energy.
  • U.S. Food and Drug Administration (2024). Code of Federal Regulations Title 21 §101.9(c)(1) — Nutrition labeling of food (calorie content based on Atwater factors: 4 kcal/g protein and carbohydrate, 9 kcal/g fat, 7 kcal/g alcohol). Code of Federal Regulations, U.S. Government Publishing Office.
  • Jäger, R., Kerksick, C. M., Campbell, B. I., et al. (2017). International Society of Sports Nutrition Position Stand: Protein and exercise. Journal of the International Society of Sports Nutrition, 14(1), 20 — protein-share rationale within macro splits; cutting/bulking phase recommendations.
  • Helms, E. R., Aragon, A. A., & Fitschen, P. J. (2014). Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation. Journal of the International Society of Sports Nutrition, 11, 20 — macro split rationales (protein 2.3-3.1 g/kg of lean body mass, carbs 4-7 g/kg of total body mass, fat 15-30% of intake) for resistance-training contexts.

These are the original publications the formulas in this tool are based on. Locate them by journal name and year on Google Scholar or PubMed.

By ·