Article — Grams to Calories Converter
Grams to calories: the Atwater factors and how to use them
To convert grams to calories, multiply grams by the Atwater factor for the macronutrient: 4 kcal/g for carbohydrates, 4 kcal/g for protein, 9 kcal/g for fat, and 7 kcal/g for alcohol. So 100 g of carbs equals 400 kcal, 100 g of protein equals 400 kcal, 100 g of fat equals 900 kcal, and 100 g of alcohol equals 700 kcal. The reverse — calories to grams — divides instead of multiplies.
Those four numbers explain almost every nutrition label on the planet. They come from work Wilbur O. Atwater did at the USDA in the 1890s, refined by FAO and updated by the FDA over the next century. Today USDA FoodData Central, the FDA Nutrition Facts label, and most food databases use the same 4-4-9-7 framework.
What are calories, really?
A calorie is a unit of energy. The original definition: the amount of heat required to raise 1 gram of water by 1 °C. The "Calorie" on a nutrition label (capital C) actually means 1 kilocalorie (1000 small calories) — enough heat to raise a kilogram of water by 1 °C. The rest of the world uses kcal for clarity; the US food industry kept the lowercase-and-capital ambiguity for over 100 years.
In food terms, a calorie is the energy your body can extract from a nutrient. Not all the chemical energy in food is usable — some is lost in digestion, some in stool, some never absorbed. The Atwater system measures the "metabolizable" energy, the part the body actually uses, by subtracting unabsorbed losses from the total combustion energy.
The original Atwater experiments involved feeding subjects standardized diets, collecting all urine and feces for analysis, and measuring residual energy in a bomb calorimeter. The work spanned decades and used a custom-built whole-body calorimeter at Wesleyan University — a sealed chamber that measured heat output and gas exchange. The Atwater Respiration Calorimeter is now a National Historic Chemical Landmark.
The Atwater factors (4-4-9-7)
The four numbers are weighted averages across hundreds of foods. Specific items can deviate. The general factors:
- Carbohydrates — 4 kcal per gram (3.75 by strict measurement, rounded to 4 for labels)
- Protein — 4 kcal per gram (some sources cite 4.1; 4 is the FDA value)
- Fat — 9 kcal per gram (technically 8.84; rounded up)
- Alcohol — 7 kcal per gram (6.93 to three places; rounded to 7)
- Fiber (FDA modified) — 2 kcal per gram, optional on US labels, mandatory on EU labels
- Sugar alcohols — 2 to 3 kcal per gram (varies by type: erythritol is 0, xylitol is 2.4)
- Organic acids — 3 kcal per gram (citric, malic acid in some labeling schemes)
The values reflect chemistry. Fats are mostly carbon and hydrogen, with little oxygen — the molecule has "room to burn" because oxidation adds the needed oxygen. Carbohydrates already contain oxygen, so less energy is released per gram. Proteins fall close to carbs energy-wise but require extra metabolic processing (the thermic effect of food is higher for protein, around 20–30% of its calories versus 5–10% for carbs).
Grams to calories by macronutrient
The conversion is one multiplication per macro. For a single-macro food, the result is straightforward. 50 g of olive oil (essentially pure fat) is 50 × 9 = 450 kcal. 50 g of sugar (pure carb) is 50 × 4 = 200 kcal. 50 g of pure protein powder is 50 × 4 = 200 kcal. 50 g of pure ethanol is 50 × 7 = 350 kcal.
Carbs: 4 kcal/g Protein: 4 kcal/gFat: 9 kcal/g Alcohol: 7 kcal/gGoing the other way is division. To find how many grams of fat make up 270 kcal: 270 ÷ 9 = 30 g. For 270 kcal of carbs: 270 ÷ 4 = 67.5 g. The fat number is always smaller because fat is more energy-dense — more than twice as dense as carbs per gram, even though only twice as dense per volume because fats are slightly lighter than carb-rich liquids.
When tracking macros on a diet plan, work backwards from calorie targets. A 2,000 kcal/day plan with 30% from fat means 600 kcal of fat, or 67 g (600 ÷ 9). 25% protein is 500 kcal, or 125 g. The remaining 45% (900 kcal) goes to carbs, or 225 g. The macros always sum to total calories — that is what the Atwater factors enforce.
Calories in common foods per 100 g
Real foods are mixtures of macros plus water, fiber, minerals, and other non-energy components. The energy density depends on which macro dominates and how much water is present.
Olive oil is the densest common food at 884 kcal per 100 g. Butter comes in lower at 717 because it contains water and milk solids. Nuts cluster around 580 kcal because they are mostly fat (about 50%) with some protein and fiber. Meats range from 165 (chicken breast) to 250+ (fatty cuts) depending on fat content.
At the opposite end sit water-heavy vegetables and fruits. Cucumber is 16 kcal per 100 g (96% water). Watermelon is 30. Apple is 52. Banana is 89 — denser because it has more sugar. White rice cooked is 130; uncooked rice would be about 365 because the water content is much lower.
Fiber, alcohol, and calorie-label accuracy
The 4-4-9-7 system has known exceptions. Fiber is a carbohydrate but humans only partially digest it. Soluble fiber gets fermented in the colon to short-chain fatty acids (releasing about 2 kcal/g of usable energy). Insoluble fiber passes through largely unchanged. The FDA allows a modified Atwater factor of 2 kcal/g for total fiber; the EU mandates it.
This affects label math. A high-fiber granola bar listing "30 g total carbs, of which 12 g fiber" provides closer to (18 × 4) + (12 × 2) = 96 kcal from carbs, not the 30 × 4 = 120 kcal a casual reader assumes. The difference is small per bar but adds up across a high-fiber diet.
USDA researchers re-measured almond energy in 2012 using human ileostomy subjects. Intact cell walls block digestion of about 30% of the fat in whole almonds. Real metabolizable energy is closer to 4.6 kcal/g rather than the listed 6.7 kcal/g. The FDA still permits the standard nut factor for labeling, so almond Nutrition Facts panels overstate calories by roughly 25%. Pistachios show similar gaps.
Alcohol is mostly digested as ethanol, which oxidizes to acetate and then to CO₂ and water. The 7 kcal/g figure is well established. What is not always counted: residual sugars in beer (carbs), grape sugars in wine (carbs), and added mixers in cocktails. A "100-calorie" beer might list only the alcohol contribution; a sweeter cocktail can easily double the count once mixers are included.
Calculating total calories for mixed foods
For a mixed food, sum each macro × its factor. The formula: kcal = 4 × (g carbs) + 4 × (g protein) + 9 × (g fat) + 7 × (g alcohol). A 200 g chicken breast (44 g protein, 8 g fat, 0 g carbs) calculates to 4 × 44 + 9 × 8 + 0 = 176 + 72 = 248 kcal. The label rounds to 250.
A slice of cheesecake (typical 125 g): 32 g carbs, 7 g protein, 24 g fat. Calculation: 4 × 32 + 4 × 7 + 9 × 24 = 128 + 28 + 216 = 372 kcal. The fat dominates the calorie count even though the slice has more grams of carbs. Fat's 9 kcal/g multiplier always wins when more than 20% of mass is fat.
The system works for any food where the macros are listed. It does not capture water (which has no calories) or non-caloric additives (most micronutrients, food colorings, flavor compounds). What the label shows under "Calories" is the result of plugging the macro grams into the 4-4-9 formula, then rounding to the nearest 5 or 10 per FDA rules.
Common grams-to-calories mistakes
The first error is forgetting that fat is more than twice as dense per gram. People weighing out 50 g portions of nuts versus 50 g portions of bread expect similar calories; the nuts are nearly 3× higher. The fat factor (9) versus carb/protein factor (4) is the source. Always identify the dominant macro before estimating energy.
A second error is treating "Calories" and "calories" as different units. They are the same on nutrition labels — both mean kilocalories. A "100-calorie" snack contains 100 kcal = 100,000 small calories = 418 kJ. The capitalization convention from chemistry textbooks rarely makes it onto food packaging.
A third pitfall is counting raw versus cooked weights. 100 g of raw chicken yields about 75 g of cooked chicken (water loss during cooking). A nutrition label for "100 g chicken" needs the raw versus cooked distinction; USDA FoodData Central lists both. The Atwater factors do not change, but the gram input does.
Sources
- USDA FoodData Central
- USDA: Energy Value of Foods (Handbook 74)
- FDA: How to Understand and Use the Nutrition Facts Label
- FAO: Food Energy — Methods of Analysis and Conversion Factors
- NIH NCBI: Macronutrient Intake, Imbalances, and Interventions
- Britannica: Calorie
- Dietary Guidelines for Americans 2020–2025