Your macros are the three categories of nutrients that supply virtually all the calories you eat: protein, carbohydrates, and fat. Each gram of protein provides about 4 calories, each gram of carbohydrate provides about 4 calories, and each gram of fat provides about 9 calories. Calculating your macros means figuring out how many grams of each you should eat per day based on your body, your activity level, and your goal, whether that’s losing fat, building muscle, or just staying where you are. The process sounds technical, but it boils down to a handful of straightforward steps.
Step One: Estimate How Many Calories You Burn
Before you can divide calories among protein, carbs, and fat, you need a reasonable estimate of how many total calories your body uses in a day. That number is called your total daily energy expenditure, or TDEE. It has three main parts: the energy your body burns just keeping you alive at rest (your resting metabolic rate), the energy burned digesting food, and the energy burned through all physical movement, from fidgeting to formal exercise.
The most widely recommended way to estimate resting metabolic rate is the Mifflin-St Jeor equation. A systematic review comparing the most commonly used prediction equations found that Mifflin-St Jeor was the most reliable, predicting resting metabolic rate within 10% of the measured value in more people than any other equation and producing the narrowest error range.1PubMed. Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults: a systematic review A later study of over 300 adults confirmed the equation was essentially unbiased, with a confidence interval of just -26 to +8 calories per day in the general population.2PubMed. Bias and accuracy of resting metabolic rate equations in non-obese and obese adults The equation uses your weight in kilograms, height in centimeters, age, and sex. For men it works out to roughly (10 × weight) + (6.25 × height) – (5 × age) – 5, and for women the same formula minus 161 instead of minus 5. Plenty of online calculators will do the arithmetic for you.
Once you have your resting metabolic rate, multiply it by an activity factor. The standard multipliers range from about 1.2 for someone who sits most of the day to around 1.9 for a person with a physically demanding job who also trains hard. Most people who work a desk job and exercise three to five days a week fall somewhere between 1.4 and 1.6. This gives you an estimated TDEE. It is an estimate, not a measurement, so treat it as a starting point you’ll adjust based on what happens over the next few weeks.
Why the Estimate Is Always Rough
No equation can perfectly predict how many calories you burn, for a simple reason: a huge chunk of your daily energy use comes from non-exercise activity, which includes everything from pacing around your kitchen to tapping your foot during a meeting. Researchers have long noted that this non-exercise activity thermogenesis, or NEAT, is the most variable component of total daily energy expenditure, differing enormously from person to person based on occupation, environment, body composition, and individual biology.3PubMed Central. Non-exercise activity thermogenesis (NEAT): a component of total daily energy expenditure Two people of the same age, sex, height, and weight can burn hundreds of calories apart simply because one fidgets more or has a job that keeps them on their feet.4PubMed. Nonexercise activity thermogenesis (NEAT): environment and biology
The accuracy problem gets worse for people with obesity. A retrospective study comparing the Mifflin-St Jeor equation to indirect calorimetry (the gold standard, which measures the actual gases you breathe in and out) found that only about half of its estimates fell within 10% of the true value in overweight and obese individuals, and the equation still consistently overestimated calorie burn.5PubMed Central. Comparative analysis of basal metabolic rate measurement methods in overweight and obese individuals: A retrospective study The practical takeaway is that any calculator you find online is giving you a best guess. You’ll need to watch the scale, the mirror, and your energy levels over two to four weeks and then adjust.
Step Two: Set Your Protein Target
Of the three macros, protein deserves the most deliberate attention. It’s the primary building block for muscle tissue, it keeps you feeling full longer than carbs or fat do, and your body burns more calories just digesting it than it does with the other two macros.6PubMed Central. Effects of Varying Protein Amounts and Types on Diet-Induced Thermogenesis: A Systematic Review and Meta-Analysis
How much you need depends on whether you’re doing resistance training and how old you are. The International Society of Sports Nutrition recommends a range of 1.4 to 2.0 grams per kilogram of body weight per day for exercising individuals looking to build or maintain muscle.7PubMed Central. International Society of Sports Nutrition Position Stand: protein and exercise A large meta-analysis narrowed the sweet spot further, finding that protein supplementation beyond about 1.6 grams per kilogram per day did not produce additional gains in fat-free mass during resistance training.8British Journal of Sports Medicine. A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults For older adults over 65 doing resistance training, improvements in lean body mass showed up at a somewhat lower threshold, around 1.2 to 1.6 grams per kilogram per day.9PubMed Central. Systematic review and meta‐analysis of protein intake to support muscle mass and function in healthy adults
In practical terms, if you weigh 80 kg (about 176 pounds) and lift weights regularly, aiming for roughly 128 grams of protein per day gets you to that 1.6 g/kg benchmark. If you’re dieting to lose fat, going toward the higher end of the range helps preserve muscle while you’re in a calorie deficit. If you’re relatively sedentary and not particularly concerned with muscle, the general recommendation of around 0.8 g/kg still applies, though many nutrition researchers consider that a bare minimum rather than an optimal target.
Step Three: Set Your Fat Target
Fat is essential for absorbing certain vitamins, producing hormones, and maintaining cell membranes. A common starting point is to allocate about 25 to 35 percent of your total calories to fat, which works out to roughly 0.7 to 1.2 grams per kilogram of body weight for most people. Going much below 20 percent of total calories from fat for an extended period is generally a bad idea, and the evidence gives a specific reason why.
A systematic review and meta-analysis of intervention studies found that men placed on low-fat diets experienced measurable decreases in both total and free testosterone compared to those on higher-fat diets.10PubMed. Low-fat diets and testosterone in men: Systematic review and meta-analysis of intervention studies The relationship also appears in women: higher total fat intake, particularly polyunsaturated fat, was associated with small but meaningful increases in testosterone in regularly menstruating women.11PubMed Central. Dietary fat intake and reproductive hormone concentrations and ovulation in regularly menstruating women The type of fat matters too, with research suggesting that saturated fat in particular can influence androgen bioavailability by affecting how androgens bind to plasma proteins.12European Journal of Clinical Nutrition. Dietary fat quality and serum androgen concentrations in middle-aged men
None of this means you should mainline butter. It means that very low-fat diets can carry hormonal downsides that make them a poor long-term strategy, and that keeping fat at a reasonable floor protects functions you might not notice until they’re disrupted.
Step Four: Fill the Rest with Carbohydrates
Once protein and fat grams are set, the remaining calories go to carbohydrates. This is simple arithmetic. Say your TDEE is 2,400 calories and you’ve allocated 130 grams of protein (520 calories) and 80 grams of fat (720 calories). That leaves 1,160 calories, which divided by 4 equals 290 grams of carbohydrates.
Carbs are your body’s preferred fuel for high-intensity work. Athletes in particular benefit from timing their carbohydrate intake around training sessions to maintain what researchers call “high carbohydrate availability,” meaning the muscle and nervous system have enough fuel for the session’s demands.13PubMed. Carbohydrates for training and competition For someone whose main goal is general health or fat loss, carbs are more flexible. You can eat them whenever you like as long as the daily totals land roughly where they should.
One practical wrinkle: fiber. Fiber is technically a carbohydrate, but your small intestine can’t break down most of it. Some gets fermented by bacteria in your large intestine and produces short-chain fatty acids that your body can use for a small amount of energy.14PubMed Central. Dietary macronutrients and the gut microbiome: a precision nutrition approach to improve cardiometabolic health The caloric yield of fermentable fiber is estimated at roughly 1 calorie per gram rather than the standard 4 for digestible carbohydrates.15Nutrition Reviews. The Biochemistry of Oligofructose, a Nondigestible Fiber: An Approach to Calculate Its Caloric Value This is why some people subtract fiber from total carbs to get “net carbs.” Whether you bother with that adjustment depends on how much fiber you eat. If you’re taking in 30 or 40 grams a day, the difference is around 90 to 120 calories, which can matter during a strict fat-loss phase.
Adjusting Macros for Fat Loss vs. Muscle Gain
Your goal determines which direction you shift total calories and how you protect the individual macros within that shift.
For fat loss, you eat fewer calories than your TDEE. A deficit of roughly 300 to 500 calories per day is aggressive enough to produce visible progress but moderate enough that you’re not miserable and your performance doesn’t tank. The most important macro adjustment during a cut is keeping protein high. Clinical trials consistently show that eating more protein than the standard recommendation preserves fat-free mass while promoting fat loss, even in a meaningful calorie deficit.16PubMed Central. Clinical Evidence and Mechanisms of High-Protein Diet-Induced Weight Loss The calories you subtract should come primarily from carbs and, to a lesser extent, fat. Keep fat above that 20% floor discussed earlier.
For muscle gain, you eat slightly more than your TDEE, typically 200 to 400 calories above maintenance. Protein stays at 1.6 g/kg or above, fat stays in its healthy range, and the surplus calories come largely from carbohydrates. A larger surplus doesn’t accelerate muscle growth; it mostly accelerates fat gain.
For maintenance, your calories roughly match your TDEE, and the macro split follows the same principles: protein at a sufficient threshold, fat in a healthy range, carbs filling the gap.
Metabolic Adaptation and Why You’ll Need to Recalculate
If you stay in a calorie deficit long enough, your body will start burning fewer calories than the equations predict. This isn’t just because you weigh less. Your metabolism actually slows down beyond what the loss of body mass can explain. Research tracking people through extended calorie restriction has measured this “metabolic adaptation” at around 5 to 8% during sleep and up to 9 to 13% in free-living conditions over periods ranging from 3 to 24 months.17PubMed Central. Impact of calorie restriction on energy metabolism in humans A separate study confirmed that metabolic adaptation was a significant predictor of how long it took people to reach their weight-loss goals, with greater adaptation meaning slower progress.18PubMed Central. Metabolic adaptation delays time to reach weight loss goals
What this means in practice is that the macros you calculated on day one will stop working eventually if you’re dieting. Your TDEE drops, so the deficit shrinks, and fat loss stalls. The fix is recalculating every few weeks. Weigh yourself consistently, track the trend over 10 to 14 days, and if progress has clearly stalled, shave another 100 to 200 calories, typically from carbs. Some people prefer to add a brief maintenance-calorie phase (sometimes called a “diet break”) every 8 to 12 weeks instead of continually cutting calories. There’s reasonable evidence that periodic breaks can help offset some of the metabolic slowdown and the psychological grind of sustained dieting, though the exact protocol varies.
Tracking Accuracy and Common Mistakes
The weakest link in any macro plan is usually the tracking itself. Research studying people logging food in a popular app found that users omitted an average of 18% of food items from their logs and significantly underestimated total calorie intake compared to what structured dietary recalls showed.19Elsevier / Nutrition. The use of a food logging app in the naturalistic setting fails to provide accurate measurements of nutrients and poses usability challenges The most commonly omitted items were energy-dense, nutrient-poor foods, exactly the ones that blow a macro target the fastest.
A few habits improve accuracy without turning meal prep into a laboratory exercise:
- Use a food scale: Eyeballing portions is notoriously unreliable. Weighing even just your protein and calorie-dense ingredients (oils, nut butters, cheese) closes most of the accuracy gap.
- Log before you eat: Pre-logging a meal lets you adjust portions before the food is on your plate, rather than trying to reconstruct what happened after the fact.
- Account for cooking oils: A tablespoon of olive oil adds about 120 calories and 14 grams of fat. If you cook with oil daily and never log it, you could be hundreds of calories off by the end of the week.
- Double-check database entries: Crowdsourced food databases in apps are riddled with errors. Cross-reference entries against the nutrition label, especially for items you eat frequently.
Perfection isn’t the goal. Getting within about 10% of your targets consistently is enough to see results. The math only has to be roughly right, and the consistency matters far more than precision on any single day.
When Meal Timing Affects Your Macros
For most people, total daily intake matters far more than when you eat. But timing does have measurable physiological effects that can matter at the margins. A controlled study found that eating the same meal in the evening produced significantly higher glucose and insulin spikes than eating it in the morning, and the difference was even more pronounced when the meal was high in carbohydrates.20PubMed Central. Meal Timing and Macronutrient Composition Modulate Human Metabolism and Reward-Related Drive to Eat If you’re managing blood sugar or are prediabetic, front-loading your carbohydrate-heavier meals earlier in the day is a reasonable move. If you’re a healthy person primarily interested in body composition, the difference in outcomes is small enough that you should organize your meals around whatever schedule you’ll actually stick to.
Protein timing has a slightly stronger practical case. Spreading your protein across at least three or four feedings seems to be modestly better for muscle protein synthesis than cramming it all into one or two meals. But the total daily amount still matters more than the distribution, so if intermittent fasting works for your life, you don’t need to abandon it. Just make sure you hit your protein target within whatever eating window you use.
The Psychological Side of Macro Tracking
Tracking macros works well for many people, but it can become counterproductive for others. Research has found that people who used calorie-tracking apps primarily for weight or body-shape reasons reported higher levels of disordered eating behaviors than those who tracked for general health reasons. Specifically, weight-focused users were more likely to report food preoccupation, all-or-nothing thinking around meals, food-related anxiety, and purging behaviors.21PubMed. Using an app to count calories: Motives, perceptions, and connections to thinness- and muscularity-oriented disordered eating
This doesn’t mean tracking macros causes eating disorders. The relationship is more nuanced: people with existing tendencies toward disordered eating may gravitate toward rigid tracking and then find that the tool amplifies those tendencies. If you notice that logging food creates significant anxiety, that missing a macro target ruins your mood for the day, or that you’ve started avoiding social eating because you can’t weigh the food, those are signs to step back. A simpler approach, such as using hand-portion estimates or just focusing on protein and letting the rest fall where it may, can deliver 80% of the results with far less mental overhead.
How Your Gut Microbiome Fits In
The calories-per-gram numbers for each macro (4, 4, and 9) are averages based on century-old combustion experiments, and they don’t account for what happens when food reaches your large intestine. Your gut bacteria ferment certain carbohydrates, particularly fiber and resistant starches, and the short-chain fatty acids they produce are absorbed and used for energy.14PubMed Central. Dietary macronutrients and the gut microbiome: a precision nutrition approach to improve cardiometabolic health Different people harbor different microbial communities, which means two individuals eating the same diet can extract slightly different amounts of energy from it. This is one more reason why your calculated macros are a starting point rather than a guaranteed outcome. It also helps explain why some people respond better to higher-fiber, higher-carb diets while others feel and perform better with fewer carbs and more fat. Gut composition isn’t something you can measure at home, but it reinforces the importance of monitoring real-world results and adjusting accordingly.
Age and Sex Differences in Macro Needs
Macro requirements shift across the lifespan. Aging affects how your body partitions macronutrients, and research has shown that men and women develop different feeding patterns and metabolic requirements as they get older.22Mechanisms of Ageing and Development. Age-related changes in adaptive mechanisms of macronutrient self-selection: evidence for a sexual dimorphism For older adults, the most actionable shift involves protein. Muscle tissue becomes harder to build and easier to lose after about age 50, a process that accelerates with each decade. The protein targets mentioned earlier for adults over 65 (1.2 to 1.6 g/kg during resistance training) reflect this reality.
Women navigating different phases of the menstrual cycle may notice fluctuations in hunger, cravings, and energy. Some women find that slightly increasing carbohydrate intake during the luteal phase (the two weeks before a period) helps manage cravings and maintain training quality. This isn’t a hard rule backed by large trials, but it aligns with the known metabolic changes across the cycle and is a low-risk experiment if you’re curious.
People with substantially more body fat may want to base their protein target on lean body mass or an adjusted body weight rather than total body weight. Using total weight at 1.6 g/kg when you weigh 130 kg would set protein unrealistically high at over 200 grams per day. A common workaround is to use your goal weight or an ideal body weight estimate instead, which gives a more practical target.
A Sample Calculation Walkthrough
To make all of these pieces concrete, here’s what the process looks like for a hypothetical person: a 35-year-old woman who weighs 70 kg (about 154 pounds), stands 165 cm (about 5’5″), exercises moderately four days a week, and wants to lose fat while preserving muscle.
Her estimated resting metabolic rate using Mifflin-St Jeor is roughly 1,400 calories. Multiplied by an activity factor of 1.5, her estimated TDEE is about 2,100 calories. For a moderate fat-loss deficit, she subtracts 400 calories, giving a daily target of 1,700 calories. Protein: 1.6 g/kg × 70 kg = 112 grams (448 calories). Fat: about 30% of total calories = 510 calories, or 57 grams. Carbohydrates: the remaining 742 calories, or about 185 grams.
She starts eating at those targets, weighs herself at the same time each morning, and averages the number over each week. If after three weeks her weight isn’t trending downward, she drops carbs by 20 to 30 grams (80 to 120 calories) and reassesses. If weight drops too quickly, more than about 1% of body weight per week, she adds back some carbs or fat to slow the rate and protect muscle. The whole system runs on feedback, not on blind faith in any equation.