Worked example: Macro Calculator
Energy-balanced allocation. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- Measurement units
- Metric
- Body weight
- 80 kg
- Calorie target source
- Enter my daily calorie target
- Your chosen daily energy target
- 2000 kcal/day
- Protein allocation method
- Body weight × entered g/kg factor
- Your chosen protein factor
- 1.2 g/kg
- Energy allocated to fat
- 25 %
- Equal meal portions
- 3
| Calculated quantity | Example result |
|---|---|
| Entered energy target | 2,000 kcal/day |
| Protein allocation | 96 g/day |
| Fat allocation | 55.6 g/day |
| Carbohydrate allocation | 279 g/day |
Macro Calculator: turn a calorie budget into understandable food-energy arithmetic
How do I calculate my macros from calories?
A macro calculation divides an energy budget between protein, fat and carbohydrate. This Macro Calculator lets you enter that budget directly or build an explicitly estimated scenario from resting energy and activity. Choosing a budget and distributing it are separate steps; the calculator does not make either choice a personalized dietary recommendation.
Protein and carbohydrate use a general factor of 4 kcal per gram, while fat uses 9. At 2,000 kcal with 20% protein, 30% fat and 50% carbohydrate, the allocations are 100 g protein, about 66.67 g fat and 250 g carbohydrate. The energy ledger shows why those different gram amounts fit the same daily total.
Should I enter protein as grams per kilogram or a calorie percentage?
They answer different questions. In factor mode, 80 kg × an entered 1.2 g/kg gives 96 g protein. That fixes protein grams, so its energy percentage changes if you change the calorie budget. In percentage mode, a fixed energy share makes grams rise or fall with the budget.
The example factor is an input, not a claimed requirement. Fat is allocated next using its energy percentage, and carbohydrate receives the remaining energy. If protein plus fat would exceed the budget, the calculator asks you to revise the inputs rather than silently produce negative carbohydrate grams.
Why are fat grams smaller than carbohydrate grams at the same calorie share?
The energy factor is different. A 450 kcal allocation represents 50 g fat or 112.5 g carbohydrate under the general 9 and 4 kcal/g factors. The donut therefore compares energy, not the relative weights of foods or nutrient grams.
The sum of macro grams is not the weight of a full meal: water, fiber and other components can contribute mass, and food labels may use food-specific energy factors. Sugars are included within carbohydrate, and saturated fat is included within total fat; they are not extra macro budgets to add again. Protein, fat and carbohydrate totals also do not describe every nutrient or the quality of the foods selected.
What do the adult macro percentage ranges mean?
The adult AMDR reference comparison uses 10–35% of energy for protein, 20–35% for fat and 45–65% for carbohydrate. It compares your selected shares with population reference ranges; it does not certify an individual diet or prescribe the examples in the comparison table.
All three shares must also fit the same 100% energy budget. Selecting the upper endpoint of every independent range would not make a coherent allocation. A share can sit inside a reference range while total calories, fiber, vitamins, medical suitability or the foods themselves still need separate assessment.
How do I use a macro calculator with food labels and portions?
Match the portion before comparing numbers. The food reference table uses 100 g edible portions and states whether each food is raw, dry or cooked. A 150 g portion uses 1.5 times the table amount. Dry oats and cooked rice contain different amounts of water, so equal gram weights are not interchangeable serving descriptions.
The food data are USDA records rather than invented meal macros. Your package label can differ by brand or preparation. Read its serving size, and account for oils, sauces and drinks separately. A small difference between labeled energy and a simple 4/4/9 reconstruction can arise from nutrient-specific factors and label rounding.
Can I split daily macros across three or four meals?
The equal-portion table divides each unrounded daily allocation by your selected number of portions. A daily 100 g protein allocation becomes 25 g in each of four equal portions. Adding the unrounded rows returns the daily totals, even if displayed rounded grams sum a little differently.
This is an accounting example, not a composed menu or a claim that equal distribution or a particular meal count is optimal. You still need foods, suitable portions and an appropriate energy budget. Use the TDEE result only as an expenditure estimate and keep any chosen adjustment visible as an assumption.
Formula and calculation method
Protein grams=body weight(kg)×chosen protein factor. Fat grams=calories×fat share/9. Carbohydrate grams=(calories−4×protein−9×fat)/4.
Energy target and allocation are supplied by you. Defaults are examples, not an individual dietary prescription.
Optional expenditure estimate reuses the independently audited resting-energy equations without changing the Calorie or BMR calculators. Activity factors and percentage changes are assumptions.
General factors are 4 kcal/g protein, 4 kcal/g carbohydrate and 9 kcal/g fat. Food labels may use different factors for fiber, sugar alcohols or specific foods; small mismatches do not automatically indicate a bad label.
Adult AMDR reference shares are protein 10–35%, fat 20–35% and carbohydrate 45–65%. Comparison against a share range does not establish dietary quality, a required individual intake or adequacy of total calories.
Scope and Limitations
- Adult educational allocation, outside pregnancy/breastfeeding and clinical nutrition treatment. Entered calorie/protein defaults and percentage examples are not recommendations. No pediatric, renal, diabetes, eating-disorder or athletic treatment plan is generated.
Reference Sources
- FDA: Nutrition Facts and general 4/4/9 energy factors
- National Academies: adult macronutrient distribution ranges
- Mifflin et al. (1990): resting energy expenditure
- Roza and Shizgal (1984): revised Harris–Benedict equation
- Maastricht UMC+: published revised equation coefficients
- Primary clinical-trial analysis: Katch–McArdle equation and model differences
- NIDDK: Body Weight Planner and its scope
- NIST: thermochemical and International Table calorie conversions
- USDA FoodData Central: Apple, raw with skin
- USDA FoodData Central: Chicken breast, meat only, roasted
- USDA FoodData Central: Chickpeas, boiled without salt
- USDA FoodData Central: White long-grain rice, enriched, cooked
- USDA FoodData Central: Oats, regular/quick, dry
- USDA FoodData Central: Almonds
Frequently asked questions
Does this Macro Calculator choose my calorie needs?
The default uses your entered calorie target. Optional estimated mode uses a selected resting equation, whole-day activity factor and your signed percentage adjustment; it remains a scenario.
Are the chart percentages percentages of grams?
No. They are energy percentages. Fat uses 9 kcal/g and protein/carbohydrate use 4 kcal/g in this general model.
Why did my carbohydrate allocation become invalid?
Your protein and fat allocations consumed more than the calorie budget. Reduce one allocation or revise the budget; negative carbohydrate grams are not displayed.
Are all example splits recommended diets?
No. They are arithmetic comparisons at the same calorie target, with reference-range differences identified. No health or weight-loss advantage is claimed.
Why can food-label calories differ from macro calculations?
Fiber, sugar alcohols, food-specific factors, portions and label rounding can affect energy. A general 4/4/9 calculation does not reproduce every food label exactly.