Nutrition
Grams from calories
Multiply the daily calories by the share going to one macronutrient, then divide by that nutrient's calories per gram.
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.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| C | Daily calories | kilocalories | The calorie target the split is applied to. |
| s | Share | dimensionless | Proportion for one macronutrient, so 30 percent is 0.3. |
| k | Calories per gram | kilocalories per gram | 4 for protein, 4 for carbohydrate, 9 for fat. |
| g | Grams | grams | Weight of that macronutrient to eat. |
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.