FreeFitnessCalculators
Medically ReviewedFormula Verified · Last Reviewed: November 2026

Macro Calculator

Calculate your daily calories and macronutrient split (protein, carbs, fat) based on evidence-based metabolic equations.

Metabolic Profile

Enter your details to calculate energy

ft
in
lb

Awaiting Profile

Enter your anthropometrics and fitness goal to generate your personalized daily macronutrient split.

Macro Calculator – Find Your Ideal Daily Protein, Carbs & Fat Targets

The Macro Calculator helps you calculate your personalized daily macronutrient targets — including protein, carbohydrates, fat, and total calorie needs. By establishing a solid estimated baseline, you can finally eliminate the guesswork and tailor your nutrition specifically to lose fat, build muscle, or maintain your weight.

Quick answer: Your macros are your daily calories split three ways: protein and carbohydrate at 4 kcal per gram, fat at 9. This calculator estimates your calorie target from your basal metabolic rate, activity level and weight goal, then divides it by your chosen split — the default balanced plan is 25% protein, 45% carbohydrate and 30% fat.

Updated November 2026 · Formulas verified against the published equations (see “The Math Behind the Formulas” below).

Mifflin-St Jeor Algorithm
Goal-Adjusted Splits
IIFYM Compatible

How to Use the Macro Calculator

You don't need a degree in nutrition to dial in your diet. Follow these simple steps to generate a customized macro profile:

  1. Input Physical Metrics: Choose your measurement system (US or Metric), then enter your precise age, gender, height, and weight. These numbers are crucial for calculating your Basal Metabolic Rate (BMR).
  2. Define Activity Level: Be brutally honest here. Select an activity multiplier ranging from Sedentary (desk job, no exercise) to Very Active. Overestimating your activity is the number one reason people fail to lose weight.
  3. Select Your Goal: Are you cutting (fat loss), bulking (muscle gain), or maintaining? The calculator will automatically apply the appropriate caloric deficit or surplus.
  4. Analyze the Results: Hit calculate to reveal your BMR, TDEE (Total Daily Energy Expenditure), and your exact daily breakdown of Protein, Carbohydrates, and Fats in both grams and percentages.

What Are Macros?

"Macros" is simply shorthand for macronutrients. Macronutrients are the three primary categories of nutrients that provide your body with energy (measured in calories) and the essential building blocks needed for human survival and physical performance.

While counting calories dictates whether you lose or gain weight, counting macros dictates your body composition (the ratio of muscle to fat). If you lose 10 pounds by eating only candy in a calorie deficit, you are likely to lose a significant amount of muscle mass along with fat. If you lose 10 pounds by hitting your protein macros while in a deficit, you are more likely to retain muscle and lose mostly body fat.

The Three Pillars of Nutrition

Every single calorie you consume comes from one of these three macronutrients (or alcohol). Understanding their biological roles is the key to mastering your diet.

Protein (4 kcal/g)

The master builder. Protein provides the amino acids required to repair torn muscle fibers, synthesize enzymes, and build hair and nails. It is also highly satiating, keeping you full.

Best Sources: Chicken, beef, tofu, whey, eggs.

Carbohydrates (4 kcal/g)

The primary fuel source. Carbs are broken down into glucose, fueling your brain and filling the glycogen stores in your muscles for high-intensity training and explosive power.

Best Sources: Rice, oats, potatoes, fruit, bread.

Dietary Fat (9 kcal/g)

The hormone regulator. Fat is incredibly dense in calories but absolutely essential for hormone production (like testosterone), joint health, and the absorption of vitamins A, D, E, and K.

Best Sources: Olive oil, avocado, nuts, salmon.

The Math Behind the Formulas

To calculate your macros, our system must first calculate your caloric needs. We utilize three distinct, scientifically validated algorithms to estimate your BMR:

Mifflin-St Jeor (Default)Introduced in 1990, this is widely considered the gold standard for modern, developed populations. It is highly accurate at estimating BMR without requiring a body fat percentage input.
Revised Harris-BenedictOriginally created in 1919 and revised in 1984, this formula is historically significant. However, it tends to slightly overestimate calorie needs in overweight individuals compared to modern formulas.
Katch-McArdleThis is the most precise formula available, but it requires you to know your exact body fat percentage. It calculates BMR based on Lean Body Mass (LBM) rather than total scale weight.

