Skip to content

Macro Calculator

Calculate your ideal macronutrient split with our free macro calculator. Get personalized protein, carbohydrate, and fat targets in grams and calories based on your TDEE, body weight, and fitness goals like fat loss, muscle gain, or maintenance.

Loading calculator

Preparing Macro Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the Macro Calculator

  1. 1. Enter your personal details - input your age, gender, height, weight, and activity level to calculate your Total Daily Energy Expenditure (TDEE).
  2. 2. Select your goal - choose maintenance, fat loss (moderate or aggressive deficit), or muscle gain to adjust your total calorie target.
  3. 3. Review your macro split - see your recommended daily intake of protein, carbohydrates, and fat in both grams and calories.
  4. 4. Understand the ratios - check the percentage breakdown to ensure your macro distribution aligns with your training style and dietary preferences.
  5. 5. Apply to meal planning - use the gram targets to build daily meal plans, aiming to hit each macro within 5-10 grams for best results.

Macro Calculator

Hitting your daily calorie target is the first step toward weight management, but the split between protein, carbohydrates, and fat determines whether you lose fat or muscle, how your energy holds up during training, and how satisfied you feel after meals. This calculator converts your Total Daily Energy Expenditure (TDEE) into specific gram targets for each macronutrient based on your body weight, activity level, and goal — fat loss, maintenance, or muscle gain. The output gives you a concrete daily plan, not a vague ratio.

How Macros Are Calculated

The calculator first determines your TDEE using the Mifflin-St Jeor equation (see the TDEE calculator for the full formula), then adjusts total calories for your goal. Macros are then set in this priority order:

  1. Protein — 4 calories per gram. Set at 0.7-1.0g per pound of body weight. Higher end (1.0g/lb) during a deficit to protect muscle; lower end (0.7g/lb) during maintenance or bulk.
  2. Fat — 9 calories per gram. Minimum 0.3g per pound of body weight (roughly 50g/day floor) to support hormone production and fat-soluble vitamin absorption.
  3. Carbohydrates — 4 calories per gram. Fills remaining calories after protein and fat are allocated. Carbs are the flexible macro and vary most between individuals.

The calorie adjustments by goal are: fat loss = TDEE minus 500 calories (targeting ~1 lb/week loss); maintenance = TDEE; muscle gain = TDEE plus 300-500 calories.

Worked Examples

Example 1 — Man cutting body fat. Jake is a 175-lb male with a TDEE of 2,600 calories. His fat loss target is 2,100 calories. Protein is set at 1.0g/lb = 175g (700 calories). Fat is set at 0.4g/lb = 70g (630 calories). Carbs fill the remaining 770 calories = 193g. His split works out to 33% protein, 37% carbs, 30% fat — a high-protein deficit that protects his muscle while creating a meaningful fat loss signal.

Example 2 — Woman maintaining weight with moderate activity. Leila is a 130-lb female with a TDEE of 1,950 calories. Protein is set at 0.75g/lb = 98g (392 calories). Fat is 0.35g/lb = 46g (414 calories). Carbs fill the remaining 1,144 calories = 286g. Her split is 20% protein, 59% carbs, 21% fat — appropriate for a moderately active woman not in a deficit, with plenty of carbs to fuel her workouts.

Example 3 — Man bulking for muscle gain. Carlos is a 165-lb male with a TDEE of 2,800 calories. His gain target is 3,100 calories. Protein stays at 0.8g/lb = 132g (528 cal). Fat is 0.4g/lb = 66g (594 cal). Carbs pick up the remaining 1,978 calories = 495g. His split is 17% protein, 64% carbs, 19% fat — carb-heavy to fuel high-volume training and support recovery.

Reference Table

GoalBody WeightCaloriesProteinCarbsFat
Fat Loss150 lb male1,750 cal150g (34%)156g (36%)54g (28%)
Fat Loss170 lb male2,000 cal170g (34%)175g (35%)69g (31%)
Fat Loss140 lb female1,400 cal140g (40%)105g (30%)47g (30%)
Maintenance130 lb female1,950 cal98g (20%)286g (59%)46g (21%)
Maintenance180 lb male2,600 cal144g (22%)325g (50%)87g (30%)
Maintenance155 lb female2,100 cal116g (22%)272g (52%)68g (29%)
Muscle Gain160 lb male2,900 cal128g (18%)415g (57%)72g (22%)
Muscle Gain180 lb male3,100 cal144g (19%)448g (58%)78g (23%)
Muscle Gain145 lb female2,300 cal116g (20%)321g (56%)64g (25%)
Endurance155 lb male3,200 cal124g (15%)540g (67%)62g (17%)

When to Use This Calculator

  • Starting a structured diet — translates your calorie target from the Calorie Calculator into daily gram targets you can actually track and build meals around
  • Switching from casual dieting to body recomposition — once you know your calories, macro splits determine whether you preserve muscle during a cut or accumulate fat during a bulk
  • Pre-contest or photo shoot prep — competitive athletes use precise macro targets to control body composition changes in the weeks before an event
  • Optimizing training performance — if you are hitting your calories but still feel sluggish in the gym, the macro split may be the issue; this calculator helps you identify the imbalance
  • Transitioning between diet phases — moving from a cut to maintenance or from maintenance to a bulk requires recalculating both calories and macro splits; use this calculator each time you change goals

