Saved

Press the star next to a tool's name to save it.

All my tools

Grams to Calories Converter

Use this grams to calories converter to turn grams of protein, carbohydrate, fat, alcohol and fibre into kilocalories and kilojoules with the standard Atwater factors.

Restored your last values ·

Enter the grams of protein, carbohydrate, fat, alcohol or fibre that you know, and leave the others blank. The calculator multiplies each by its energy per gram and adds them up, in kilocalories and kilojoules.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the grams of at least one nutrient, then press Convert.

See full result

A grams to calories converter turns the grams of protein, carbohydrate, fat, alcohol and fibre in a food into its energy in kilocalories and kilojoules. It uses the standard Atwater factors of 4, 4, 9 and 7 kilocalories per gram. Enter the grams you know and press the button.

How to use the grams to calories converter

  1. Enter the grams of each nutrient that you know.
  2. Leave the others blank.
  3. Press Convert.

The factors

The Atwater system gives the energy of a food from its macronutrients. The FAO report on food energy lists the factors: 4 kilocalories per gram for protein and for carbohydrate, 9 for fat, 7 for alcohol (ethanol) and 2 for fibre [1]. In kilojoules the same factors are 17 for protein and carbohydrate, 37 for fat, 29 for alcohol and 8 for fibre [1]. The Atwater system in its modified form uses 4 kilocalories per gram for carbohydrates and proteins and 9 for fat [2].

Kilocalories and kilojoules

One kilocalorie is 4.184 kilojoules [1], which NIST lists as exactly 4,184 joules [5]. The calculator multiplies the total kilocalories by 4.184 to give the kilojoules. This is slightly different from adding the rounded kilojoule factors, which would give a little less precision, so we use the exact conversion. The word calorie on a food label usually means a kilocalorie.

A worked example

A food with 10 grams of protein, 20 grams of carbohydrate and 5 grams of fat has 40 + 80 + 45 = 165 kilocalories, which is 690.4 kilojoules. The fat supplies about 27 percent of the energy, the protein 24 percent and the carbohydrate 48 percent, shown in the split line. Ten grams of alcohol alone is 70 kilocalories, and five grams of fibre is 10. These are our own calculations from the factors.

Fibre

The table gives fibre an energy value of 2 kilocalories per gram, but the rules differ: one US labelling approach defines carbohydrate as total carbohydrate minus fibre [1], and fibre is usually left out of the count under the Atwater method, because the unavailable carbohydrates are broken down to a variable extent [2]. So treat the fibre box as an option. If the carbohydrate you enter already includes fibre, leave the fibre box blank.

Other nutrients

The FAO also recommends 3 kilocalories per gram for organic acids and 2.4 for polyols, and says a more specific factor may be better when one compound supplies a lot of energy [3]. The calculator does not have boxes for them. If your food has a lot of sugar alcohol, check the label, which may use these other factors.

Labels and accuracy

Governments require energy labelling, and values are often given per serving or per 100 grams [4]. The mandatory unit differs by country: the United States requires the Calorie, the United Kingdom and the European Union require kilojoules with kilocalories, and Australia and New Zealand require kilojoules [4]. Calculated values are an alternative to direct measurement and are likely to carry some inaccuracy [2]. Use the result as an estimate.

Using the calculator

If you know the nutrition facts per serving, enter the grams for that serving and the result is the energy per serving. To scale to a whole recipe, add up the grams of each nutrient across all the ingredients, enter the totals and divide by the number of portions. The split line shows how much of the energy comes from each nutrient, which helps with planning a diet.

Where the numbers come from

The factors are averages from experiments on how much energy the body can use from each nutrient, so a given food may differ a little. Foods rich in fibre, or foods that are hard to digest, give the body less energy than the factors suggest. The same grams can therefore have different effects in different foods, and the method gives a convenient standard figure rather than an exact measurement.

Recipes and portions

To work out a recipe, add up the grams of protein, carbohydrate and fat for every ingredient, using the nutrition panel of each. Enter the totals to get the energy of the whole dish, and divide by the number of portions. The split line then tells you what share of the energy comes from each nutrient, which is the information used in many diet plans.

Quick mental checks

A handy approximation is 4-4-9: multiply the grams of protein and carbohydrate by 4 and the grams of fat by 9. Because fat has more than twice the energy of the other two per gram, a food that is high in fat is high in energy even when its weight is small. A tablespoon of oil, about 14 grams of fat, has about 126 kilocalories on this basis.

Comparing foods

Energy density is the energy per gram of food. Water has none, so a watery food such as a vegetable has few calories per gram, while a dry fatty food such as nuts has many. Use the calculator on 100 grams of each food, entering the nutrients from the label, to compare them fairly.

Common mistakes

  • Counting fibre twice. Leave fibre blank if carbohydrate already includes it.
  • Confusing kilocalories and kilojoules. 1 kcal is 4.184 kJ.
  • Entering the serving size instead of the nutrient grams. Use the grams of each nutrient.
  • Expecting exact results. The factors are averages.

What next

Use this often? Add Grams to Cal to your Home screen.

Frequently asked questions

What is a grams to calories converter?

A tool that turns the grams of macronutrients in a food into its energy in kilocalories and kilojoules.

How many calories are in a gram of fat?

9 kilocalories per gram. Protein and carbohydrate have 4 and alcohol has 7.

How many kilojoules are in a kilocalorie?

4.184.

Does fibre have calories?

The FAO table gives 2 kilocalories per gram, but the Atwater method does not count fibre, and some regulations exclude it.

Are the results exact?

No. The Atwater factors are averages, so the result is an estimate.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Finance Tools