Free tool

Calories to grams converter

Turn calories into grams of protein, carbs or fat (and back), or work out how many grams of a food give you the calories you want.

Convert
Direction
Macro

That is

50g of protein

200 kcal ÷ 4 kcal per gram

200 kcal of each

  • Protein 4 kcal/g50 g
  • Carbs 4 kcal/g50 g
  • Fat 9 kcal/g22.2 g
  • Alcohol 7 kcal/g28.6 g
  • Fiber 2 kcal/g100 g

Calories per gram of each macro

NutrientCalories per gram100 calories is
Protein4 kcal25 g
Carbohydrates4 kcal25 g
Fat9 kcal11.1 g
Alcohol7 kcal14.3 g
Fiber2 kcal50 g

To go from calories to grams, divide by the calories per gram. To go from grams to calories, multiply. So 30 g of protein is 30 × 4 = 120 calories, and 90 calories of fat is 90 ÷ 9 = 10 g.

How many grams of a food is X calories?

Every food is different, so use its calories per 100 g, which you’ll find on the label:

grams = calories you want ÷ calories per 100 g × 100

Here is how many grams give you 200 calories of some everyday foods (typical values):

Foodkcal per 100 g200 kcal is about
White rice, cooked130154 g
Chicken breast, cooked165121 g
Rolled oats, dry37953 g
Banana89225 g
Peanut butter58834 g
Olive oil88423 g

Notice the spread: 200 calories is a big plate of rice but barely more than a tablespoon of oil. That’s why small amounts of fats and oils are worth weighing.

When this comes in handy

  • Hitting a protein target: how many grams of chicken is 40 g of protein?
  • Portioning a snack to fit what’s left of your daily calories.
  • Checking a label: do the protein, carbs and fat add up to the calories shown?

Recipes in cups? Convert them with the food unit converter, then add the foods up with the meal macro calculator.

Frequently asked questions

How many calories are in a gram of protein, carbs and fat?

Protein and carbohydrates have about 4 calories per gram, fat has about 9, and alcohol has about 7. Fiber gives roughly 2 calories per gram, because only part of it is digested.

How do I convert calories to grams of a food?

Divide the calories you want by the food’s calories per 100 g, then multiply by 100. For cooked rice at 130 calories per 100 g, 200 calories is 200 ÷ 130 × 100 = about 154 g.

Why is there no single calories-to-grams number?

Because foods differ. A gram of oil has about 9 calories while a gram of cucumber has well under 1. You need the food’s own calories per 100 g, which is on the label.

Why does fat have more calories than protein or carbs?

Fat stores more energy per gram. That is why a small spoon of oil or butter adds as many calories as a much bigger portion of rice or chicken.

These numbers are estimates for planning, not medical advice. If you have a health condition, are pregnant or are under 18, check with a doctor or dietitian first.

Track it without the maths

MacroPaste logs any meal in one paste: tell any AI what you ate and every calorie and macro fills itself in. Pay once, no subscription, and your log stays on your phone.

Get MacroPaste