Calculating your macros comes down to three steps: estimating how many calories your body needs each day, adjusting that number for your goal, and then splitting those calories into specific grams of protein, fat, and carbohydrates. The whole process takes about five minutes with a calculator, and once you understand the logic behind it, you can recalculate anytime your weight, activity level, or goals change.
Step 1: Estimate Your Daily Calorie Needs
Your body burns calories just to keep you alive. Breathing, circulating blood, repairing cells. This baseline burn is your basal metabolic rate, or BMR. The most widely used formula to estimate it is the Harris-Benedict equation:
- Men: BMR = 88.362 + (13.397 × weight in kg) + (4.799 × height in cm) − (5.677 × age in years)
- Women: BMR = 447.593 + (9.247 × weight in kg) + (3.098 × height in cm) − (4.330 × age in years)
To convert pounds to kilograms, divide by 2.2. To convert inches to centimeters, multiply by 2.54. So a 30-year-old woman who weighs 150 pounds (68 kg) and stands 5’6″ (167.6 cm) would calculate: 447.593 + (9.247 × 68) + (3.098 × 167.6) − (4.330 × 30) = roughly 1,458 calories per day at rest.
But you don’t lie in bed all day. To account for movement, multiply your BMR by an activity factor:
- Sedentary (desk job, little exercise): BMR × 1.2
- Lightly active (exercise 1–3 days per week): BMR × 1.375
- Moderately active (exercise 3–5 days per week): BMR × 1.55
- Very active (hard exercise 6–7 days per week): BMR × 1.725
The result is your total daily energy expenditure, or TDEE. Using the example above, if that woman exercises three days a week, her TDEE would be about 1,458 × 1.375 = 2,005 calories per day. This is roughly how many calories she burns in a typical day.
Step 2: Adjust Calories for Your Goal
Your TDEE is a maintenance number. Eating at that level keeps your weight roughly stable. From there, you adjust based on what you’re trying to do.
For fat loss, a deficit of about 500 calories per day puts you on track to lose roughly one pound per week. Some people go up to a 1,000-calorie deficit for faster results, but a smaller deficit tends to be easier to sustain and helps preserve muscle. If you’re strength training while losing weight, keeping the deficit modest (around 250 to 500 calories) lets you burn fat while still building some muscle.
For muscle gain, add 250 to 500 calories above your TDEE. A larger surplus speeds up weight gain but also adds more body fat alongside the muscle. Most people aiming for lean gains stay on the lower end.
Step 3: Split Calories Into Protein, Fat, and Carbs
Now you divide your adjusted calorie target into grams of each macronutrient. The key conversion: protein and carbohydrates each contain 4 calories per gram, while fat contains 9 calories per gram. Fat is more than twice as calorie-dense, which is why even moderate amounts add up quickly.
Protein
Start with protein because it has the firmest guidelines. The baseline recommendation for adults is 0.8 grams per kilogram of body weight per day, but that’s a minimum for basic health. If you’re strength training, the research-backed range is 1.4 to 1.8 grams per kilogram per day. Endurance athletes fall between 1.2 and 1.4 grams per kilogram. For most people who exercise regularly and want to build or preserve muscle, aiming for about 1.6 grams per kilogram is a solid middle ground.
Using the same 68 kg woman: 68 × 1.6 = roughly 109 grams of protein per day, which equals 436 calories from protein (109 × 4).
Fat
Fat should make up 20% to 35% of your total calories. Going below 20% can interfere with hormone production and nutrient absorption, since your body needs fat to absorb certain vitamins. Most people do well around 25% to 30%.
If our example person is eating 1,505 calories per day (her TDEE of 2,005 minus a 500-calorie deficit), and she sets fat at 25%, that’s 376 calories from fat. Divide by 9 to get grams: about 42 grams of fat per day.
Carbohydrates
Carbs fill in whatever calories remain after protein and fat are set. They’re not calculated from a fixed rule. They’re simply what’s left.
In our example: 1,505 total calories − 436 from protein − 376 from fat = 693 calories from carbs. Divide by 4 to get grams: about 173 grams of carbohydrates per day.
So her daily macros would be roughly 109g protein, 42g fat, and 173g carbs. That’s the complete calculation.
A Full Example to Walk Through
Here’s the whole process for a 25-year-old man who weighs 180 pounds (81.8 kg), stands 5’10” (177.8 cm), lifts weights four days a week, and wants to lose fat:
BMR = 88.362 + (13.397 × 81.8) + (4.799 × 177.8) − (5.677 × 25) = approximately 1,845 calories. Multiply by 1.55 (moderately active) to get a TDEE of about 2,860. Subtract 500 for fat loss: 2,360 calories per day.
Protein at 1.6 g/kg: 81.8 × 1.6 = 131g protein (524 calories). Fat at 25%: 2,360 × 0.25 = 590 calories, or about 66g fat. Carbs from the remainder: 2,360 − 524 − 590 = 1,246 calories, or about 311g carbs.
His daily targets: 131g protein, 66g fat, 311g carbs.
How to Track Your Macros Accurately
A kitchen scale is the single most useful tool for macro tracking. Eyeballing portions is notoriously inaccurate, especially for calorie-dense foods like nuts, oils, and cheese where a small handful can swing your numbers by hundreds of calories.
One common mistake is confusing raw and cooked weights. Cooking changes food weight significantly, which throws off your numbers if you’re not consistent. Meats lose water when cooked, making them lighter but more protein-dense per gram. A chicken breast goes from about 31% protein raw to 41% protein cooked, simply because water evaporates. Grains and legumes do the opposite: they absorb water and become heavier, diluting their macronutrient density. Forty grams of raw lentils might have 11 grams of protein, but once they cook and expand to 135 grams, the protein concentration drops to about 8 grams per 100 grams.
The simplest approach: pick one method (raw or cooked) and stick with it for each ingredient. Weighing raw is generally more precise, especially for staples like rice, oats, and dry pasta. For mixed dishes like soups or casseroles, track each ingredient individually before cooking rather than trying to reverse-engineer the final dish. If you’re using packaged or frozen foods, check whether the nutrition label reflects raw or cooked values. Look for phrases like “as prepared” or “as served.”
Why These Numbers Are Estimates
Every step of this process involves approximation. The BMR formula estimates your metabolism based on population averages, but individual variation is real. Two people with the same height, weight, age, and activity level can have metabolic rates that differ by several hundred calories. The activity multipliers are broad categories, not precision measurements. And the FDA allows nutrition labels to be off by as much as 20% from actual calorie content, so even meticulous food tracking has a built-in margin of error.
This doesn’t mean the process is pointless. It means you should treat your calculated macros as a starting point, not a final answer. Follow your numbers for two to three weeks, track your weight and how you feel, then adjust. If you’re trying to lose weight and the scale isn’t moving, trim 100 to 200 calories. If you’re gaining weight faster than expected, pull back slightly. The math gives you a rational place to start. Your body’s response tells you where to go from there.