Skip to content

How to Convert Macros to Calories and Why the Numbers Do Not Add Up

Convert grams of protein, fat, and carbohydrates to calories with the formula, fiber, sugar alcohol, and alcohol factors; understand labels and why totals may differ.

For education. Use a qualified healthcare professional for diagnosis and treatment decisions. How we use sources.

To convert macros to calories, multiply grams of protein by 4, fat by 9, and carbohydrates by 4, then add the results. These are rounded factors. Fiber, sugar alcohols, organic acids, and alcohol have different values, so your sum may not match the calorie figure on a package. For food logging, use the calories shown on the package; use the calculation for foods without labels or to check a suspicious entry.

What do the four letters in “macros” mean?

“Calories” means the energy the body gets from food. Protein, fat, and carbohydrates are its main sources: protein also serves as building material for the body, fats store energy, and carbohydrates provide it readily. Fiber and alcohol also provide energy, but use different factors, as explained below.

The formula in two examples

Take plain whole-milk yogurt. The USDA entry lists 3.47 g protein, 3.25 g fat, and 4.66 g carbohydrates per 100 g, with 61 kcal. 1 Calculation: 3.47 × 4 + 3.25 × 9 + 4.66 × 4 ≈ 13.9 + 29.3 + 18.6 = 61.8. The difference is less than one calorie.

Now work backward: you eat 1,800 kcal and want protein to provide 30% of the energy. That is 540 kcal. Protein provides 4 kcal per gram, so 540 / 4 = 135 g protein. The same percentage for fat is converted to grams by dividing by 9: 30% from fat is 540 / 9 = 60 g. Always divide the calorie share by the factor for that nutrient, or the gram amount will be wrong.

Where 4, 4, and 9 come from—and why they are rounded

These numbers are called Atwater factors. A 2003 FAO report on calculating food energy describes a system that uses one general factor for each energy-providing nutrient, calculated from heat of combustion minus losses during digestion, absorption, and urea excretion. The more precise values for protein and carbohydrates are 16.7 kJ per gram and 37.4 kJ per gram for fat; the familiar 17 and 37 kJ (4 and 9 kcal) are rounded values. 2

There is also a second system, with factors for specific food groups. According to the same document, these range from 2.44 kcal per gram for some plant proteins to 4.36 for eggs. One gram of protein can therefore provide noticeably different amounts of energy in different foods; “4” is only an average. 2

In practice, the formula can be off for specific foods. In a controlled study, 18 healthy adults ate a diet that included almonds for 18 days. The measured energy in the almonds was 4.6 kcal per gram, or 129 kcal per 28 g serving. Atwater factors gave 168–170 kcal, an overestimate of about 32%. 3 A single study of one food cannot be generalized to all foods, but it shows that the formula is an assumption, not a measurement.

For foods without fiber, sugar alcohols, or alcohol, the formula’s sum should match the package within rounding. In addition, the EAEU technical regulation permits values from 5 to 100 kcal to be rounded to the nearest multiple of 5. 4 A yogurt calculated at 61.8 kcal may therefore be labeled as 60, which is normal.

One note on “how macros affect weight loss”: grams show where the energy came from, but a calorie deficit is calculated from calories. Total energy balance is what matters here; the nutrient mix is secondary. Dividing calories among nutrients is useful when you have a separate target, such as protein in the example above.

Factors that do not fit “4-4-9”

The table gives kcal per gram from three documents. The EAEU column comes from Appendix 4 of technical regulation TR TS 022/2011, the US column from an FDA labeling rule, and the FAO column from its 2003 report.

Substance TR TS 022/2011 (EAEU) United States, 21 CFR 101.9 FAO, 2003 report
Protein 4 4 (general factor) 4
Carbohydrates (available) 4 4 (for total carbohydrates) 4
Fat 9 9 9
Dietary fiber 2 2 for soluble nondigestible carbohydrates 2 (recommended; not implemented at the time of the report)
Sugar alcohols 2.4 (except erythritol) By substance: from 1.6 (mannitol) to 3.0; for example, maltitol 2.1, xylitol 2.4 2.4 (general factor)
Erythritol 0 0 Not addressed
Organic acids 3 Not addressed 3
Ethanol (alcohol) 7 Not addressed 7

Sources for the columns: 4, 5, 2. US rules also allow other methods for calculating calories, such as a table of specific factors, so that column shows only one method.

A sample label: why the total does not match

