Homeโ€บArticlesโ€บHow Toโ€บCalculate Macros
HOW TO

How to Calculate Your Macros

Learn how to calculate your macro targets for weight loss, muscle gain, or maintenance โ€” with the exact grams of protein, carbs, and fat to hit each day.

Written by ยท Reviewed by the thecalcu.com team ยท Published June 26, 2026 ยท Last updated August 4, 2026

Free calculators used in this guide

Macro CalculatorTDEE CalculatorCalorie Calculator

Overview

Counting calories tells you whether your bodyweight will change. Tracking macros tells you what that change is made of. Two people eating 2,000 kcal a day can end up in completely different places, one keeping muscle while losing fat, the other losing both, purely because of how those calories split between protein, carbohydrates, and fat.

This guide walks through calculating your macro targets from scratch: calories first, then protein, fat, and carbohydrates in that order. The method stays the same whether you're cutting, bulking, or maintaining. Only the numbers at each stage change.

Run these numbers automatically through the Macro Calculator for your bodyweight and goal, or work through the steps below to see the method behind the output.

What You Need

  • Your current bodyweight in kilograms
  • Your TDEE (Total Daily Energy Expenditure), check the TDEE Calculator if you haven't worked this out yet
  • Your primary goal (weight loss, muscle gain, or maintenance)

Step 1: Determine Your Goal

Your goal sets your calorie target, and everything else gets calculated from that number.

  • Weight loss: subtract 300 to 500 kcal from your TDEE. That builds a deficit good for roughly 0.25 to 0.45 kg lost per week.
  • Muscle gain (lean bulk): add 200 to 400 kcal to your TDEE. Beginners can push toward the higher end; experienced lifters do better keeping the surplus small to limit fat gain.
  • Maintenance: your calorie target equals your TDEE.

Missing the calorie target by even 10 to 15% changes results noticeably. The Calorie Calculator can help you verify a target against your goal weight and timeline.

Step 2: Calculate Your TDEE

If you haven't calculated your TDEE yet, use the Mifflin-St Jeor formula:

Men: BMR = (10 ร— weight_kg) + (6.25 ร— height_cm) โˆ’ (5 ร— age) + 5

Women: BMR = (10 ร— weight_kg) + (6.25 ร— height_cm) โˆ’ (5 ร— age) โˆ’ 161

Multiply your BMR by your activity factor:

Activity Level Multiplier
Sedentary (desk job, no exercise) 1.2
Lightly active (1โ€“3 days/week) 1.375
Moderately active (3โ€“5 days/week) 1.55
Very active (6โ€“7 days/week) 1.725

That gives you your TDEE, the calories your body burns on an average day. The TDEE Calculator gets you this figure without doing the arithmetic by hand.

Step 3: Set Protein First

Protein comes first because it has the biggest impact on body composition of the three macros. It provides 4 kcal per gram.

For muscle gain: 1.6 to 2.2 g per kg of bodyweight. Most research finds intakes above 2.2 g/kg add little for typical lifters.

For weight loss: 1.6 to 2.2 g per kg, leaning toward the upper end if the deficit runs aggressive (more than 500 kcal/day) or if you're training heavily with resistance work.

For maintenance: 1.2 to 1.6 g per kg is enough to hold onto existing muscle.

To calculate protein calories: Protein_g ร— 4 = Protein_kcal

A quick shorthand a lot of people use: round bodyweight in kilograms into a protein target in grams. An 80 kg person aiming for 2 g/kg needs 160 g of protein a day, which works out to 640 kcal from protein.

Spread that protein across 3 to 5 meals of 20 to 40 g each to get the most out of muscle protein synthesis through the day. One big protein meal does less work than the same total spread out.

Step 4: Set Fat

Fat provides 9 kcal per gram and does the heavy lifting for hormone production, absorbing fat-soluble vitamins (A, D, E, K), and keeping cell membranes functioning. Cut it too low and testosterone, oestrogen, and other hormones take the hit.

Minimum: 0.7 g per kg of bodyweight. Recommended range: 0.8 to 1.0 g per kg.

For an 80 kg person: 0.8 g/kg works out to 64 g of fat a day, or 576 kcal from fat.

Don't push fat below 0.7 g/kg even under aggressive calorie restriction. If calories need to drop further, cut carbohydrates first. Fat and protein stay protected.

Step 5: Fill Remaining Calories with Carbs

