290 kcal = 20 × 4 + 30 × 4 + 10 × 9.

Calculations run in this browser. These form values are not sent to a server. Results are educational estimates.

Convert calories to grams of a known component

If you know how much energy is supplied specifically by protein, carbohydrate, fat or alcohol, divide that component energy by its general kcal-per-gram factor. For example, 100 kcal from protein is 25 g protein; 100 kcal from fat is about 11.1 g fat.

11.1 g of fat supplies 100 kcal using the general 9 kcal/g factor. This is the mass of the component, not the mass of a mixed food containing it.

Calculations run in this browser. These form values are not sent to a server. Results are educational estimates.

Do not enter the total energy of a mixed meal and treat the answer as its food weight. A food contains water and a mixture of components. You need a matching food energy density or nutrient breakdown to connect its total calories with edible grams. These general factors do not capture all food-specific factors, fiber or label rules.

Why there is no universal grams-to-calories ratio

General food-energy factors
ComponentGeneral kcal per gram
Protein4
Carbohydrate4
Fat9
Alcohol7

One hundred grams of cucumber and one hundred grams of olive oil have very different energy content. Use a matching food record or product label when you know total food weight. The 4/4/9/7 calculator is for grams of the components, not for guessing a food composition.

Fiber, polyols, organic acids, label rounding and food-specific factors can make label/database energy differ from this simplified sum. Do not subtract fiber and count it twice without checking the labeling system.

Sources & methods

  1. FAO: food energy conversion factorsGeneral 4/4/9/7 factors and 1 kcal = 4.184 kJ. Food-specific factors and fiber can differ.
  2. USDA FoodData Central: SR Legacy reference foodsPer 100 g edible material. Individual food names and SR Legacy NDB numbers appear in the reference tables.

Keep exploring

CaloriMate

Put the understanding into practice.

Describe a meal or add a photo in CaloriMate, review the estimate, and keep track of your day.

Free download. Optional in-app purchases. Local prices and limits are shown in your store.