Macro Calculator: How to Calculate Protein, Carbs & Fat for Your Goal

Macro calculator — protein, carbohydrate and fat split for weight loss and muscle gain

Calories tell you how much to eat. Macros tell you what that food should be made of.

Macros — short for macronutrients — are protein, carbohydrate and fat. Every calorie you eat comes from one of the three. Get the total calories right but the split wrong, and you can lose muscle instead of fat, feel hungry all day, or stall in the gym.

This guide shows you how to calculate your macros from your TDEE, with a different split for cutting, maintaining and bulking — and worked examples you can copy.

Medical disclaimer: This article is for general information only. It is not medical advice. The ranges here are for healthy adults. If you have kidney disease, diabetes, or another medical condition, or you take medication, speak to a doctor or a registered dietitian before changing your diet.

What Are Macros?

Protein — 4 kcal per gram. Builds and repairs muscle, keeps you full, and has the highest thermic effect (your body burns more calories digesting it).

Carbohydrate — 4 kcal per gram. Your body’s main quick energy source, especially for training. Stored as glycogen in muscle and liver.

Fat — 9 kcal per gram. Needed for hormones, vitamin absorption and long-lasting energy. Fat has more than twice the calories per gram of protein or carbohydrate, so portions matter.

Alcohol is a fourth source of calories (7 kcal per gram), but it is not a macronutrient — it adds calories without nutrition, and it is not counted in a macro split.

Step 1: Find Your TDEE

You cannot calculate macros without a calorie target first. Work in this order: BMR → TDEE → goal calories → macros.

  1. BMR — calories at rest, from the Mifflin-St Jeor equation. Use our BMR Calculator.
  2. TDEE — BMR × activity factor (1.2 sedentary to 1.9 extremely active). Use our TDEE Calculator or Advanced Calorie Calculator. If you have not done this before, read how do I calculate my TDEE first.
  3. Goal calories: Fat loss (cut): TDEE − 300 to 500 kcal (about 0.5–1 lb per week). Maintenance: TDEE. Muscle gain (bulk): TDEE + 250 to 500 kcal.

Worked example used through this guide: A 32-year-old woman, 68 kg, 165 cm, moderately active. BMR = 10 × 68 + 6.25 × 165 − 5 × 32 − 161 = 1,390 kcal. TDEE = 1,390 × 1.55 = 2,155 kcal. Cut target: 2,155 − 500 = 1,655 kcal. Maintain target: 2,155 kcal. Bulk target: 2,155 + 300 = 2,455 kcal.

Step 2: Set Protein First

Protein is the one macro to set by body weight, not by percentage — because your muscles need a certain amount in grams, whatever your calories are.

  • General health, lightly active: 1.2–1.6 g/kg.
  • Fat loss (protect muscle): 1.6–2.2 g/kg.
  • Muscle gain: 1.6–2.2 g/kg.

For our worked example at 68 kg, fat loss protein = 68 × 1.8 = 122 g per day (488 kcal). That is the anchor — set protein first, then split the remaining calories between carbohydrate and fat.

Do not go far above 2.2 g/kg unless a dietitian advises it. More protein does not build more muscle past a point, and it leaves less room for carbohydrate and fat.

If you want a deeper protein guide, read our high-protein diet for muscle building article — this guide is the calculator version of the same idea.

Step 3: Split the Rest Between Carbs and Fat

After protein, the remaining calories are split between carbohydrate and fat. There is no single “correct” split — it depends on how you train and what you enjoy eating.

Typical splits (protein / carbs / fat, by calories): Fat loss: 35% / 35% / 30%. Maintenance: 30% / 40% / 30%. Muscle gain: 30% / 45% / 25%.

Balanced diet with fruits, vegetables, whole grains, protein, and healthy foods

Worked example — fat loss at 1,655 kcal: Protein: 122 g = 488 kcal (set by body weight, not percentage). Remaining: 1,655 − 488 = 1,167 kcal. Carbohydrate (50% of remaining): 584 kcal = 146 g. Fat (50% of remaining): 584 kcal = 65 g. Result: 122 g protein / 146 g carbohydrate / 65 g fat.

