CCalclabhub

Nutrition

Grams from calories

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

Last updated

The 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

What Each Symbol Means

Ckilocalories

Daily calories

The calorie target the split is applied to.

sdimensionless

Share

Proportion for one macronutrient, so 30 percent is 0.3.

kkilocalories per gram

Calories per gram

4 for protein, 4 for carbohydrate, 9 for fat.

ggrams

Grams

Weight of that macronutrient to eat.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate macros page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate Macros, filed under Health. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Grams from calories?

The formula for Grams from calories is 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.

What does each symbol in Grams from calories stand for?

C is daily calories; s is share; k is calories per gram; g is grams.

What units should I use with Grams from calories?

Substitute C in kilocalories, s in dimensionless, k in kilocalories per gram, g in grams. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Grams from calories?

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.