Macro Calculator

Calculate your daily macronutrient targets in grams. Get personalized protein, carbohydrate, and fat goals based on your body stats, activity level, and whether you want to lose fat, build muscle, or maintain your weight.

Share:
Your Details
28 years
1580
5ft 10in
Feet5
Inches10
170 lbs
80400

Daily Calories

2,708

TDEE: 2,708 cal

Protein

203g

30% of calories

Carbs

271g

40% of calories

Fat

90g

30% of calories

Macro Breakdown
Protein 30% Carbs 40% Fat 30%

What Are Macronutrients?

Macronutrients, commonly called macros, are the three main categories of nutrients that provide energy: protein, carbohydrates, and fat. Every food you eat contains some combination of these three macros, and each plays a distinct role in your body.

  • Protein supports muscle repair, immune function, and enzyme production. Each gram provides 4 calories
  • Carbohydrates are the body's primary fuel source, particularly for high-intensity activity. Each gram provides 4 calories
  • Fat supports hormone production, nutrient absorption, and provides sustained energy. Each gram provides 9 calories

Adjusting the ratio of these macros is a powerful way to support specific goals like fat loss, muscle gain, or athletic performance beyond simply managing total calories.

What This Calculator Does

This calculator first estimates your Total Daily Energy Expenditure (TDEE) using the Mifflin-St Jeor equation and your activity level. It then applies a goal-specific macro ratio to split your daily calories into protein, carbohydrates, and fat targets in grams.

Inputs Required

  • Sex, Age, Height, Weight: Used to calculate BMR and TDEE
  • Activity Level: Scales BMR to your actual daily energy use
  • Goal: Weight Loss, Maintenance, Muscle Gain, or Athletic Performance

Outputs Provided

  • Daily Calorie Target: Adjusted for your goal
  • Protein (grams): Daily target in grams and percentage of calories
  • Carbohydrates (grams): Daily target in grams and percentage of calories
  • Fat (grams): Daily target in grams and percentage of calories
  • Visual Macro Breakdown: Proportional bar showing the ratio

How the Calculation Works

Step 1: Calculate TDEE

BMR (male) = 10W + 6.25H - 5A + 5

TDEE = BMR x Activity Factor

Step 2: Adjust Calories for Goal

Weight Loss: TDEE - 500 cal

Maintenance: TDEE

Muscle Gain: TDEE + 300 cal

Athletic: TDEE + 200 cal

Step 3: Apply Macro Ratio

Protein grams = (Calories x Protein%) / 4

Fat grams = (Calories x Fat%) / 9

Carb grams = (Remaining calories) / 4

Macro Ratios Used by Goal

  • Weight Loss: 40% protein, 30% fat, 30% carbs (high protein preserves muscle during a deficit)
  • Maintenance: 30% protein, 30% fat, 40% carbs (balanced for general health)
  • Muscle Gain: 30% protein, 25% fat, 45% carbs (carb-rich to fuel training and recovery)
  • Athletic Performance: 35% protein, 25% fat, 40% carbs (supports frequent high-intensity training)

How to Use the Calculator

  1. Select your unit system, sex, and enter your age, height, and weight
  2. Choose the activity level that reflects your typical week
  3. Select your goal from the four presets
  4. View your daily calorie target, macro grams, and percentage breakdown
  5. Use the gram targets as daily nutrition goals when tracking your diet

Example Calculation

A 28-year-old male, 5 feet 10 inches, 170 lbs, moderately active, with a muscle gain goal:

  • TDEE: approximately 2,692 cal
  • Target calories: 2,692 + 300 = 2,992 cal
  • Protein (30%): 897 cal / 4 = 224 g
  • Fat (25%): 748 cal / 9 = 83 g
  • Carbs (45%): 1,346 cal / 4 = 337 g

Real World Scenarios

Cutting Phase for a Bodybuilder

A competitive bodybuilder preparing for a show uses the weight loss preset. The high protein ratio (40%) helps preserve muscle mass while eating in a calorie deficit. The gram targets make it easy to hit the right split while logging food in a tracking app.

Endurance Athlete Nutrition

A marathon runner uses the athletic performance preset, which emphasizes carbohydrates as the primary fuel for long-distance training. The high carb allocation supports glycogen replenishment between sessions.

General Fitness and Recomposition

Someone looking to slowly lose fat while gaining muscle at the same time uses the maintenance preset but focuses on hitting the protein target consistently. Adequate protein at maintenance calories supports body recomposition over several months.

Why This Calculation Matters

Many people track calories but neglect macros, which can lead to outcomes like muscle loss during a diet or sluggish performance during training. Hitting your protein target is especially important during a calorie deficit to ensure that weight loss comes primarily from fat rather than lean tissue.

Common Mistakes to Avoid

  • Obsessing over exact gram targets: Hitting within 5 to 10 grams of your target is close enough. Consistency over days and weeks matters more than daily precision
  • Cutting fat too low: Fat is essential for hormonal health. Dropping below 20% of calories from fat can impair testosterone and estrogen production
  • Ignoring fiber within carb targets: At least 25 to 35g of daily fiber should come from your carbohydrate allowance to support digestive health
  • Not adjusting as weight changes: Your calorie and macro targets change as your weight changes. Recalculate every 10 to 15 lbs to keep your plan accurate

Frequently Asked Questions

Embed This Calculator

Macro Calculator

Calculate
Reset