Calculating your macros is a three-step process: estimate how many calories you burn each day, choose a percentage split for protein, carbs, and fat, then convert those percentages into grams. The whole thing takes about five minutes with a calculator, and once you have your numbers, you can use them to guide your meals without guesswork.
Step 1: Estimate Your Daily Calories
Before you can split calories into macros, you need to know how many calories your body uses in a day. This number is called your total daily energy expenditure (TDEE), and it combines two things: the calories your body burns just to stay alive (your basal metabolic rate, or BMR) and the calories you burn through movement and exercise.
The most widely used formula for BMR is the Harris-Benedict equation:
- Males: BMR = 88.362 + (13.397 × weight in kg) + (4.799 × height in cm) – (5.677 × age in years)
- Females: BMR = 447.593 + (9.247 × weight in kg) + (3.098 × height in cm) – (4.330 × age in years)
If you prefer pounds and inches, convert first: divide your weight in pounds by 2.2 to get kilograms, and multiply your height in inches by 2.54 to get centimeters.
Once you have your BMR, multiply it by an activity factor that reflects how much you move during a typical week:
- Sedentary (desk job, little or no exercise): BMR × 1.2
- Lightly active (light exercise 1 to 3 days per week): BMR × 1.375
- Moderately active (moderate exercise 3 to 5 days per week): BMR × 1.55
- Very active (hard exercise 6 to 7 days per week): BMR × 1.725
- Extra active (intense training twice daily or a physically demanding job): BMR × 1.9
The result is your TDEE, the approximate number of calories you burn in a day. For example, a 30-year-old woman who is 5’5″, weighs 150 pounds, and exercises moderately would land somewhere around 2,000 calories per day.
Step 2: Adjust Calories for Your Goal
Your TDEE represents maintenance, the calorie level where your weight stays roughly the same. If your goal is fat loss, you need to eat below that number. If your goal is muscle gain, you need to eat above it.
For fat loss, a moderate deficit of 300 to 500 calories below your TDEE is a sustainable starting point. That pace typically produces about half a pound to one pound of loss per week without making you miserable or sacrificing muscle. For muscle gain, adding 200 to 300 calories above maintenance gives your body the extra energy it needs to build tissue without excessive fat gain. If your goal is simply to eat a balanced diet and maintain your current weight, use your TDEE as-is.
Step 3: Choose Your Macro Split
The Dietary Guidelines for Americans set broad ranges for each macronutrient: 45 to 65 percent of calories from carbohydrates, 20 to 35 percent from fat, and 10 to 35 percent from protein. Those ranges are wide on purpose. Where you land within them depends on your goals, your preferences, and how your body responds.
A common starting split that works for most people who exercise regularly is 40% carbs, 30% protein, and 30% fat. If you’re focused on building muscle, you might push protein higher (closer to 30 to 35%) and keep carbs high to fuel your training. If your priority is general health and you’re not doing intense exercise, something like 50% carbs, 25% protein, and 25% fat keeps things simple and stays well within the recommended ranges.
A Note on Protein
The minimum recommended intake for protein is 0.36 grams per pound of body weight per day. For a 150-pound person, that’s only about 54 grams. But that number is a floor to prevent deficiency, not a target for optimal health or fitness. Most active people do better with 0.7 to 1 gram per pound of body weight, especially if they’re strength training or trying to lose fat while preserving muscle.
Step 4: Convert Percentages to Grams
This is where the math comes together. Each macronutrient contains a set number of calories per gram: protein has 4 calories per gram, carbohydrates have 4 calories per gram, and fat has 9 calories per gram. You use these numbers to translate your percentage targets into actual grams of food.
Here’s the formula for each macro: multiply your total daily calories by the percentage you’ve assigned to that macro, then divide by the calories per gram.
Let’s walk through a full example. Say your adjusted calorie target is 2,000 calories per day and you’re using a 40/30/30 split (carbs/protein/fat):
- Carbs: 2,000 × 0.40 = 800 calories ÷ 4 = 200 grams per day
- Protein: 2,000 × 0.30 = 600 calories ÷ 4 = 150 grams per day
- Fat: 2,000 × 0.30 = 600 calories ÷ 9 = 67 grams per day
Those three numbers (200g carbs, 150g protein, 67g fat) are your daily macro targets. You can check your work by reversing the math: (200 × 4) + (150 × 4) + (67 × 9) = 800 + 600 + 603 = 2,003 calories. The slight rounding on fat grams is normal and perfectly fine.
How to Track Your Macros
Once you have your gram targets, the practical part is logging what you eat. Most people use a food tracking app where you scan barcodes or search for foods, and the app tallies your protein, carbs, and fat throughout the day. You can also use a food journal and look up nutrition info on labels or the USDA food database.
Precision matters less than consistency. You don’t need to hit your targets to the gram. Getting within 5 to 10 grams of each macro on most days is plenty accurate for meaningful results. Focus on protein first since it’s the macro most people undershoot, then fill in carbs and fat around it.
Weigh calorie-dense foods like nuts, oils, cheese, and grains with a kitchen scale when you’re starting out. These are the foods people most commonly misjudge by eyeballing portions, and small errors add up quickly when a tablespoon of oil contains 120 calories.
Don’t Forget About Fiber
Macros cover the big three, but fiber deserves a spot on your radar. Current dietary guidelines recommend 14 grams of fiber for every 1,000 calories you eat. On a 2,000-calorie diet, that’s 28 grams per day. Fiber doesn’t need its own calculation, but if most of your carb sources are refined (white bread, sugary snacks, white rice), you’ll likely fall short. Prioritizing whole grains, fruits, vegetables, and legumes for a chunk of your carb target handles this naturally.
When to Recalculate
Your macro targets aren’t permanent. Recalculate whenever your weight changes by more than 10 pounds, your activity level shifts significantly, or your goals change. If you’ve been losing weight and progress stalls for two to three weeks, your TDEE has likely dropped along with your body weight, and you’ll need to rerun the numbers at your current stats. The same process applies every time: new BMR, new TDEE, new macro split.

