Food-energy arithmetic

How to convert macro percentages into grams

Convert a calorie amount and a stated carbohydrate, protein, and fat split into grams.

THE SHORT ANSWER

First multiply the total calories by each percentage. Then divide carbohydrate calories by 4, protein calories by 4, and fat calories by 9. This converts a stated split into grams. It does not select a split or a calorie amount for you.

See sources and limitations ↓

Use the label factors

Standard energy factors used for the conversion
MacronutrientEnergy factorGram calculation
Carbohydrate4 kcal per gramCarbohydrate calories ÷ 4
Protein4 kcal per gramProtein calories ÷ 4
Fat9 kcal per gramFat calories ÷ 9

FDA nutrition-label material uses these factors. They make the conversion repeatable when you have a calorie amount and a split that adds to 100%. They do not describe every part of food or choose a diet.

Work through one example

Example: 2,000 kcal with 50% carbohydrate, 20% protein, and 30% fat
MacronutrientCalories from the splitCalculationUnrounded grams
Carbohydrate1,000 kcal1,000 ÷ 4250 g
Protein400 kcal400 ÷ 4100 g
Fat600 kcal600 ÷ 966.7 g

The three calorie shares add to 2,000 kcal before the gram values are rounded. A display may show whole grams. Adding those rounded values back can produce a small difference. Keep the unrounded calculation when you need to audit the total.

Keep reference ranges and personal choices distinct

Population reference ranges can describe a distribution of calories among macronutrients. They do not turn one percentage split into a personal target. A calculator can show the effect of the percentages you enter without claiming that the split is right for you.

The conversion also does not assess food quality, medical needs, activity, or total energy adequacy. Use qualified support when those questions matter to a nutrition plan.

Check each input before you save it

  1. Check that carbohydrate, protein, and fat percentages add to 100.
  2. Keep the total calorie amount with the split.
  3. Use the same energy unit through the calculation.
  4. Record whether the numbers are a scenario, a label value, or a food record.

Use the macro calculator to repeat this arithmetic. Use the protein calculator when you need to compare a grams-per-kilogram reference with a macro result.

Common questions

What factors convert macros to calories?

Standard food-label factors use 4 kilocalories per gram of carbohydrate, 4 per gram of protein, and 9 per gram of fat.

Why do rounded grams not always return the exact calorie total?

A calculator can round each displayed gram value. The unrounded values are the values that sum to the original calorie amount.

Does a macro split choose what I should eat?

No. It is a way to convert a calorie amount and percentages that you enter. It does not assess a diet or prescribe an intake.

CHECK THE EVIDENCESources & limitations2 sources

Use these tools and guides

Macro calculatorProtein calculatorTDEE and energy requirement calculatorCalorie deficit vs TDEE: how the arithmetic works

ABOUT THE AUTHOR

Lena Hartwell

Lena Hartwell writes for anyone who has looked at a calculator result and thought, wait, why did that change? She likes clean comparisons, plain language, and answers that help you ask the next better question.

About Lena Hartwell

Keep reading

Measurement

How to take tape measurements

Use the right landmarks for your selected method.

By Lena Hartwell · 3 min read

Methods & limits

Why calculators give different answers

Understand the methods behind the numbers.

By Lena Hartwell · 3 min read

Energy estimates

How to choose an activity level

Include your whole day, not only your workouts.

By Lena Hartwell · 3 min read

Tracking change

How to compare measurements over time

Keep the method consistent and the context visible.

By Lena Hartwell · 3 min read

Body composition

How muscle mass is estimated

See what a waist-based muscle estimate uses and why it is different from lean mass.

By Lena Hartwell · 5 min read

Body composition

Waist-to-Height Ratio vs BMI: What Each Number Shows

Compare the inputs, uses, and limits of two common screening numbers.

By Lena Hartwell · 5 min read

Energy estimates

BMR vs RMR vs TDEE: What Each Number Means

Compare resting and whole-day energy numbers without treating an estimate as a measurement.

By Lena Hartwell · 6 min read

Body composition

What FFMI measures and what it cannot tell you

See how fat-free mass index uses an estimated body-fat input and height, and why it is different from muscle mass or a personal limit.

By Lena Hartwell · 4 min read

Body composition

Body Fat Percentage vs Fat Mass: The Difference

See how a percentage becomes an estimated mass and why the method stays part of the result.

By Lena Hartwell · 4 min read

Body composition

BMI vs body fat percentage: what is the difference?

Compare a weight-to-height screening measure with an estimate of the share of body weight that is fat.

By Lena Hartwell · 4 min read

Energy estimates

Calorie deficit vs TDEE: how the arithmetic works

See how an estimated daily energy total and a chosen intake amount create a deficit scenario.

By Lena Hartwell · 3 min read

Food-energy arithmetic

Protein calculator results: what the reference value means

Understand what a grams-per-kilogram reference converts and what it cannot tell you.

By Lena Hartwell · 3 min read

Measurement

Waist circumference vs waist-to-height ratio

Compare a waist measurement in centimetres or inches with the same measurement divided by height.

By Lena Hartwell · 3 min read

Food-energy arithmetic

Calories and kilojoules: how to convert an energy number

Convert food-energy values between kilocalories and kilojoules without changing the underlying amount.

By Lena Hartwell · 3 min read