Convert calories to grams of fat, carbs, protein or alcohol using standard kcal-per-gram factors, or grams to calories, or enter a custom kcal/g.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Grams from calories | Converts food Calories (kcal) into grams of fat, carbohydrate, protein or alcohol, or into grams of a food with a known energy density | Requires the Calories and the nutrient, or a custom energy density in kcal per gram |
| Calories from grams | Converts grams of a nutrient or food into food Calories (kcal) | Requires the grams and the nutrient, or a custom energy density in kcal per gram |
Both functions use the same nutrient list: fat at 9 kcal/g, carbohydrate at 4 kcal/g, protein at 4 kcal/g, alcohol at about 7 kcal/g, or a custom energy density. The result can be shown with 0 to 3 decimal places. Calories here are food Calories, which are kilocalories (kcal).
Calories to Grams Formulas
| g | Mass of the nutrient or food (grams) |
| kcal | Energy in food Calories (kilocalories) |
| F | Energy factor (kcal per gram): 9 for fat, 4 for carbohydrate, 4 for protein [1] and about 7 for alcohol [2] |
U.S. food labeling rules allow Calories to be worked out with the general factors of 4, 4 and 9 Calories per gram for protein, total carbohydrate and total fat [1]. The Food and Agriculture Organization lists the same general factors and adds 7 kcal per gram for alcohol, 6.9 before rounding [2]. The regulation is cited as printed in the April 1, 2024 edition of the Code of Federal Regulations.
Grams from calories
The formula above applies directly. A number of Calories has no single weight in grams, because the answer depends on what supplies the energy: 500 Calories is 500 ÷ 9 = 55.56 g of fat, 500 ÷ 4 = 125 g of carbohydrate or protein, or 500 ÷ 7 = 71.43 g of alcohol.
These are grams of the nutrient, not the weight of a food. For a whole food, choose Custom energy density and enter the Calories per serving divided by the grams per serving from its label. A food with 257 kcal per 100 g has 2.57 kcal/g, so a 180 Calorie portion weighs 180 ÷ 2.57 = 70.04 g.
| Calories (kcal) | Carbohydrate or protein (g) | Fat (g) | Alcohol (g) |
|---|---|---|---|
| 100 | 25.0 | 11.1 | 14.3 |
| 150 | 37.5 | 16.7 | 21.4 |
| 200 | 50.0 | 22.2 | 28.6 |
| 250 | 62.5 | 27.8 | 35.7 |
| 300 | 75.0 | 33.3 | 42.9 |
| 350 | 87.5 | 38.9 | 50.0 |
| 400 | 100.0 | 44.4 | 57.1 |
| 500 | 125.0 | 55.6 | 71.4 |
| 600 | 150.0 | 66.7 | 85.7 |
| 800 | 200.0 | 88.9 | 114.3 |
| 1,000 | 250.0 | 111.1 | 142.9 |
| 1,200 | 300.0 | 133.3 | 171.4 |
| 1,800 | 450.0 | 200.0 | 257.1 |
| 2,000 | 500.0 | 222.2 | 285.7 |
Calories from grams
Fifty grams of fat supplies 50 × 9 = 450 kcal, and 30 g of protein supplies 30 × 4 = 120 kcal. With a custom energy density, 45 g of a food labeled 518 kcal per 100 g supplies 45 × 5.18 = 233.1 kcal.
Limits of This Estimate
- The 4, 4 and 9 factors are rounded averages. Factors measured for individual foods range from 2.44 to 4.36 kcal/g for protein, 8.37 to 9.02 for fat and 2.70 to 4.16 for carbohydrate [2].
- Fiber and sugar alcohols supply less energy than other carbohydrate. Labeling rules use 2 Calories per gram for soluble non-digestible carbohydrate and 0 to 3 for sugar alcohols [1], so label Calories can be lower than 4 × the total carbohydrate grams.
- Label Calories are rounded to the nearest 5 or 10 [1], so an energy density worked out from a label is approximate.
- This calculator is for educational purposes only and does not provide medical advice. For personalized nutrition guidance or medical conditions, consult a registered dietitian or clinician.
Sources
- U.S. Food and Drug Administration, 21 CFR 101.9, Nutrition labeling of food, paragraph (c)(1): general factors of 4, 4 and 9 Calories per gram, factors for non-digestible carbohydrate and sugar alcohols, and rounding of label Calories
- Food and Agriculture Organization of the United Nations, Food and Nutrition Paper 77, Chapter 3, Calculation of the energy content of foods: Atwater general factors including alcohol, and the range of food-specific factors
