How to Calculate Macros From Your Calories
How to calculate macros: protein, carbs and fat grams from a calorie target, using 4, 4 and 9 kcal per gram. Worked example and a table of splits.
To calculate macros, first set a daily calorie target. Then choose how many calories come from protein, carbs and fat. Convert each share to grams with three numbers: protein has 4 kcal per gram, carbohydrate has 4 kcal per gram and fat has 9 kcal per gram. This guide shows the method with a worked example, a table of three splits and the mistakes people often make.
This is general information, not medical advice. Ask a doctor or dietitian if you have a medical condition or take medicine.
What macros are
Macronutrients, or macros, are the three energy sources in food: protein, carbohydrate and fat. Alcohol also has energy, but it is not a macro in this method. Each macro gives a fixed amount of energy per gram:
| Macro | Energy per gram |
|---|---|
| Protein | 4 kcal |
| Carbohydrate | 4 kcal |
| Fat | 9 kcal |
Fat has more than twice the energy of protein or carbs by weight. This is why a small amount of oil adds many calories.
The method in four steps
- Set your daily calorie target. See how many calories to lose weight for one way to do this.
- Choose protein in grams. A common range is 1.4 to 2.0 g per kg of body weight for people who train regularly. The Recommended Dietary Allowance for adults is a minimum of 0.8 g per kg.
- Choose fat as a share of calories. A common range is 20 to 35 percent of calories.
- Give the rest of the calories to carbohydrate.
Use this formula to convert grams to calories and back:
- Protein kcal = grams × 4
- Carb kcal = grams × 4
- Fat kcal = grams × 9
- Grams = kcal ÷ 4 for protein or carbs, kcal ÷ 9 for fat
Worked example
Use the woman from the calorie guide. She weighs 65 kg and her calorie target is 1,384 kcal a day.
- Protein: 1.6 g × 65 kg = 104 g. In calories: 104 × 4 = 416 kcal.
- Fat: 30 percent of 1,384 = 415 kcal. In grams: 415 ÷ 9 = 46 g. In calories: 46 × 9 = 414 kcal.
- Carbs: 1,384 − 416 − 414 = 554 kcal. In grams: 554 ÷ 4 = 138.5, rounded to 138 g. In calories: 138 × 4 = 552 kcal.
The three macros add up to 416 + 414 + 552 = 1,382 kcal. The 2 kcal gap comes from rounding grams to whole numbers. This is close enough for daily planning.
Three splits for the same target
The table uses the same 1,384 kcal target and three different splits. Each row adds up to about 1,384 kcal.
| Split | Protein | Carbs | Fat | Protein g | Carbs g | Fat g |
|---|---|---|---|---|---|---|
| Balanced (30 / 40 / 30) | 416 kcal | 552 kcal | 414 kcal | 104 g | 138 g | 46 g |
| High protein (40 / 30 / 30) | 552 kcal | 416 kcal | 414 kcal | 138 g | 104 g | 46 g |
| Lower carb (35 / 20 / 45) | 484 kcal | 276 kcal | 621 kcal | 121 g | 69 g | 69 g |
Check the lower carb row: 484 + 276 + 621 = 1,381 kcal. Protein is 121 g for this person, which is about 1.9 g per kg. Protein share and fat share are the two numbers to choose first. Carbs fill the rest.
Each row is a method example, not a fixed plan. Pick a split that you can eat every day and that keeps you satisfied.
Common mistakes
- Using grams as percent. A 30 percent fat target is 30 percent of calories, not 30 grams of fat.
- Using 4 kcal for fat. Fat has 9 kcal per gram. Using 4 makes the fat total far too low.
- Forgetting cooking fat. One tablespoon of oil is about 120 kcal and about 14 g of fat.
- Mixing raw and cooked weights. Rice, pasta and meat change weight when cooked. Pick one method and use it every time.
- Changing many numbers at once. Change one thing, then wait two to three weeks before the next change.
How Metabolica does it
Metabolica sets a daily calorie target and macro targets from your profile. Its personal setup gives you a calorie target, macro targets, a water target and a goal date. You can also pick one of eight nutrition profiles. Each profile applies its own macro split to your calorie target, so you can compare different approaches without doing the math by hand.
The food log has more than 100 everyday foods. You search a food, set the portion and see protein, carbs and fat against your targets for the day. Metabolica PRO includes unlimited food logging.
Metabolica gives estimates for general information. It is not medical advice. Food databases and portion sizes are not exact, so check labels when you need precision.
For the full feature list, see the Metabolica app page. You can compare other tools on the apps page.
If you want to try it, open Metabolica, set a calorie target and log one meal. Then check the macro numbers against your own label.
For body changes over time, see how to track body measurements.
Frequently asked questions
How much protein do I need per day?
The Recommended Dietary Allowance for adults is at least 0.8 g per kg of body weight. People who train regularly often aim for 1.4 to 2.0 g per kg. Choose a number in your range and check it with a doctor or dietitian if you have a health condition.
Do I need to count carbs and fat as well as protein?
You do not have to, but tracking all three gives a clearer picture. Protein helps set the plan, and fat and carbs fill the calorie total. Many people track only calories and protein at first.
Are macros the same as calories?
No. Calories are energy. Macros are the sources of that energy. Two meals can have the same calories and very different protein, carb and fat grams.
What if my numbers do not add up exactly?
Small gaps from rounding are normal. A gap of 10 to 20 kcal a day does not change your results. Keep the grams you set and recheck each week.
- macros
- protein
- carbs
- fat
- calorie target
Metabolica - Calorie Tracker
Estimate your daily calories and track food, workouts and progress on iPhone.
Keep reading
- Health · 5 min read
BMR vs TDEE: How Many Calories Do You Really Burn?
BMR vs TDEE explained: what each number means, how the Mifflin-St Jeor formula works, a worked example, and how to set a calorie target.
- Health · 5 min read
How Many Calories to Lose Weight? A Simple Method
How many calories to lose weight: calculate your TDEE, set a moderate calorie deficit, check the weekly pace and see why progress stalls. With an example.
- Health · 5 min read
How to Track Body Measurements at Home
How to track body measurements at home: where to measure waist, hip, chest, arm, thigh and neck, why tape measurements help, and a weekly log example.