Worked example — maintenance at 2,155 kcal: Protein: 68 × 1.6 = 109 g = 436 kcal. Remaining: 2,155 − 436 = 1,719 kcal. Carbohydrate: 55% of remaining = 945 kcal = 236 g. Fat: 45% of remaining = 774 kcal = 86 g. Result: 109 g protein / 236 g carbohydrate / 86 g fat.

Worked example — muscle gain at 2,455 kcal: Protein: 68 × 2.0 = 136 g = 544 kcal. Remaining: 2,455 − 544 = 1,911 kcal. Carbohydrate: 60% of remaining = 1,147 kcal = 287 g. Fat: 40% of remaining = 764 kcal = 85 g. Result: 136 g protein / 287 g carbohydrate / 85 g fat.

Notice the pattern: protein stays roughly the same in grams across goals. What changes is carbohydrate — it goes up when calories go up, and down when calories go down. Fat stays in a similar range throughout.

How to Track Macros Without Going Crazy

  1. Use a food-tracking app for 2 weeks. Weigh food for the first week — volume measures (cups, spoonfuls) are unreliable, especially for fats, nuts and oils.
  2. Hit protein first every day. If you only track one macro, track protein. Spread it across meals: about 25–40 g per meal for most adults.
  3. Plan carbohydrate around training. More carbohydrate on training days, a little less on rest days, if that suits you.
  4. Do not chase perfect numbers daily. Weekly averages matter more than one perfect day. Aim to land within about 10% of each target most days.
  5. Re-calculate every 4–6 weeks. As your weight changes, your TDEE changes. If you have lost 5 kg, your old macros are now too high. Re-run the TDEE Calculator with your new weight.

Common tracking errors: forgetting cooking oil (about 120 kcal per tablespoon), dressings, nut butters, drinks, and “just a bite” snacks. One study found even experienced trackers underestimated high-fat foods by about 38%.

Macros for Weight Loss vs Muscle Gain

For weight loss, protein is your best friend. At 1.6–2.2 g/kg it protects muscle, keeps you full, and burns more calories in digestion than carbohydrate or fat. Keep carbohydrate high enough to train well — very low carbohydrate diets often fail because training suffers and hunger rises.

For muscle gain, you still need the same protein, but you need enough carbohydrate to fuel training and recover. A small surplus (+250 to 500 kcal) with 1.6–2.2 g/kg protein builds muscle with less fat gain than a large surplus. “Dirty bulking” — eating everything in sight — mostly adds fat, not muscle.

For maintenance, the split matters least. Keep protein at 1.2–1.6 g/kg, eat a variety of foods, and let carbohydrate and fat fall where your preferences and training take them.

Frequently Asked Questions

How do I calculate my macros?

First find your TDEE, then set goal calories (cut, maintain or bulk), set protein by body weight (1.6–2.2 g/kg for fat loss or muscle gain), then split the remaining calories between carbohydrate and fat.

What is a good macro split for weight loss?

A common starting split is 35% protein / 35% carbohydrate / 30% fat by calories, with protein set at 1.6–2.2 g per kg of body weight. Adjust carbohydrate and fat to your preference — the total calories and the protein target matter most.

How much protein do I need per day?

For most exercising adults, 1.4–2.0 g per kg of body weight, and up to 2.2 g/kg when losing fat to protect muscle. A 70 kg person therefore needs about 112–154 g per day.

Do macros matter if I just count calories?

For weight change alone, total calories matter most. For body composition — losing fat instead of muscle, and feeling full — macros matter a lot. Two diets at the same calories can give very different results if one is low in protein.

Should carbs be low to lose weight?

Not necessarily. Low-carbohydrate diets can work, but so can moderate-carbohydrate diets at the same calories. The best carbohydrate level is the one you can sustain while training well and staying full.

How often should I recalculate my macros?

Every 4–6 weeks, or after a weight change of about 5 kg. As you get lighter, your TDEE falls, so your old calorie and macro targets become too high.

This article is for general information only and is not medical advice. If you have a medical condition, speak to a doctor or a registered dietitian before changing your diet.

Test your fitness level instantly! Our free Health Calculator shows your BMI, calories, and weight plan in seconds. Try now and stay healthy!