Once BMR is calculated, we multiply it by your chosen Activity Level factor to find your Total Daily Energy Expenditure (TDEE). We then apply a caloric deficit (e.g., -500 kcal) for weight loss, or a surplus (e.g., +500 kcal) for muscle gain, and finally split those resulting calories into the macros you see on screen.

The splits and goal adjustments the tool actually uses

Your target calories are TDEE plus your goal adjustment: 0 for maintenance, −250, −500 or −1,000 kcal/day for mild, standard or extreme weight loss (0.5, 1 or 2 lb per week), and +250, +500 or +1,000 kcal/day for weight gain — with a floor of 800 kcal/day. The default balanced preset then splits those calories into 25% protein, 30% fat and 45% carbohydrate. The other presets are low-fat (25% protein, 20% fat, 55% carbohydrate), low-carb (30% protein, 35% fat, 35% carbohydrate) and high-protein (35% protein, 25% fat, 40% carbohydrate). Grams come from the Atwater factors: protein and carbohydrate at 4 kcal/g, fat at 9 kcal/g.

Worked example: a 52-year-old woman, moderately active

Take a woman, age 52, 72 kg, 164 cm, moderately active (factor 1.55), maintaining weight. BMR (Mifflin-St Jeor) = 10 × 72 + 6.25 × 164 − 5 × 52 − 161 = 1,324 kcal/day; TDEE = 1,324 × 1.55 = 2,052 kcal/day, and maintenance means a target of 2,052 kcal/day. On the balanced preset: protein = 25% × 2,052 ÷ 4 = 128 g; fat = 30% × 2,052 ÷ 9 = 68 g; carbohydrate = 45% × 2,052 ÷ 4 = 231 g. On the standard weight-loss goal (−500 kcal/day, target 1,552) the same split gives 97 g protein, 52 g fat and 175 g carbohydrate. Check each macro on its own with the Protein Calculator, Carbohydrate Calculator and Fat Intake Calculator.

Recommended Macro Ratios for Your Goals

There is no "magic" ratio that works for everyone. The best macro split is the one that fuels your workouts, makes you feel energetic, and allows you to adhere to your calorie goals long-term.

The Calculator's Presets
BalancedGreat for general health, maintenance, and mild body recomposition.
45% Carbs | 25% Protein | 30% Fat
Low-FatHigher carbs, lower fat — suits high-volume training days.
55% Carbs | 25% Protein | 20% Fat
Low-CarbHelps control blood sugar spikes and shed water weight quickly.
35% Carbs | 30% Protein | 35% Fat
High-ProteinMore protein for muscle building and staying full.
40% Carbs | 35% Protein | 25% Fat

What is Flexible Dieting (IIFYM)?

IIFYM stands for "If It Fits Your Macros." It is a dietary philosophy that gained massive popularity in the fitness industry because it abolishes the concept of "good" foods and "bad" foods.

The core premise of IIFYM is that body composition changes are entirely dictated by macronutrient math. Therefore, if you have 50 grams of carbohydrates and 10 grams of fat left in your daily budget, you could theoretically eat a donut instead of a bowl of oats and almonds, and your weight loss progress would not stall.

The Caveat: While IIFYM is mathematically true for weight management, you cannot ignore micronutrients. Donuts do not contain the vitamins, minerals, and fiber that oats do. The healthiest approach to IIFYM is the "80/20 Rule": get 80% of your macros from nutrient-dense, whole foods, and use the remaining 20% to enjoy the treats you love guilt-free.

Assumptions & limitations

Method: Mifflin-St Jeor BMR (or Harris-Benedict / Katch-McArdle) × activity factor = TDEE, goal-adjusted (−250/−500/−1,000 or +250/+500/+1,000 kcal, 800 kcal floor), split by preset percentages (balanced 25% protein / 45% carb / 30% fat) via Atwater factors

  • BMR comes from population equations (Mifflin-St Jeor by default), which estimate resting burn for healthy adults and lose accuracy at extremes of body composition.
  • TDEE depends on a self-chosen activity multiplier, and overestimating activity inflates every macro target.
  • Protein is set as a percentage of calories, not by body weight, so the presets do not match individual protein needs.
  • Grams use the Atwater values (4/4/9 kcal/g), which treat all carbohydrate alike and ignore differences in fibre content and digestibility.

