CCalclabhub

Nutrition

How To Calculate Macros

Macros are just a calorie budget divided three ways, and the only arithmetic that matters is the four-four-nine rule.

Quick Answer

grams = calories x share / caloriesPerGram

calories
Daily calorie target
share
Proportion of calories going to one macronutrient, as a decimal
g
Grams of that macronutrient
kcal/g
Energy density: 4 for protein, 4 for carbohydrate, 9 for fat

Multiply your daily calories by the share going to each macronutrient, then divide by that nutrient's calories per gram: four for protein, four for carbohydrate and nine for fat. A 2000 calorie day split 30 percent protein, 40 percent carbohydrate and 30 percent fat gives 150 grams of protein, 200 grams of carbohydrate and 66.66666666666667 grams of fat.

What Is Macros?

A macronutrient is one of the three things that supply energy: protein, carbohydrate and fat. Alcohol is sometimes counted as a fourth. Everything else on a nutrition label, from vitamins to fibre, either supplies no energy or supplies it in amounts too small to plan around, so a macro split is really a plan for where the calories come from.

The arithmetic rests on a fixed conversion. Protein and carbohydrate each supply about four calories per gram, and fat supplies about nine. Those two numbers, usually written as the four-four-nine rule, are what turn a percentage of calories into a weight of food. Without them a macro target is just a ratio with no way to reach the kitchen scale.

The first step is almost always a calorie total, and that total normally comes from a separate calculation: basal metabolic rate multiplied by an activity factor, adjusted for whether the goal is to lose, hold or gain. Macros divide that budget; they do not set it. Getting the split perfect on the wrong calorie total still misses the target.

Percentages must add up to one hundred. A split of 30, 40 and 30 is complete; a split of 30, 40 and 40 is over budget and produces grams that together supply more calories than the day allows. Because the three percentages are entered separately, nothing in the arithmetic catches a total that overshoots, so it is worth checking before trusting the gram figures.

Protein is usually set first, because it is the macro most closely tied to preserving muscle during a calorie deficit and the one with the strongest evidence for a floor rather than a ceiling. Common guidance places it between 1.6 and 2.2 grams per kilogram of body weight for people training, which is often translated into a percentage only after the calorie total is known.

Fat has a practical minimum as well. Dietary fat carries the fat-soluble vitamins and supplies the essential fatty acids the body cannot make, so most guidance keeps it above roughly 0.5 to 0.6 grams per kilogram of body weight. That floor matters most on aggressive diets, where cutting fat to make room for carbohydrate can push the total below it.

Carbohydrate is the flexible remainder in most plans. Once protein and fat are set, whatever calories are left belong to carbohydrate, which is why low-carbohydrate and high-carbohydrate diets can share identical protein and fat targets and differ only in this last number.

Fibre is counted inside total carbohydrate on most labels but supplies closer to two calories per gram than four, since the body cannot fully break it down. A high-fibre diet therefore delivers slightly fewer calories than the four-four-nine arithmetic predicts, which is a small effect but a real one at thirty grams a day.

The same split produces different gram totals at different calorie levels, which is why a percentage-based plan drifts as the calorie target changes. Two hundred grams of protein is 40 percent of a 2000 calorie day but only 32 percent of a 2500 calorie day, so recalculating grams rather than reusing percentages keeps the plan consistent.

Precision beyond about five grams per macro is not worth chasing. Food labels carry rounding, cooking changes water content, and portion estimation is approximate. A split that lands within a few grams of the target each day does the same job as one that matches it exactly, and it is far easier to sustain.

Formula

g = calories x share / kcalPerGram

Multiply the daily calories by the share going to one macronutrient, then divide by that nutrient's calories per gram.

SymbolMeaning
CDaily calories
sShare
kCalories per gram
gGrams

C = 4p + 4c + 9f

The reverse direction: convert grams back into calories. Useful for checking a plan or reading a nutrition label.

SymbolMeaning
pProtein
cCarbohydrate
fFat
CTotal calories

p + c + f = 1

The three shares must sum to one. A total above one produces more calories than the target; below one leaves calories unassigned.

SymbolMeaning
s_pProtein share
s_cCarbohydrate share
s_fFat share

How To Calculate Macros

  1. 1

    Settle on a daily calorie target

    Macros divide a calorie budget, so the budget has to exist first. Work it out from basal metabolic rate and an activity multiplier, then adjust for the goal. Everything downstream inherits any error here.

  2. 2

    Choose a split that sums to one hundred

    A common starting point is 30 percent protein, 40 percent carbohydrate and 30 percent fat. Add the three and confirm they total 100 before going further, since the arithmetic will happily produce grams from a split that does not.

  3. 3

    Convert the protein share into grams

    Multiply calories by the protein share and divide by four. For 2000 calories at 30 percent that is 600 calories, which is 150 grams of protein.

  4. 4

    Convert carbohydrate and fat the same way

    Carbohydrate also divides by four, so 2000 calories at 40 percent is 800 calories, or 200 grams. Fat divides by nine, so 2000 calories at 30 percent is 600 calories, or 66.66666666666667 grams.

  5. 5

    Sanity-check against your body weight

    Divide each gram figure by your weight in kilograms and see whether it lands in a sensible range. Protein below about 1.2 grams per kilogram is low for anyone training, and fat below about 0.5 grams per kilogram is low for almost everyone.

