Convert grams of fat, carbohydrate, protein, or alcohol to calories and kilojoules. Includes macronutrient density table and common food reference.
The grams to calories converter translates grams of macronutrients into food energy using the standard Atwater factors: fat provides 9 calories per gram, carbohydrate and protein each provide 4 calories per gram, and alcohol provides 7 calories per gram. That is why the same gram total can represent very different energy values depending on whether the ingredient is fat, starch, protein, or alcohol.
Select the nutrient type and enter the grams to see calories, kilojoules, and the share of a 2,000-calorie reference intake. The comparison table helps show why the same gram amount can carry very different calorie totals depending on whether it comes from fat, carbs, protein, fiber, or alcohol. The outputs are especially helpful when you are comparing food labels or building a meal plan from a recipe that lists nutrients by weight.
Use it when you know the grams from a nutrition label or recipe but want to understand the energy contribution. It keeps the macronutrient assumption visible so the calorie number stays tied to the right nutrient.
Use this converter when you know the grams from a nutrition label or recipe but want to understand the energy contribution. It is useful for meal logging, recipe breakdowns, macro planning, and checking how fat, carbs, protein, and alcohol change the total calories in a serving. It also makes it easier to compare one food with another using the same nutrient basis, especially when you are comparing two servings with the same weight but different macro profiles.
Calories = Grams × CaloriesPerGram. Fat: 9 cal/g. Carbohydrate: 4 cal/g. Protein: 4 cal/g. Alcohol: 7 cal/g. Fiber: ~2 cal/g. Kilojoules = Calories × 4.184.
Result: 50 g fat = 450 cal = 1,882.8 kJ = 22.5% DV
50 grams of fat × 9 calories per gram = 450 calories, which is 22.5% of a 2,000-calorie daily value.
Developed by Wilbur Atwater in the late 1800s, the Atwater general factor system assigns calorie values to macronutrients: 4 kcal/g for carbohydrate and protein, 9 kcal/g for fat, and 7 kcal/g for alcohol. These factors are still used on nutrition labels worldwide, though specific Atwater factors offer slightly more precision for individual foods.
The calorie and kilojoule are both units of energy. 1 kcal = 4.184 kJ. The US uses Calories (kcal), while Australia, the EU, and many other countries use kilojoules. Both measure the same thing — energy from food.
To estimate a meal's calories: read grams of fat, carbs, and protein from the label; apply 9-4-4; sum. For a food with 10 g fat, 30 g carbs, and 20 g protein: (10×9) + (30×4) + (20×4) = 90 + 120 + 80 = 290 calories.
Fat provides 9 calories per gram, making it the most energy-dense macronutrient. That is why even a small amount of fat can contribute a lot of calories to a serving.
Protein provides 4 calories per gram. That value is the same as carbohydrate in the Atwater system, even though the nutrients do very different jobs in the body.
Carbohydrate provides 4 calories per gram. The number is a standard estimate used on nutrition labels and meal-planning tools.
The Atwater system assigns general calorie factors: 4 cal/g for carbohydrate and protein, 9 cal/g for fat, and 7 cal/g for alcohol. It is the standard method for food energy labeling and makes quick calorie estimates consistent.
In nutrition, "Calorie" with a capital C equals 1 kilocalorie, or kcal. It is the energy needed to raise 1 kg of water by 1°C, which is why food labels often use the larger unit name in practice.
Multiply grams of fat by 9, grams of carbs by 4, and grams of protein by 4. Then add the results together to get the total calories for the portion.