The short version
Multiply each macro by its energy value and add the results: protein × 4 + carbs × 4 + fat × 9 + alcohol × 7. That is the entire method — nutrition scientists call it the Atwater system, and every food label on the shelf is built on it. A snack with 30 g of protein, 10 g of carbs, and 5 g of fat: 30 × 4 = 120, 10 × 4 = 40, 5 × 9 = 45 — 205 calories total. The grams-to-calories calculator runs this instantly; the steps below show the hand method and the traps.
The four numbers and where they come from
The values are not guesses — they come from burning foods in a bomb calorimeter and then discounting for how much the human body actually extracts (we are not perfect furnaces). The result, averaged across thousands of foods, is four constants:
| Nutrient | Calories per gram | Found in |
|---|---|---|
| Protein | 4 | Meat, fish, eggs, dairy, tofu, legumes |
| Carbohydrate | 4 | Bread, rice, pasta, fruit, beans, sugar |
| Fat | 9 | Oils, butter, nuts, cheese, fatty cuts, creamy sauces |
| Alcohol | 7 | Beer, wine, spirits — pure ethanol, not the whole drink |
Two more facts worth keeping in this table's orbit: water, salt, and minerals carry zero calories, and fiber lives in a gray zone (below).
Why fat counts more than double
Fat’s 9 is not arbitrary — fatty-acid chains pack more carbon–hydrogen bonds per gram than protein or carbohydrate molecules, and every bond broken during digestion releases energy. That is also why the body stores surplus energy as fat: it is the most compact fuel tank available. The practical upshot is sneaky: foods that don’t taste fatty can still be calorie-heavy — dressings, pesto, granola, nut butters, bakery items, and creamy coffee drinks all carry big fat lines relative to their portion. A fast label habit is reading the fat line first: 12 g of fat means 108 calories from fat before carbs and protein have said a word.
Alcohol: the 7 that gets forgotten
Alcohol sits between carbs and fat at 7 calories per gram — and unlike protein, carbs, and fat, it brings no nutrients with it, which is why drink calories are called empty calories. A standard US drink contains roughly 14 g of pure alcohol, so about 98 calories arrive from the alcohol alone, before mixers or the beer’s carbs. When you multiply grams of alcohol by 7, remember the label’s grams (if shown) refer to pure ethanol, not the weight of the whole glass.
The worked examples
Three quick passes to make the pattern automatic:
A nutrition-class classic: 50 g carbs, 25 g protein, 15 g fat. Carbs: 50 × 4 = 200. Protein: 25 × 4 = 100. Fat: 15 × 9 = 135. Total: 435 calories.
The protein-powder puzzle: a 38 g scoop claims 140 calories with 30 g of protein. 30 g × 4 = 120 from protein, leaving ~20 calories — that’s the label’s remaining fat and carb lines, roughly 2 g of fat (18 cal) or 5 g of carbs (20 cal). The trick is remembering protein is 4 per gram, not 9 — the most common mix-up in this math.
A meal: 100 g protein, 150 g carbs, 50 g fat. 100 × 4 = 400, 150 × 4 = 600, 50 × 9 = 450. Total: 1,450 calories — 27.6% protein, 41.4% carbs, 31.0% fat. Against the FDA’s 2,000-calorie-per-day label reference, that’s 72.5% of the Daily Value.
Why your math sometimes misses the label
Three culprits, in order of how often they strike. 1. Rounding: labels round to the nearest 5 or 10 calories per serving, so being within a few calories is normal, not an error. 2. Fiber: insoluble fiber yields near-zero usable calories, soluble fiber ferments into short-chain fatty acids worth roughly 2 per gram, and labels count it inconsistently — fiber is the least exact line in nutrition math. 3. Sugar alcohols: the sweeteners in "sugar-free" candies and protein bars vary by type, typically 1.5–3 per gram rather than 4. If your hand-math and the label disagree by more than ~10 calories per serving, one of these three is usually the explanation.
Common mistakes
Three errors cause nearly all confusion. First, using 9 for protein: it’s 4 — fat alone gets 9. Second, treating the drink’s weight as alcohol grams: only the pure-ethanol fraction counts at 7 per gram. Third, confusing calorie and Calorie: on labels, "calorie" means kilocalorie (kcal) — the energy to heat a kilogram of water one degree. A 200-calorie snack is 200 kcal, or 200,000 physics calories.
The bottom line: protein × 4, carbs × 4, fat × 9, alcohol × 7 — add the four lines. Run your own numbers through the grams-to-calories calculator for the totals and macro shares, and pair it with the TDEE calculator to see what a full day’s target looks like. This is educational math about food energy, not medical advice about what to eat.
Bright Side Kit. "How to Convert Grams to Calories (Macros Explained)." https://brightoolbox.com/guides/how-to-convert-grams-to-calories/ Accessed October 22, 2026.