Examples

Example 1: 2000 calories split 30/40/30

Calories
2000
Protein
30 percent
Carbohydrate
40 percent
Fat
30 percent
StepCalculationResult
Protein calories2000 x 0.30600
Protein grams600 / 4150
Carbohydrate grams2000 x 0.40 / 4200
Fat grams2000 x 0.30 / 966.66666666666667

Result: A 2000 calorie day split 30 percent protein, 40 percent carbohydrate and 30 percent fat gives 150 grams of protein, 200 grams of carbohydrate and 66.66666666666667 grams of fat.

Example 2: 2500 calories split 40/35/25

Calories
2500
Protein
40 percent
Carbohydrate
35 percent
Fat
25 percent
StepCalculationResult
Protein grams2500 x 0.40 / 4250
Carbohydrate grams2500 x 0.35 / 4218.75
Fat grams2500 x 0.25 / 969.44444444444444

Result: At 2500 calories split 40/35/25 the day works out at 250 grams of protein, 218.75 grams of carbohydrate and 69.44444444444444 grams of fat.

Example 3: 1800 calories split 35/40/25

Calories
1800
Protein
35 percent
Carbohydrate
40 percent
Fat
25 percent
StepCalculationResult
Protein grams1800 x 0.35 / 4157.5
Carbohydrate grams1800 x 0.40 / 4180
Fat grams1800 x 0.25 / 950

Result: A 1800 calorie day split 35/40/25 comes to 157.5 grams of protein, 180 grams of carbohydrate and 50 grams of fat.

Calculator

Protein in grams

150

Carbohydrate in grams
200
Fat in grams
66.6667
Calories from protein
600
Calories from carbohydrate
800
Calories from fat
600
Shares add up to
100.00%

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the Macros calculator page.

Common Mistakes

  • Dividing fat by four instead of nine

    Protein and carbohydrate both use four, so it is easy to carry that number across to fat. Fat supplies nine calories per gram, and using four overstates the fat allowance by more than double, pushing the day well over its calorie target.

  • Using percentages that do not add to one hundred

    The three shares are entered separately and nothing in the arithmetic flags a total of 110 percent. That plan quietly supplies ten percent more calories than intended, which is enough to erase a modest deficit.

  • Confusing grams of food with grams of macronutrient

    One hundred grams of chicken breast is not one hundred grams of protein; it is closer to thirty. The formula returns grams of the nutrient, and food has to be looked up to translate that into portions.

  • Setting macros without a calorie target

    A split is a proportion, so it cannot produce grams on its own. Choosing 40 percent protein means nothing until the calorie total is known, and two people on the same split can end up with very different gram targets.

  • Ignoring the fibre correction in carbohydrate

    Fibre sits inside total carbohydrate on most labels but supplies roughly two calories per gram rather than four. On a high-fibre diet the four-four-nine arithmetic slightly overstates the calories actually absorbed.

  • Applying the same split at every calorie level

    A fixed percentage drifts as calories change, because protein needs scale with body weight rather than with energy intake. Recalculating grams after any change to the calorie target keeps the plan consistent.

FAQ

How do I calculate macros from calories?

Multiply the calorie target by each macronutrient's share, then divide by that nutrient's calories per gram. Protein and carbohydrate divide by four and fat divides by nine, so 2000 calories at 30/40/30 gives 150 grams of protein, 200 grams of carbohydrate and 66.66666666666667 grams of fat.

Why do protein and carbohydrate use four calories per gram and fat nine?

Those are the measured energy densities of the three macronutrients. Protein and carbohydrate each yield about four kilocalories per gram when metabolised and fat yields about nine, which is why fat is described as energy dense.

What is a good macro split?

There is no single answer, but a common starting point is 30 percent protein, 40 percent carbohydrate and 30 percent fat. Protein is usually set first at 1.6 to 2.2 grams per kilogram for people training, fat is kept above about 0.5 grams per kilogram, and carbohydrate takes the remainder.

Do I have to hit my macros exactly every day?

No. Food labels round, cooking changes water content and portions are estimated, so landing within a few grams of each target is as good as it gets. Consistency across the week matters far more than precision on any single day.

How many calories are in a gram of alcohol?

About seven. Alcohol is not one of the three macronutrients but it supplies energy, and it is often counted as a fourth when tracking. A drink therefore adds calories that no macro target accounts for.

Should I count fibre as carbohydrate?

Fibre appears inside total carbohydrate on nutrition labels, so the standard arithmetic counts it at four calories per gram. In practice it supplies closer to two, so a high-fibre diet delivers slightly fewer calories than the calculation predicts.

References

  1. [1]Wikipedia, Macronutrient — https://en.wikipedia.org/wiki/Macronutrient
  2. [2]Wikipedia, Food energy — https://en.wikipedia.org/wiki/Food_energy
  3. [3]USDA, Dietary Guidelines for Americans — https://www.dietaryguidelines.gov/
  4. [4]World Health Organization, Protein and amino acid requirements — https://www.who.int/publications/i/item/9789241209359