Unit Converters

Grams to Calories (Macronutrient) Converter

Turn grams of a macronutrient into calories and back. It uses the Atwater factors, so carbs and protein count as 4 kcal per gram, fat as 9, and alcohol as 7.

Try
Energy
400 kcal

100 g of carbs

Energy density
4 kcal/g
In kilojoules
1,674 kJ
Conversion factors are exact; rounding may affect the final digit.
Was this helpful?

How it's calculated

kcal = grams × energy density

grams = macronutrient mass, energy density = 4 kcal/g (carbs, protein), 9 kcal/g (fat), 7 kcal/g (alcohol). Reverse: grams = kcal ÷ density. 1 kcal = 4.184 kJ.

Common values

NutrientCalories per gram
Carbohydrate4 kcal/g
Protein4 kcal/g
Fat9 kcal/g
Alcohol7 kcal/g

Common questions

Why is fat more than twice the calories of carbs?

Fat packs 9 kcal per gram while carbs and protein hold 4. That density is why fatty foods add up so fast.

What are Atwater factors?

They are the standard energy values the USDA and FDA use for each macronutrient, derived by Wilbur Atwater over a century ago.