Grams to Kilocalories: The 4-4-9 Rule

5–8 minutes
grams to kilocalories conversion — food nutrition label with macronutrients protein carbs fat in grams

Written by Tou Calo Nutrition Team · Vulcan Labs · Updated July 2026.

Converting grams to kilocalories is one of the most useful calculations in practical nutrition — it lets you work out how many calories come from each macronutrient in any meal or food label. The conversion is straightforward: protein provides 4 kcal per gram, carbohydrates provide 4 kcal per gram, and fat provides 9 kcal per gram. This is known as the 4-4-9 rule, and it is the basis for every calorie calculation on food labels worldwide.

The 4-4-9 rule at a glance:
Protein: 1g = 4 kcal · Carbohydrates: 1g = 4 kcal · Fat: 1g = 9 kcal · Alcohol: 1g = 7 kcal
To find out more about what kcal means vs calories, see: kcal vs calories — are they the same?

grams to kilocalories conversion — food nutrition label with macronutrients protein carbs fat in grams

In this guide

  1. The 4-4-9 rule — grams to kcal for each macro
  2. Quick reference table
  3. Worked examples
  4. How to use this on a food label
  5. Why fat has more than double the kcal per gram
  6. FAQ

The 4-4-9 rule — grams to kcal for each macro

The conversion factors used on all food labels are based on the Atwater general factors, developed in the late 19th century and still used universally today:

Macronutrient kcal per gram Formula (g → kcal)
Protein 4 kcal/g grams × 4 = kcal
Carbohydrates 4 kcal/g grams × 4 = kcal
Fat 9 kcal/g grams × 9 = kcal
Alcohol 7 kcal/g grams × 7 = kcal

These are the same factors used on every food label in the US, UK, EU and Australia. When a label shows “25g protein”, the calories from protein are 25 × 4 = 100 kcal.

Quick reference table — grams to kilocalories

Grams Protein (kcal) Carbs (kcal) Fat (kcal)
5g 20 20 45
10g 40 40 90
20g 80 80 180
30g 120 120 270
50g 200 200 450
100g 400 400 900
150g 600 600 1,350

Worked examples

Example 1 — converting a single macro

A food contains 28g of fat. How many kcal does that represent?

28g fat × 9 kcal/g = 252 kcal

Example 2 — calculating total calories from a full macro breakdown

A meal shows: 45g carbs · 30g protein · 12g fat. What is the total kcal?

Carbs: 45 × 4 = 180 kcal
Protein: 30 × 4 = 120 kcal
Fat: 12 × 9 = 108 kcal
Total: 408 kcal

Example 3 — verifying a food label

A food label shows 350 total calories with 40g carbs, 25g protein, 10g fat. Does the maths check out?

40 × 4 = 160 kcal
25 × 4 = 100 kcal
10 × 9 = 90 kcal
Total: 350 kcal ✓

Food labels are required to round calories to the nearest 5 kcal, so small discrepancies of 1–5 kcal between the stated total and the calculated total are normal.

How to use this on a food label

Every food label lists macronutrients in grams. To find where the calories come from, apply the 4-4-9 rule to each macro and express each as a percentage of total calories:

  1. Multiply each macro’s grams by its conversion factor (4, 4 or 9)
  2. Add the three results to get total calculated kcal
  3. Divide each macro’s kcal by the total to find its percentage

This is how you find the carb protein fat ratio of any food — a useful cross-check when comparing products or planning your daily macro split. Use our BMR calculator to find your daily calorie baseline, then set your macro targets as percentages of that number.

Skip the maths entirely

Snap any meal — AI converts grams to kcal for you in 3 seconds.

Download Free →

Why fat has more than double the kcal per gram

Fat provides 9 kcal per gram compared to 4 kcal/g for protein and carbohydrates. The difference comes from chemical structure. Fat molecules contain a much higher ratio of carbon-hydrogen bonds relative to oxygen bonds than either protein or carbohydrate. These carbon-hydrogen bonds release more energy when broken during metabolism. Fat is effectively a more energy-dense molecule by design — which is why it functions as the body’s primary long-term energy storage system.

The practical implication: a tablespoon of olive oil (14g) contains 126 kcal almost entirely from fat. The same weight of cooked chicken breast contains only about 23 kcal — from 5.8g protein at 4 kcal/g. This is why even small amounts of oil, butter or nuts can significantly raise a meal’s calorie total without adding much food volume. Tracking fat grams accurately is often the most important variable in calorie estimation.

Grams to kilocalories — FAQ

How do you convert grams to kilocalories?

Multiply the number of grams by the kcal-per-gram factor for that macronutrient: protein = 4, carbohydrates = 4, fat = 9, alcohol = 7. For example, 25g of fat = 25 × 9 = 225 kcal. For a full meal with multiple macros, calculate each separately and add them together for total kcal.

How many kcal is 1 gram of carbohydrates?

1 gram of carbohydrates provides 4 kilocalories. This is the same as protein — both carbohydrates and protein provide 4 kcal per gram. Fat provides more than double at 9 kcal per gram. These are the Atwater general factors used on all food labels worldwide.

How many kcal is 1 gram of fat?

1 gram of fat provides 9 kilocalories — more than double the 4 kcal/g of protein or carbohydrates. This is why fat-dense foods are calorie-dense in small portions: 10g of fat = 90 kcal, while 10g of protein or carbohydrate = only 40 kcal.

Are grams to kilocalories the same as grams to calories?

In nutrition, yes — the terms are used interchangeably. The calories listed on food labels are actually kilocalories (kcal). When a label says a food contains 200 calories, it means 200 kcal. The conversion from grams to “calories” uses the same 4-4-9 factors as grams to kilocalories. For a full explanation of this terminology, see our guide: kcal vs calories — are they the same?

How do I calculate total calories from a food label using grams?

Add up all macros using the formula: (carbs × 4) + (protein × 4) + (fat × 9) + (alcohol × 7) = total kcal. For example, a food with 30g carbs, 20g protein and 8g fat calculates as: (30 × 4) + (20 × 4) + (8 × 9) = 120 + 80 + 72 = 272 kcal. This should match the total calories on the label within a few kcal due to rounding. Use our TDEE calculator to understand how your daily macro totals translate into your calorie target.

Disclaimer: kcal-per-gram values are Atwater general factors used in standard nutrition science and food labelling. Exact values vary slightly by specific food composition.

Written by Tou Calo Nutrition Team — Vulcan Labs
The team behind Tou Calo AI Calorie Counter.

Related reading and tools:
BMR Calculator — your resting calorie baseline
TDEE Calculator — your total daily calorie burn
Calorie Deficit Calculator — your fat loss target
Kcal vs Calories — are they the same?

Tou Calo AI
Tou Calo AI
Snap any meal and get instant
calories and macros in 3 seconds.
Download on the App Store

Discover more from Tou Calo

Subscribe now to keep reading and get access to the full archive.

Continue reading