Carbohydrates are the flexible macro, calculated from whatever calories remain once protein and fat are locked in. Carbs provide 4 kcal per gram.

Formula:

Remaining_kcal = Daily_target โˆ’ Protein_kcal โˆ’ Fat_kcal
Carbs_g = Remaining_kcal / 4

Carbohydrates fuel moderate-to-high intensity exercise. Keeping carbs on the higher side generally helps training performance and recovery. Only cut carbs hard if your calorie target sits very low and there's no room left after hitting protein and fat floors.

Full Worked Example

Profile: 80 kg male, 180 cm, 28 years old, moderately active. Goal: muscle gain.

Step 1, TDEE:

  • BMR = (10 ร— 80) + (6.25 ร— 180) โˆ’ (5 ร— 28) + 5 = 800 + 1,125 โˆ’ 140 + 5 = 1,790 kcal
  • TDEE = 1,790 ร— 1.55 = 2,775 kcal

Step 2, calorie target (muscle gain +300 kcal):

  • Daily target = 2,775 + 300 = 3,075 kcal (rounded to 3,000 kcal for simplicity)

Step 3, protein:

  • 80 kg ร— 2.0 g/kg = 160 g protein
  • 160 ร— 4 = 640 kcal

Step 4, fat:

  • 80 kg ร— 0.85 g/kg = 68 g fat
  • 68 ร— 9 = 612 kcal

Step 5, carbs:

  • Remaining = 3,000 โˆ’ 640 โˆ’ 612 = 1,748 kcal
  • 1,748 / 4 = 437 g carbs

Daily macro targets: 160 g protein / 437 g carbs / 68 g fat = 3,000 kcal

Common Mistakes to Avoid

Setting protein too low is the most consequential macro mistake you can make. Low protein during a deficit reliably costs you muscle, and during a surplus it means more of what you gain ends up as fat instead of muscle. If you only track one macro with any precision, make it protein.

Cutting fat below 0.7 g/kg is another one. Very low fat diets impair hormonal function, testosterone in men, oestrogen in women, and the fallout shows up in mood, sleep quality, libido, and bone density down the line. Fat isn't the problem here, surplus calories are.

Not adjusting macros as bodyweight changes trips people up too. Macros scale off bodyweight, so someone who drops from 90 kg to 80 kg over six months needs to recalculate protein off the new weight, not the starting one. Skip the update and your effective surplus or deficit quietly drifts.

Tracking cooked weight against raw food database values, or the reverse, can throw off calorie and macro estimates by 15 to 25%. Stay consistent: weigh raw and use raw values, or weigh cooked and pull cooked values from your tracking app.

Expecting perfect adherence causes its own problems. Hitting macros within plus or minus 5 g protein, 10 g carbs, and 5 g fat on a given day counts as good tracking. Chasing more precision than that often leads toward disordered eating habits, and weekly averages matter more anyway. A 50 g protein shortfall on Tuesday made up by a 50 g surplus on Wednesday changes nothing.

Formula & Methodology

Daily calorie target: TDEE ยฑ Deficit/Surplus

Protein (g): Bodyweight_kg ร— 1.6 to 2.2

Protein (kcal): Protein_g ร— 4

Fat (g): Bodyweight_kg ร— 0.7 to 1.0

Fat (kcal): Fat_g ร— 9

Carbohydrates (g): (Daily_kcal โˆ’ Protein_kcal โˆ’ Fat_kcal) / 4

The 4-4-9 calorie system, protein and carbs at 4 kcal/g, fat at 9 kcal/g, is the standard nutritional databases use worldwide, and it holds up well as a foundation for the vast majority of dietary planning.

Frequently Asked Questions

What are macros and why do they matter?

Macros, short for macronutrients, are the three major nutrient categories that provide calories: protein (4 kcal/g), carbohydrates (4 kcal/g), and fat (9 kcal/g). The ratio you eat shapes your body composition, meaning how much of any weight change is fat versus muscle, not just the number on the scale. Two people eating the same calories can end up with very different results depending on how those calories split across the three.

How much protein should I eat to build muscle?

Research points to 1.6 to 2.2 g of protein per kg of bodyweight per day for muscle building. For an 80 kg person, that's 128 to 176 g of protein daily. Most meta-analyses find that intakes above 2.2 g/kg add nothing further for the average lifter, so spreading that protein across 3 to 4 meals of at least 20 to 30 g each helps drive muscle protein synthesis through the day.

