Health & Fitness · Guide
How to Calculate Calories From Macros
Four calories per gram of carbs or protein, nine per gram of fat. With those three numbers you can check any label or recipe.
Want the answer for your own numbers? Use the free Carbohydrate Calculator — it does every step below for you.
Calories per gram
| Macro | Calories per gram |
|---|---|
| Carbohydrate | 4 |
| Protein | 4 |
| Fat | 9 |
| Alcohol | 7 |
These are the Atwater factors used on nutrition labels worldwide. Fibre counts for less (about 2 kcal per gram on UK and EU labels), which is one reason label totals can differ slightly from your own maths.
From macros to calories
Calories = (carbs × 4) + (protein × 4) + (fat × 9)
Example: a meal with 45 g carbs, 30 g protein, 15 g fat
45 × 4 = 180. 30 × 4 = 120. 15 × 9 = 135.
Total = 435 calories
Carbs supply 41% of the calories, protein 28% and fat 31%.
From calories back to grams
Divide by the calories per gram:
- 200 kcal of carbohydrate ÷ 4 = 50 g carbs
- 200 kcal of protein ÷ 4 = 50 g protein
- 200 kcal of fat ÷ 9 = 22 g fat
That is how macro targets are set. On 2,000 calories with 40% carbs, 30% protein, 30% fat: 800 ÷ 4 = 200 g carbs, 600 ÷ 4 = 150 g protein, 600 ÷ 9 = 67 g fat. The carbohydrate calculator does this for any split.
Macro splits for common goals
Here is what popular splits look like in grams on a 2,000-calorie day:
| Split | Carbs / protein / fat | Carbs | Protein | Fat |
|---|---|---|---|---|
| Balanced | 50 / 20 / 30 | 250 g | 100 g | 67 g |
| Higher protein | 40 / 30 / 30 | 200 g | 150 g | 67 g |
| Low carb | 25 / 35 / 40 | 125 g | 175 g | 89 g |
| Keto | 5 / 25 / 70 | 25 g | 125 g | 156 g |
Notice how keto fat jumps to 156 g. Because fat has 9 calories per gram, the grams stay lower than the percentage suggests — 70% of calories is still only about 156 g.
How much protein do you need?
Many people set protein by body weight instead of percentage. The general adult recommendation is 0.8 g per kg a day. Sports nutrition guidance suggests 1.4–2.0 g per kg for people who train regularly:
| Body weight | General minimum (0.8 g/kg) | Active (1.4–2.0 g/kg) |
|---|---|---|
| 60 kg | 48 g | 84–120 g |
| 75 kg | 60 g | 105–150 g |
| 90 kg | 72 g | 126–180 g |
How to calculate macros in a recipe
- List every ingredient with its weight in grams.
- Look up the macros for each one (labels or USDA FoodData Central), scaled to the amount you used.
- Add the totals for carbs, protein and fat.
- Divide by the number of servings.
- Turn into calories with 4/4/9.
Example: overnight oats, makes 2 servings
80 g oats: 54 g carbs, 11 g protein, 5 g fat. 300 ml milk (2%): 15 g carbs, 10 g protein, 6 g fat. 100 g Greek yogurt (0%): 4 g carbs, 10 g protein, 0 g fat. 15 g honey: 12 g carbs.
Totals: 85 g carbs, 31 g protein, 11 g fat.
Per serving: 42.5 g carbs, 15.5 g protein, 5.5 g fat.
Per serving: (42.5 × 4) + (15.5 × 4) + (5.5 × 9) ≈ 282 calories
Tip: weigh the whole cooked dish, then divide by the weight of your portion. That handles uneven servings and water lost in cooking.
How to count your macros day to day
- Set a calorie target first — the calorie calculator gives one.
- Pick a macro split that suits your goal and stick with it for a few weeks.
- Weigh foods for the first week or two to calibrate your eye.
- Hit your protein target first; carbs and fat can flex.
Common counting mistakes
- Raw vs cooked weights. Rice, pasta and meat change weight when cooked. Use the label or database entry that matches the state you weighed.
- Forgetting cooking oil. One tablespoon of oil is about 14 g of fat — around 120 calories.
- Subtracting fibre twice. On UK and EU labels, carbohydrate already excludes fibre.
- Leaving out alcohol. At 7 calories per gram, drinks add up fast and fit into no macro.
- Rounding on labels. Labels round each figure, so your total may be a few calories off the printed one. That is normal.
Frequently asked questions
Multiply grams of carbohydrate and protein by 4, grams of fat by 9, and add them up. 45 g carbs, 30 g protein and 15 g fat make 180 + 120 + 135 = 435 calories.
25 grams, because each gram of carbohydrate has 4 calories. Divide any calorie amount by 4 to get grams of carbs.
Multiply each macro’s grams by its calories per gram, then divide by the total. For 45 g carbs, 30 g protein and 15 g fat: 180 + 120 + 135 = 435 calories, so carbs are 180 ÷ 435 = 41%, protein 28% and fat 31%.
At least 0.8 g per kg of body weight for most adults — 60 g for a 75 kg person. If you train regularly, 1.4 to 2.0 g per kg is commonly recommended, which is 105 to 150 g at 75 kg.
Sources and further reading
- USDA FoodData Central — nutrient values for recipe ingredients
- Jäger R et al. (2017), ISSN position stand on protein and exercise — protein intakes for active people