Grams to Calories Calculator

Enter carbohydrate, protein, fat, and alcohol amounts, then click Calculate.

Inputs

Leave unused fields blank. Blank fields are treated as 0.

Results

Food Calories = kcal
Carbohydrate calories
kcal
Protein calories
kcal
Fat calories
kcal
Alcohol calories
kcal
Total calories
kcal

Step-by-step derivation

Enter values and click Calculate to see the math.

References

  • Carbohydrate: 4 kcal per gram
  • Protein: 4 kcal per gram
  • Fat: 9 kcal per gram
  • Alcohol: 7 kcal per gram
  • 1 ounce = 28.3495 grams

Use this Grams to Calories Calculator to estimate food energy from grams of carbohydrate, protein, fat, and alcohol. Enter one or more macronutrients in grams or ounces to calculate the Calories contributed by each and the estimated total.

Important: Enter grams of the actual macronutrient, not the total weight of the food. A 100 g food does not necessarily contain 100 g of carbohydrate, protein, or fat.

Grams to Calories Formula

The calculator uses standard general energy factors:

Carbohydrate calories = carbohydrate grams × 4

Protein calories = protein grams × 4

Fat calories = fat grams × 9

Alcohol calories = alcohol grams × 7

Total estimated food energy is:

Total Calories = carbohydrate calories + protein calories + fat calories + alcohol calories

In nutrition, one food Calorie is equivalent to one kilocalorie, written as kcal.

Ounces to Grams

If a macronutrient amount is entered in ounces, the calculator first converts it to grams:

Grams = ounces × 28.3495

The appropriate calorie factor is then applied to the converted gram amount.

Worked Example

Suppose a meal contains:

  • 50 g carbohydrate
  • 30 g protein
  • 15 g fat
  • 0 g alcohol

Carbohydrate:

50 × 4 = 200 kcal

Protein:

30 × 4 = 120 kcal

Fat:

15 × 9 = 135 kcal

Total:

200 + 120 + 135 = 455 kcal

The entered macronutrients therefore provide an estimated 455 Calories.

Important Notes

  • The calculator uses general 4-4-9 energy factors for carbohydrate, protein, and fat.
  • The alcohol input represents grams of ethanol. It does not represent the total weight or volume of beer, wine, spirits, or another alcoholic beverage.
  • Alcohol provides approximately 7 kcal per gram. Sugars, juice, syrup, cream, or other ingredients in alcoholic drinks can add additional Calories.
  • The calculator applies 4 kcal/g to all carbohydrate entered and does not separately adjust for dietary fiber or sugar alcohols.
  • Nutrition Facts label Calories may differ from simple macro calculations because of food-specific Atwater factors, fiber and sugar-alcohol treatment, permitted rounding, serving sizes, and product formulation.
  • For packaged food, use the product’s Nutrition Facts label when you need its declared calorie value.
  • Food weight and macronutrient weight are different. Water, minerals, fiber, and other components can make up part of a food’s total weight.
  • The result estimates energy only. It does not measure food quality, vitamins, minerals, sodium, fiber quality, or overall nutritional adequacy.
  • For medical nutrition or individualized therapeutic diets, use appropriate professional guidance rather than relying only on macro-to-calorie arithmetic.

Sources

More of our calculators...

Grams to Cups Converter

Use our Grams to Cups Converter to convert grams to cups or cups to grams for flour, sugar, butter, milk, water, honey, oats, rice, and custom ingredients.

ml to Grams Converter

mL to Grams Converter helps you convert milliliters into grams for water, flour, sugar, and more with ease.

Alcohol Dilution Calculator

Use our Alcohol Dilution Calculator to estimate how much water or weak alcohol to add to reach a target ABV and final volume.

Taco Bar Calculator

Taco Bar Calculator helps you estimate taco meat, shells, toppings, and servings for your party or event.