How to Calculate Calories: A Step-by-Step Guide
Calculating calories means working out how much energy a food contains, or how much energy you need each day. When you know the grams of protein, carbohydrate and fat in a meal, the calories follow from a simple formula: protein × 4 + carbohydrate × 4 + fat × 9. Your daily need comes from your age, sex, weight, height and activity level, using the Mifflin-St Jeor equation.
Don't just read it, track itSnap a photo of your meal and Kalorita logs calories and macros in seconds. 3 days free.→What a calorie is
A calorie is a unit of energy. Food calories are really kilocalories (kcal): the energy needed to raise the temperature of 1 kilogram of water by 1 degree Celsius. When people say 200 calories, they mean 200 kcal.
Most of a food's calories come from three macronutrients. Protein and carbohydrate give 4 kcal per gram, and fat gives 9 kcal per gram. Alcohol gives 7 kcal per gram, while fiber contributes much less.
How to calculate the calories in a meal
If you know the macronutrients in a meal, you can do the sum yourself:
Calories = (protein × 4) + (carbohydrate × 4) + (fat × 9)
Calorie examples for common foods
A medium plain bagel (100 g) has about 9 g of protein, 50 g of carbohydrate and 2 g of fat. The calculation: (9 × 4) + (50 × 4) + (2 × 9) = 36 + 200 + 18 = 254 kcal, close to the 255 kcal in standard food tables.
| Food | Portion | Protein (g) | Carbs (g) | Fat (g) | Calories |
|---|---|---|---|---|---|
| Plain bagel | 1 medium (100 g) | 9 | 50 | 2 | 255 kcal |
| Lentil soup | 1 bowl (300 ml) | 8 | 15 | 4 | 120 kcal |
| Cheeseburger, fast food | 1 regular (120 g) | 16 | 33 | 13 | about 310 kcal |
| Baked beans | 1 cup (250 g) | 12 | 56 | 2 | 290 kcal |
| White rice, cooked | 1 serving (150 g) | 5 | 38 | 3 | 195 kcal |
| Apple pie | 1 slice (125 g) | 3 | 42 | 13 | 300 kcal |
How to work out your daily calorie needs
- Find your basal metabolic rate (BMR). The Mifflin-St Jeor equation is the most widely used accurate formula. For men: 10 × weight (kg) + 6.25 × height (cm) minus 5 × age + 5. For women: 10 × weight (kg) + 6.25 × height (cm) minus 5 × age minus 161.
- Multiply by your activity factor. Sedentary: 1.2. Lightly active: 1.375. Moderately active: 1.55. Very active: 1.725. Extremely active: 1.9.
- The result is your maintenance calories, the amount that holds your weight steady. To lose weight, subtract about 500 calories a day. To gain weight, add 300 to 500.
Worked example: a 30-year-old man, 75 kg, 175 cm
BMR = (10 × 75) + (6.25 × 175) minus (5 × 30) + 5 = 750 + 1,093.75 minus 150 + 5 = 1,699 kcal.
Lightly active: 1,699 × 1.375 = 2,336 kcal to maintain your weight.
To lose weight: 2,336 minus 500 = 1,836 kcal a day. At that deficit, the theory suggests about 0.5 kg (about 1 lb) of loss per week.
Where manual calculation falls short
Formulas are a good start, but real life changes a lot of the variables:
- The same dish cooked at home and in a restaurant can differ a lot, because the amount of oil varies.
- Restaurant and takeaway food rarely has a label, so portions are guessed.
- Portion size is easy to misjudge by eye.
- Meat, fat and vegetables lose or gain weight as they cook, which changes the calories.
AI calorie tracking compared with doing it by hand
Manual tracking means reading labels, estimating grams and doing the sums for every meal. AI food tracking apps cut that to a few seconds: the app recognizes the meal in a photo, estimates the portion and calculates the macros. Kalorita works this way. Photograph what you eat and it estimates the calories and macros for you.
Frequently asked questions
How do I work out my daily calorie needs?
Find your BMR with the Mifflin-St Jeor formula, then multiply it by your activity factor. A sedentary person uses 1.2, and a very active person uses 1.725. The result is your daily maintenance calories.
How many calories are in a gram of protein, carbs and fat?
Protein has 4 kcal per gram, carbohydrate has 4 kcal per gram, and fat has 9 kcal per gram. Alcohol has 7 kcal per gram.
How many calories should I eat to lose weight?
Subtract about 500 calories from your daily need. That deficit usually leads to about 0.5 kg (about 1 lb) of loss per week. Typical minimums quoted are 1,200 kcal a day for women and 1,500 kcal a day for men, and eating below that should be done under medical supervision.
Many home-cooked and traditional dishes have no calorie label. What should I do?
Use reference values, such as about 120 kcal for a bowl of lentil soup or about 255 kcal for a plain bagel, or use a photo-based calorie app that estimates the portion for you.
What are the activity factors?
Sedentary (1.2): desk job, no exercise. Lightly active (1.375): light exercise 1 to 3 days a week. Moderately active (1.55): exercise 3 to 5 days a week. Very active (1.725): hard exercise 6 to 7 days a week. Extremely active (1.9): professional athlete or heavy manual labor.
Make calorie tracking simple
Take a photo of your food and Kalorita's AI estimates its calories and macros in seconds.
Download free