💪
💪 Health & fitness

Food Calories from Macros (Atwater) Calculator

Results update as you type.

Your numbers

Understanding the Atwater food calorie calculator — concept and principle

Nutrition labels do not measure calories by burning food; they calculate them from the grams of protein, carbohydrate, fat and alcohol using standard energy factors. This calculator does the same, so you can estimate the energy of a meal or recipe from its macronutrients, with and without an adjustment for dietary fibre.

Atwater factors turn grams into caloriesProtein 20 g × 4 = 80, digestible carbs 39 g × 4 = 156, fibre 6 g × 2 = 12 and fat 12 g × 9 = 108 add to 356 kcal; counting all carbs at 4 gives 368.Calories = grams × kcal per gramWith fibre at 2 kcal/g356 kcal80156108All carbs at 4 kcal/g368 kcal80180108Protein 20 g× 4 = 80Carbs 45 − 6 g× 4 = 156Fibre 6 g× 2 = 12Fat 12 g× 9 = 108Alcohol would add 7 kcal per gram
Counting fibre at 2 kcal instead of 4 trims 12 kcal from this food.

How it is calculated

All inputs are in grams. Carbohydrate here means total carbohydrate including fibre, as on US-style labels.

The principle

In the late 19th century Wilbur O. Atwater measured the heat released when foods were burned in a bomb calorimeter, then subtracted the energy lost in faeces and urine. Averaged over common foods, this gave the general factors of about 4 kcal per gram for protein and carbohydrate, 9 for fat and 7 for alcohol. Fibre is a carbohydrate that we cannot digest directly, but gut bacteria ferment part of it into short-chain fatty acids that we absorb, so it yields less energy; the EU labelling rules assign it 2 kcal per gram. Subtracting fibre from carbohydrate and adding it back at 2 kcal avoids counting it at the full 4.

Worked example

  1. Default inputs: protein 20 g, carbohydrate 45 g, fat 12 g, fibre 6 g, alcohol 0 g.
  2. Protein = 20 × 4 = 80 kcal.
  3. Digestible carbohydrate = (45 − 6) × 4 = 156 kcal; fibre = 6 × 2 = 12 kcal.
  4. Fat = 12 × 9 = 108 kcal.
  5. Total = 80 + 156 + 12 + 108 + 0 = 356 kcal.
  6. Without adjustment = 80 + 180 + 108 = 368 kcal.

The calculator shows 356 kcal and 368 kcal without the fibre adjustment.

How Calories changes with Carbs (g)How Calories changes with Carbs20030040050060011.222.533.84556.267.590Example: 356Carbs (g)
Each point is the calculator re-run with only “Carbs (g)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Carbs (g)Calories
11.2221
22.5266
33.8311
45356
56.2401
67.5446
90536

How to read the result

The difference between the two numbers is fibre × 2 kcal, small for most meals. Expect your result to differ from a label by a few percent, because labels round values and some use food-specific factors. Fat-rich foods are energy-dense: 12 g of fat here supplies almost a third of the calories.

Common mistakes

Keep in mind: Calorie estimates are approximations. Actual energy absorbed varies with food processing, cooking and individual digestion, and the figures are not a diagnosis or a personalised diet plan.

Frequently asked questions

Why are protein and carbohydrate both 4 kcal?

Their measured available energies happen to be similar when averaged across foods, so the same rounded factor is used.

Where does the energy unit come from?

The food "Calorie" is a kilocalorie; 1 kcal equals about 4.184 kilojoules.

Do all countries use 2 kcal for fibre?

Not all; practice varies, and some labels do not count fibre energy separately.

Sources: Regulation (EU) No 1169/2011 on the provision of food information to consumers, Annex XIV (conversion factors). · FAO. Food energy: methods of analysis and conversion factors. FAO Food and Nutrition Paper 77, 2003.

Checked 8 Nov 2026. Published formulas cited on the page. For information only — not medical advice.

💪 All health & fitness tools →🌍 Calculators by country →