How much protein do I need when losing weight?

Aim for the same 1.6 to 2.2 g per kg of bodyweight range while in a calorie deficit, leaning toward the upper end to help preserve muscle mass. A 70 kg person losing weight should target 112 to 154 g of protein per day. Higher protein during a deficit also boosts satiety, which makes sticking to a reduced calorie intake noticeably easier.

What is the minimum fat intake I should eat?

A minimum of 0.7 g of fat per kg of bodyweight supports hormone production, absorption of fat-soluble vitamins (A, D, E, K), and cell membrane integrity. For a 75 kg person, that's at least 52 g of fat per day. Dropping below this can impair testosterone in men and disrupt the menstrual cycle in women, so some researchers treat 0.8 to 1.0 g/kg as the safer practical floor.

How do I calculate carbohydrate intake?

Carbs are the macro you calculate last, after protein and fat are set. Multiply protein grams by 4 and fat grams by 9, subtract that total from your daily calorie target, then divide what's left by 4 to get carbohydrate grams. On a 2,500 kcal target with 160 g protein (640 kcal) and 70 g fat (630 kcal), carbs come out to (2,500 minus 640 minus 630) divided by 4, or 308 g.

What calorie surplus should I use for muscle gain?

A surplus of 200 to 500 kcal above TDEE works for a lean bulk. Beginners gain muscle faster and can lean toward the higher end, 400 to 500 kcal, while more experienced lifters gain muscle slower and do better with a smaller surplus of 150 to 250 kcal to keep fat gain in check. Pushing the surplus much past 500 kcal a day doesn't speed up muscle gain, it mostly adds fat.

Should I track macros or just calories?

Tracking total calories is enough if all you care about is weight change, but macros give you control over body composition. Calorie-only tracking can still leave you losing significant muscle if protein runs too low, or feeling wiped out if carbs drop too far relative to your training volume. Macro tracking takes more effort and pays off in better body composition, especially if you train regularly.

Does it matter when I eat my macros (meal timing)?

For most people, timing matters far less than hitting the daily totals. Protein is the one exception: spreading 20 to 40 g across 3 to 5 meals appears to maximise muscle protein synthesis compared with cramming the same total into one or two sittings. Eating protein and carbs within an hour or two of resistance training can modestly help recovery, but the daily total still matters more.

How do I track macros for cooked vs raw food?

Nutrition databases default to raw food values, and 100 g of raw chicken has different macros than 100 g of cooked chicken because cooking drives out water weight. Weighing food raw and using raw database values is the safest approach. If you weigh food after cooking, look for cooked-specific values in your tracking app, or use an approximate conversion, cooked chicken runs about 75% of raw chicken's weight.

How often should I recalculate my macros?

Recalculate your TDEE and macro targets after every 5 kg of bodyweight change, or every 4 to 6 weeks of consistent training, whichever comes first. Gaining muscle nudges your BMR up and raises maintenance calories; losing fat brings BMR down. Skip the update and your deficit or surplus drifts from what you intended, which stalls progress or triggers fat gain you didn't plan for.

What is flexible dieting (IIFYM) and does it work?

IIFYM, short for If It Fits Your Macros, lets you eat any food as long as it fits your daily protein, carb, and fat targets. Studies show it produces body composition results on par with rigid meal plans, with better long-term adherence since it's more flexible day to day. The real risk is leaning too heavily on processed foods to hit numbers, which can leave micronutrient intake thin, so keeping 80 to 90% of the diet as whole foods is still a good idea.

How do I calculate macros for a vegetarian or vegan diet?

The calculation itself doesn't change, only the food sources you use to hit the targets. Plant-based protein sources like legumes, tofu, tempeh, seitan, and edamame tend to carry less leucine per gram than animal sources, and leucine is the amino acid that drives muscle protein synthesis most directly. Vegetarians and vegans often do better aiming at the upper end of the protein range, 2.0 to 2.2 g/kg, and leaning on leucine-rich sources like soy protein to make up the gap.

Related Articles

GUIDE

Weight Loss Guide โ€” Calories, Macros and BMI

GUIDE

Muscle Building Guide โ€” TDEE, Macros and Calorie Surplus

COMPARISON

TDEE vs BMR โ€” What's the Difference and Which Should You Use?

COMPARISON

Calorie Deficit vs Calorie Cycling โ€” Which Works Better?

About the author