Common Mistakes to Avoid

  1. Skimping on protein during a deficit. This is the most expensive mistake in body composition. Eating too little protein while cutting turns a fat loss phase into a fat-and-muscle loss phase. Research consistently shows 0.8-1.0g of protein per pound of body weight is the threshold to preserve lean mass during a calorie deficit. When in doubt, go higher on protein and lower on carbs rather than reducing protein.

  2. Letting fat drop too low. Fat provides 9 calories per gram, so it is tempting to cut it aggressively to save calories. But dropping below 0.3g per pound (or under 50g/day total) impairs testosterone production in men, disrupts menstrual function in women, and reduces absorption of vitamins A, D, E, and K. Keep fat at a minimum floor even during aggressive cuts.

  3. Ignoring fiber within your carb allocation. Not all carbs function the same way. Getting all your carbs from refined sources like white bread and sugary foods will leave you hungry and cause energy crashes. Aim for at least 25-35g of dietary fiber per day within your carb total, primarily from vegetables, legumes, and whole grains.

  4. Tracking macros without tracking for long enough. Two or three days of tracking tells you very little. You need at least 2-4 weeks of consistent data to see how your body responds to a given macro split. Changes in body weight, strength, and energy levels over that period tell you whether the numbers need adjusting.

Understanding Your Results

Your macro targets are shown in grams per day and as a percentage of total calories. The percentages are useful for comparison and sanity-checking — for fat loss, seeing protein at 30-40% of calories confirms you have set it high enough. But day-to-day, track in grams, not percentages, since the gram target stays fixed while the percentage shifts if your calorie intake varies.

Hitting your targets within 5-10 grams of each macro on most days is more than sufficient for results. Perfect tracking is not necessary — consistency over weeks matters far more than daily precision. If you miss your carb target by 20g on a rest day but nail your protein, that is fine.

Tips

  1. Hit your protein target first each day — it is the most important macro for body composition and the hardest to accidentally overconsume
  2. Spread protein across 3-5 meals with at least 25-40g per meal to maximize muscle protein synthesis throughout the day
  3. Time carbs around workouts — consuming 30-60g of carbs in the 1-2 hours before or after training improves performance and recovery
  4. Track using an app for at least 2-4 weeks to build an intuitive feel for portion sizes and macro composition of common foods
  5. Recalculate every 4-6 weeks or whenever your body weight changes by more than 10 lbs, since protein and fat targets are weight-based
  6. If you find the calculated carb amount too high or low for your preferences, swap calories between carbs and fat while keeping protein fixed

Frequently Asked Questions

What are the ideal macronutrient ratios for different goals?
There is no single ideal ratio -- it depends on your goal. For fat loss, a common split is 40% protein, 30% carbs, 30% fat, which prioritizes protein to preserve muscle during a calorie deficit. For muscle gain, try 30% protein, 45% carbs, 25% fat to fuel intense training. For maintenance, a balanced 30% protein, 40% carbs, 30% fat works well for most people. These are starting points -- individual response varies based on genetics, training style, and food preferences.
How much protein do I actually need per day?
Research consistently supports 0.7-1.0 grams of protein per pound of body weight for active individuals. A 170-pound person doing regular resistance training should aim for 120-170 grams per day. During a calorie deficit, protein needs increase to the higher end (1.0g/lb) to prevent muscle loss. Sedentary individuals can get by with 0.5-0.7g/lb. Protein provides 4 calories per gram, so 150g of protein equals 600 calories from your daily total. Spreading protein intake across 3-5 meals optimizes muscle protein synthesis.
Are carbs or fat more important to cut for weight loss?
Neither is inherently better to cut -- total calorie deficit determines weight loss, not whether you reduce carbs or fat. However, your choice affects energy levels and satiety. Reducing carbs (low-carb or keto) works well for sedentary people and can reduce appetite, but may impair high-intensity exercise performance. Reducing fat while keeping carbs moderate works better for athletes and active individuals who need glycogen for training. The key is maintaining adequate protein (0.7-1.0g/lb), minimum fat for hormonal health (0.3g/lb or at least 50g/day), and filling remaining calories with your preferred carb/fat balance.
How do I adjust macros for different fitness goals?
For fat loss, set protein high (1.0g/lb), fat moderate (0.3-0.4g/lb), and fill remaining calories with carbs -- this typically yields a 40/30/30 or 35/35/30 split. For muscle gain, increase carbs to fuel training (2-3g/lb) while keeping protein at 0.8-1.0g/lb and fat at 0.3-0.4g/lb -- roughly 30/45/25. For endurance athletes, carbs should be even higher (3-5g/lb) at the expense of fat. Recalculate every 4-6 weeks as your body composition and goals change.
What is flexible dieting (IIFYM) and does it work?
IIFYM (If It Fits Your Macros) is a flexible dieting approach where you can eat any food as long as you hit your daily protein, carb, and fat targets. Research shows it is equally effective as rigid meal plans for body composition changes, and many people find it more sustainable long-term because no foods are off-limits. The 80/20 guideline works well: get 80% of your calories from nutrient-dense whole foods and allow 20% flexibility. The caveat is that micronutrient quality still matters -- hitting macros from processed food alone will leave you deficient in vitamins, minerals, and fiber.

Explore More Health & Fitness Tools

Calculators