These are hypothetical numbers, not a real product. A 70 g protein bar lists 20 g protein, 8 g fat, 26 g carbohydrates, 12 g dietary fiber, and 250 kcal. Under EAEU rules, dietary fiber is not included in “carbohydrates,” but sugar alcohols are. 4 Suppose 16 g of the 26 g of carbohydrates are maltitol and similar additives, with the other 10 g available for digestion.

Three ways to calculate it:

Method Calculation Total, kcal
Roughly: apply 4-4-9 to “carbohydrates” on the package 20 × 4 + 26 × 4 + 8 × 9 256
Roughly, including fiber: count carbohydrates as “total” (38 g) 20 × 4 + 38 × 4 + 8 × 9 304
Using Appendix 4 20 × 4 + 8 × 9 + 10 × 4 + 16 × 2.4 + 12 × 2 254

The second method is 54 kcal above the stated amount. The first happens to be close, but that is not because the method is sound: it overcounts sugar alcohols by 16 × (4 − 2.4) ≈ 26 kcal and omits fiber, undercounting it by 12 × 2 = 24 kcal. The errors cancel each other out. That may not happen with another bar. Finally, the difference between 254 and 250 is rounding: under EAEU rules, energy values above 100 kcal may be rounded to the nearest multiple of 10. 4

Which number should you trust? Use the package label: manufacturers determine the values analytically or by calculation, and a label may say “Average values.” 4 If your calculation differs noticeably from the package, check exactly what you entered. The author’s rule of thumb—not a research-based threshold—is to investigate a difference greater than 10–15%.

Russian and US nutrition labels

On Russian labels, carbohydrates exclude fiber but include sugar alcohols. 4 In the US, “Total carbohydrate” is calculated by subtracting protein, fat, moisture, and ash from the food’s weight, 5 so it includes what remains, including fiber and sugar alcohols. You therefore cannot calculate a US product from the “carbohydrates” line in the same way as a Russian product: plugging the US “total” into the formula gives the second result in the table above, 304 instead of 250.

The term “net carbs,” meaning “carbohydrates minus fiber and sugar alcohols,” appears on some packages, but it is not used in the text of TR TS 022/2011. It is manufacturer marketing language, not a calculation under the regulation, so comparing it with the calorie value is not useful.

How to use this in a food diary

Record what is printed on the package: calories and grams of macros together, as listed. The calculation is useful in three cases: a food without a label (homemade or from a market), a suspicious database entry whose grams do not match its calories, or a question about a US product.

If a food entry in Nuteva looks odd, recalculate the macros with this formula and compare the result with the package. A noticeable difference is a reason to check the entry. You can also use the same formula to convert a percentage target to grams, as in the protein example above.

Alcohol is a separate case: its 7 kcal per gram do not belong to protein, fat, or carbohydrates, so it is omitted if you record only macros. The article “Alcohol Calories: A Serving-by-Serving Table” shows how to count drinks.

Check any package in your kitchen

Pick up any package and calculate its calories with the formula. If the result is close to the stated value, the formula works for that product. If it differs, look for fiber or sugar alcohols in the ingredients and recalculate using the table.

Sources

  1. USDA FoodData Central: Yogurt, plain, whole milk, FDC 171284. 61 kcal, protein 3.47 g, fat 3.25 g, carbohydrates 4.66 g per 100 g; SR Legacy entry, values are averages.
  2. FAO: Food energy, methods of analysis and conversion factors, FAO Food and Nutrition Paper 77, Chapter 3. General and specific Atwater factors, exact values in kJ, range of 2.44–4.36 kcal per gram, and factors for fiber, sugar alcohols, organic acids, and alcohol. Published in 2003; implementation status may have changed.
  3. PubMed: Novotny J.A. et al., Discrepancy between the Atwater factor predicted and empirically measured energy values of almonds in human diets, Am J Clin Nutr, 2012. 18 adults; almonds at 4.6 kcal per gram versus 6.0–6.1 by Atwater factors. One study, one food.
  4. Customs Union Commission Decision No. 881: TR TS 022/2011, Appendices 3 and 4, section 4.9 (text on alta.ru). Factors, rounding rule, and definition of carbohydrates excluding fiber and including sugar alcohols. Version amended April 22, 2024 (EEC Council Decision No. 35).
  5. Cornell LII: 21 CFR 101.9, Nutrition labeling of food. US methods for calculating calories, definitions of Total carbohydrate and Dietary fiber, and factors for individual sugar alcohols, including erythritol (0). US regulation.

Nutrition in Nuteva

Read next