Macro

Use this calculator

Macronutrients are proteins, carbohydrates and fats. They contribute food energy, commonly estimated at approximately 4, 4 and 9 kilocalories per gram respectively. A macro allocation can be expressed as shares of a daily energy budget or calculated from entered gram amounts.

Energy shares into grams

E_{\mathrm{kcal}}=4P+4C+9F
E is estimated energy in kcal; Pg, Cg and Fg are protein, carbohydrate and fat grams; P% is the entered protein energy percentage. Carbohydrate grams follow E×C%÷400, and fat grams follow E×F%÷900. Energy factors are approximations and do not describe all poss

Energy shares into grams

E is estimated energy in kcal; Pg, Cg and Fg are protein, carbohydrate and fat grams; P% is the entered protein energy percentage. Carbohydrate grams follow E×C%÷400, and fat grams follow E×F%÷900. Energy factors are approximations and do not describe all poss

Energy shares into grams

E is estimated energy in kcal; Pg, Cg and Fg are protein, carbohydrate and fat grams; P% is the entered protein energy percentage. Carbohydrate grams follow E×C%÷400, and fat grams follow E×F%÷900. Energy factors are approximations and do not describe all possible food components.

A 2000-kcal stacked energy allocation divides 30% protein, 40% carbohydrates and 30% fat.

E is estimated energy in kcal; Pg, Cg and Fg are protein, carbohydrate and fat grams; P% is the entered protein energy percentage. Carbohydrate grams follow E×C%÷400, and fat grams follow E×F%÷900. Energy factors are approximations and do not describe all possible food components.

Select percentage planning or existing grams

ModeExact visible fields (unit; defaults where supplied)
CalculateDaily calories (kcal); Protein (%); Carbohydrate (%); Fat (%)
Grams → sharesProtein (g); Carbohydrate (g); Fat (g)

In Calculate mode enter Daily calories (kcal) plus Protein, Carbohydrate and Fat percentages that sum to 100% (within the app’s 0.01 percentage-point tolerance). In Grams → shares mode instead enter non-negative gram quantities for Protein, Carbohydrate and Fat; at least one must produce positive energy.

Check grams and corresponding energy

Calculate returns Protein (g/day) as the main result, plus Carbohydrate and Fat grams/day. Grams → shares returns Estimated total energy (kcal), with Protein share, Carbohydrate share and Fat share. For 2000 kcal at 30/40/30%, the gram outputs are 150 g protein, 200 g carbohydrate and about 66.67 g fat.

Use the correct denominator for shares

Macro percentages describe energy shares, not percentages of total gram weight. A gram of fat has a different estimated energy value from a gram of carbohydrate or protein.

Three labeled 1-g blocks explain the 4, 4 and 9 kcal energy factors without comparing gram shares to energy shares.

Macro percentages describe energy shares, not percentages of total gram weight. A gram of fat has a different estimated energy value from a gram of carbohydrate or protein.

Run the process in reverse

For 100 g protein, 150 g carbohydrate and 60 g fat, energy is 400 + 600 + 540 = 1540 kcal; the energy shares are about 25.97%, 38.96% and 35.06%.

An input-to-result matrix computes actual grams for the 2000-kcal 30/40/30 example and checks its energy sum.

For 100 g protein, 150 g carbohydrate and 60 g fat, energy is 400 + 600 + 540 = 1540 kcal; the energy shares are about 25.97%, 38.96% and 35.06%.

What a nutrition label includes

Packaged-food labels may list dietary fiber, alcohol and other components with distinct energy conventions. The BB Calculator uses three approximation factors and does not derive a comprehensive nutrition record.

Quick answers

Why must the three percentages add to 100%?

Calculate mode allocates the entire entered calorie budget among the three macros.

Can I start from grams instead of percentages?

Yes. Grams → shares returns estimated energy and each macro’s energy percentage.

Are protein and fat grams interchangeable?

No. The app uses approximately 4 kcal per protein gram versus 9 kcal per fat gram.

References

• FDA: energy factors on Nutrition Facts labels. https://www.fda.gov/media/81606/download?attachment=

• FDA: calories definition. https://www.fda.gov/food/nutrition-facts-label/calories-nutrition-facts-label

• FDA: interpreting nutrition labels. https://www.fda.gov/food/nutrition-facts-label/how-understand-and-use-nutrition-facts-label