← All posts

How Many Calories Are in a Gram of Fat, Protein, and Carbs?

The numbers behind every nutrition label: 4 kcal per gram of protein and carbohydrate, 9 for fat, 7 for alcohol — where they come from and where they drift.

A gram of fat carries 9 calories. A gram of protein and a gram of carbohydrate each carry 4 calories. A gram of alcohol — not a macronutrient, but caloric — carries 7. Those four numbers are the entire arithmetic behind the calorie figure printed on packaged food (and if you have ever wondered whether “calories” and “kcals” are different things — they are the same unit — this is where that clarity pays off), and knowing them lets you sanity-check almost any nutrition claim in about ten seconds.

NutrientKilocalories per gram
Fat9
Carbohydrate4
Protein4
Alcohol7
Dietary fibercounted at 2 in US labeling, and often excluded from the carbohydrate total’s calorie contribution

Where the numbers come from

They are the general Atwater factors, named after Wilbur Atwater, a nineteenth-century US chemist who measured how much heat foods release when burned and corrected for what the body actually absorbs. The convention survived into regulation: US labelling rules build the calorie statement from these per-gram factors, which is why the Code of Federal Regulations (21 CFR 101.10) spells them out rather than requiring every food to be re-measured in a bomb calorimeter.

The USDA FoodData Central records cited across this site work the same way. Most entries state whether their energy was USDA-reported from specific factors or derived from the general ones — a detail visible on every calories-in reference page because the difference explains the next section.

Why the math does not always match the label

Multiply a food’s grams of protein, carbs, and fat by 4, 4, and 9 and you will land near its printed calorie count but rarely exactly on it. That is not an error. Three legitimate reasons:

  1. Specific vs general factors. Butterfat and medium-chain fats do not deliver exactly 9 kcal per gram; rice protein does not deliver exactly 4. When a database uses measured specific factors, the totals drift a few percent from the quick 4-4-9 arithmetic.
  2. Fiber and sugar alcohols. Labels treat fiber inconsistently — some count it at 2 kcal per gram, some subtract it from digestible carbohydrate entirely. A high-fiber food’s macro sum and calorie total are expected to disagree.
  3. Rounding. Labels round grams and calories to steps (5 g on many panels, and calories to the nearest 5 or 10 under 50 kcal), so small foods never add up cleanly.

This is why YouCal’s FAQ entry Why don’t my macros match my calories? exists: the disagreement is normal, and the direction of the disagreement tells you which convention the source used.

The ten-second audit

The factors’ real everyday value is spotting nonsense before you log it. If someone claims a 200 g bar containing 40 g of fat is “150 calories”, the fat alone accounts for 360 kcal — the claim fails arithmetic, no lab required. Two more examples with this site’s own cited records:

  • Butter is roughly 81 g fat per 100 g. At 9 kcal per gram, the fat alone suggests about 730 kcal; the USDA record publishes 717 — close, because specific factors trim a little.
  • White rice dry is mostly carbohydrate (80 g per 100 g) with almost no fat, so the 4-per-gram rule predicts its ~365 kcal almost exactly.

When a claim fights the factors hard, distrust the claim, not the factors.

Turning this into a daily plan

If your goal is a protein target, an energy deficit, or a fat floor, the per-gram values are the conversion tool. The macro calculator turns grams into daily percentages; the recipe calorie calculator runs the same arithmetic across a whole pot; and the fat food ranking shows what a 9 kcal/gram dense food looks like in the grocery aisle.

One honest caveat before you make these numbers a personality: 4-4-9 describes energy content, not satiety, blood-sugar response, or the practical difficulty of eating 200 calories of oil versus 200 calories of boiled egg. The calorie is a unit, not a judgment — but at least now you know how heavy the unit is.

Sources and methodology

This article is general education, not medical advice. Product details can change; health claims are checked against primary or authoritative references. See the editorial policy and complete source library.