Grams to Calories Converter

Convert grams of any macronutrient to calories (kcal) and back, using the Atwater general factors: 4 kcal/g for carbs and protein, 9 kcal/g for fat, 7 kcal/g for alcohol.

Convert Atwater factors Bidirectional
Rate this calculator · 4.3 (4)

Grams ↔ Calories

Atwater factors · 4-4-9-7 kcal/g · bidirectional

Instructions — Grams to Calories Converter

1

Pick the macronutrient

Choose Carbs, Protein, Fat, or Alcohol. Each has a different Atwater factor — 4 kcal/g for carbs and protein, 9 kcal/g for fat, 7 kcal/g for alcohol. Default is Carbs (the most common nutrition-label question).

2

Enter grams or calories

Type in either field. The conversion runs in real time. Default is 100 g — a useful baseline since most US and EU nutrition labels report per 100 g (or per serving plus per 100 g).

3

Use the quick picks

Presets cover typical food portions: 10 g (a teaspoon of sugar), 25 g (a slice of bread), 50–100 g (typical meat or grain portion), 250–500 g (large meal or batch cooking).

The 4-4-9-7 rule: 4 kcal/g for carbs, 4 kcal/g for protein, 9 kcal/g for fat, 7 kcal/g for alcohol. These are the Atwater general factors that USDA and FDA use for nutrition labels.
Fat is 2.25× denser than carbs or protein. A teaspoon of olive oil (5 g) has 45 kcal — the same as a teaspoon of sugar (5 g) at only 20 kcal.

Formulas

The grams-to-calories conversion uses the Atwater system, developed by Wilbur O. Atwater at the USDA in the 1890s. Each macronutrient has a fixed energy factor in kcal per gram — the average energy released when the nutrient is digested and metabolized by the human body.

Grams to Calories
$$ kcal = g \times F_{macro} $$
Multiply grams by the Atwater factor for the macronutrient. 50 g of carbs × 4 = 200 kcal. 50 g of fat × 9 = 450 kcal. The factor is the only thing that changes.
Calories to Grams
$$ g = \frac{kcal}{F_{macro}} $$
Divide calories by the Atwater factor. 200 kcal of carbs ÷ 4 = 50 g of carbs. 200 kcal of fat ÷ 9 = 22.2 g of fat. The lower the factor, the more grams it takes to reach a given calorie count.
Atwater general factors
$$ F_{carb} = 4 \;\; F_{protein} = 4 \;\; F_{fat} = 9 \;\; F_{alcohol} = 7 $$
USDA and FDA standard values, used on all US nutrition labels since 1990. The factors are averaged across food types; specific foods (almonds, beef, eggs) sometimes use slightly different factors derived from direct calorimetry.
Kilocalories to Kilojoules
$$ kJ = kcal \times 4.184 $$
Used outside the US (UK, EU, Australia). 100 kcal = 418 kJ. The conversion factor 4.184 J/cal is the exact thermochemical calorie definition.
FDA modified Atwater (high-fiber foods)
$$ F_{fiber} = 2\,\text{kcal/g} $$
For foods with significant fiber, the FDA allows 2 kcal/g for fiber rather than 4 (since fiber is partially fermented, not fully digested). Used optionally on US labels; mandatory only on EU labels.
Total food energy
$$ kcal_{total} = 4C + 4P + 9F + 7A $$
For a mixed food: 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) = 4×44 + 9×8 = 176 + 72 = 248 kcal.

Reference

Macronutrient energy density
Macronutrientkcal/g10 g50 g100 g
Carbohydrates4 kcal/g40 kcal200 kcal400 kcal
Protein4 kcal/g40 kcal200 kcal400 kcal
Fat9 kcal/g90 kcal450 kcal900 kcal
Alcohol7 kcal/g70 kcal350 kcal700 kcal
Fiber (FDA modified)2 kcal/g20 kcal100 kcal200 kcal
Sugar alcohols (avg)2.4 kcal/g24 kcal120 kcal240 kcal

Calories in common foods (per 100 g)

Energy density varies because foods are mixtures. Olive oil is nearly pure fat; cucumber is mostly water. Data from USDA FoodData Central.