Frequently Asked Questions

How do I calculate my daily macros?

Macros are calculated by first determining your Total Daily Energy Expenditure (TDEE). Once your total daily calorie goal is set, you distribute those calories among protein (4 calories per gram), carbohydrates (4 calories per gram), and fats (9 calories per gram) using targeted percentages.

Should I count macros or calories for weight loss?

While counting calories dictates overall weight loss, counting macros dictates your body composition. Tracking macros ensures you preserve lean muscle mass (by eating enough protein) and maintain hormone function (by eating enough fat) while losing weight.

What is a good macronutrient ratio for weight loss?

A highly effective and sustainable starting ratio for weight loss is 40% carbohydrates, 30% protein, and 30% fat. However, finding a balance that allows you to adhere to a calorie deficit without feeling starved is the most important factor.

How much protein do I need to build muscle?

To maximize muscle protein synthesis, research indicates you should consume between 0.7 to 1.0 grams of protein per pound of body weight (1.6 to 2.2 grams per kilogram) per day, distributed evenly across your meals.

Can I customize my macro targets for a Keto diet?

Yes. For a standard Ketogenic diet, you should manually adjust your macro targets to approximately 70-80% fat, 15-20% protein, and strictly 5% carbohydrates (usually keeping net carbs below 20-30 grams per day).

Do I need to track vegetables when counting macros?

Yes, you should track vegetables, as they contain carbohydrates. However, fibrous, non-starchy vegetables like spinach and broccoli contain very few net calories. Many advanced trackers only count 'net carbs' (total carbs minus fiber).

What is IIFYM (If It Fits Your Macros)?

IIFYM is a flexible dieting philosophy suggesting that body composition changes are dictated solely by macronutrient intake, regardless of the food source. While true for weight changes, prioritizing micronutrient-dense whole foods is still vital for overall health.

Does muscle mass affect my macros?

Yes. Muscle tissue is highly metabolically active. Having a higher muscle mass increases your Basal Metabolic Rate (BMR), meaning you burn more calories at rest, which consequently increases your total daily macro requirements.

What happens if I eat too much fat but stay under my calories?

If you remain in a calorie deficit, you will still lose weight regardless of eating excess fat. However, overeating fat at the expense of protein may result in muscle loss, and at the expense of carbs may result in severe training fatigue.

Should I change my macros on rest days?

Many athletes use 'carb cycling', where they eat higher carbohydrates on heavy training days and higher fats on rest days. However, for most individuals, keeping macros consistent every day improves adherence and yields excellent results.

Clinical References & Database Sources

This Macro calculator estimates calorie needs with validated resting-energy equations and splits them using the standard Atwater energy values. Its formulas and food-energy data align with the sources below:

The Mifflin-St Jeor Equation The 1990 study behind the Mifflin-St Jeor equation, the default resting-energy formula used here.
The Harris-Benedict Equation, Re-evaluated The 1984 re-evaluation of the Harris-Benedict equation against measured resting energy requirements.
USDA FoodData Central The USDA's food-composition database, built on the Atwater energy values (4/4/9 kcal per gram) this calculator uses to convert calories to grams.

Educational Disclaimer: The nutritional targets provided by the Macro Calculator are mathematical estimates based on generalized population formulas (such as Mifflin-St Jeor). This tool is designed strictly for educational purposes, and should NOT be interpreted as medical advice. If you suffer from metabolic disorders, diabetes, kidney disease, or eating disorders, you must consult with a licensed physician or registered dietitian before making significant changes to your macronutrient intake or entering a caloric deficit. Always consult a registered dietitian for personal advice.

How this calculator was checked: Built from Mifflin-St Jeor BMR × activity factor, goal-adjusted and split by preset percentages via the Atwater factors. Checked against the worked example on this page: a 52-year-old woman, 72 kg, 164 cm, moderately active gives 128 g protein, 231 g carbohydrate and 68 g fat on the balanced preset. See our methodology