Protein-dominant
Foodkcal/100g
Egg white (boiled)52
Chicken breast (cooked)165
Salmon (cooked)208
Lean beef (cooked)250
Greek yogurt (plain)59
Cottage cheese (low fat)72
Tofu (firm)76
Fat-dominant
Foodkcal/100g
Butter717
Olive oil884
Almonds579
Avocado160
Peanut butter588
Cheddar cheese403
Dark chocolate (70%)598

Carbs, alcohol, and mixed foods

Carb-dominant
Foodkcal/100g
Cooked rice (white)130
Cooked pasta131
Bread (whole wheat)247
Banana89
Potato (boiled)87
Sugar (granulated)387
Honey304
Alcohol
Drink (typical)kcal
Beer (12 oz, 5% ABV)153
Wine (5 oz, 12% ABV)123
Spirits (1.5 oz, 40% ABV)97
Vodka (100 mL, 40%)224
Whiskey (100 mL, 40%)224

Mixed foods have multiple macros. To calculate total energy, sum each macro × its Atwater factor. A piece of cheesecake (50 g carbs, 6 g protein, 22 g fat) = 200 + 24 + 198 = 422 kcal.

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.

Did you know

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.

The four numbers to remember
Carbs: 4 kcal/g Protein: 4 kcal/g
Fat: 9 kcal/g Alcohol: 7 kcal/g

Going 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.

Tip

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 (100% fat)
884 kcal
per 100 g
Cucumber (96% water)
16 kcal
per 100 g

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.

Almond labels overstate by ~25%

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.

FAQ

1 gram of carbohydrates = 4 kcal (the Atwater general factor). Protein is also 4 kcal/g. Fat is 9 kcal/g — more than twice as energy-dense. Alcohol sits between at 7 kcal/g.
100 g of fat = 900 kcal (100 × 9). Pure fats like butter and oil approach this ceiling. Olive oil is 884 kcal/100g (98% fat), butter 717 kcal/100g (81% fat, the rest is water and milk solids).
Energy conversion factors developed by Wilbur Atwater at the USDA in the 1890s. Atwater measured the heat released when foods burned in a bomb calorimeter, then subtracted the energy lost in urine and feces. The remaining "metabolizable energy" gave the modern 4-4-9-7 kcal/g factors for carbs, protein, fat, and alcohol. USDA and FDA still use them for nutrition labels.
Chemistry. Fat molecules have long chains of carbon and hydrogen with few oxygens — like a hydrocarbon. Burning them releases a lot of energy. Carbohydrates already contain oxygen in the molecule, so they release less energy when oxidized. Per gram, fats yield about 2.25× the energy of carbs or protein.
Divide calories by the Atwater factor for that macronutrient. 200 kcal of carbs = 50 g (200 ÷ 4). 200 kcal of fat = 22.2 g (200 ÷ 9). 200 kcal of alcohol = 28.6 g (200 ÷ 7). The same 200 kcal needs different masses depending on the source.
1 g of ethanol = 7 kcal. A 12 oz beer at 5% ABV contains about 14 g of alcohol (98 kcal) plus carbs from residual sugars. A 1.5 oz shot of 40% spirits contains 14 g of alcohol (98 kcal) with negligible carbs.
Fiber is technically a carbohydrate but the human gut digests it only partially. The FDA allows a modified Atwater value of 2 kcal/g for fiber (versus 4 for digestible carbs). On EU labels, the 2 kcal/g rule is mandatory. On US labels it is optional, so "total carbohydrates" on a high-fiber bar often overstates the actual calories slightly.
Within 10–20%, typically. The 4-4-9 factors are averages — specific foods can differ. Almonds were re-measured in 2012 and found to release closer to 4.6 kcal/g rather than the standard 6.7 kcal/g listed for nuts (intact cell walls block digestion of about 30% of the fat). The FDA still permits the higher value, so almond labels overstate by ~25%.
On a thermodynamic level, 100 kcal is 100 kcal. On a metabolic level, no. Protein triggers larger thermic effects (20–30% of its calories are burned just digesting it) than carbs (5–10%) or fat (0–3%). Fiber slows absorption. The 4-4-9-7 factors describe energy content, not metabolic impact.