MacroLeaf AI MacroLeaf AI

Macro Calculator

Calculate your daily protein, carbohydrate, fat, and calorie needs based on your body, activity level, and goal.

Your details

Please enter an age between 10 and 100.
Please enter a valid height.
Please enter a valid weight.
🥗

Fill in your details and hit Calculate My Macros to see your results here.

⚠️ Based on your details, the calculated deficit would produce a very low calorie target, so we've capped the displayed target at 1,200 kcal/day. Individual calorie needs vary, and this calculator provides general estimates only — not medical advice. Please consult a healthcare professional before following a calorie target this low.
Estimated daily calorie and macro target
BMR
Maintenance
Target
30%
Protein (g)
40%
Carbs (g)
30%
Fat (g)

These estimates are based on the Mifflin-St Jeor equation and a general macro distribution. Individual nutrition needs can vary. This calculator is for general informational purposes and is not medical advice.

Track your calories and macros with MacroLeaf AI

A calculator gives you a number once — MacroLeaf AI helps you hit it every day. Log meals by AI photo scan, voice, barcode, or search, and get a personal AI Coach that adapts to your goal, all free with no ads.

Download on the App Store Coming soon on Google Play

How the macro calculator works

This calculator estimates your BMR (Mifflin-St Jeor equation), multiplies it by your activity level for maintenance calories (TDEE), then shifts that number ±500 kcal/day for your goal. The result is split into protein, carbs, and fat using a balanced 30/40/30 distribution — 4 kcal/g for protein and carbs, 9 kcal/g for fat.

Understanding your macros

Protein

Builds and repairs muscle, supports immunity and satiety. 4 kcal/g.

Carbohydrates

Your body's primary energy source, especially for the brain and intense exercise. 4 kcal/g.

Fat

Supports hormone production and nutrient absorption; the most calorie-dense macro. 9 kcal/g.

Macros for your goal

Weight loss

A moderate deficit with adequate protein helps preserve muscle while losing fat — no extreme split needed.

Maintain weight

The same balanced split at maintenance calories keeps energy steady for general health and activity.

Weight gain

A surplus with sufficient protein supports muscle growth alongside weight gain, not just fat.

Activity level & calorie needs

Activity level is multiplied directly against your BMR, so it's one of the biggest factors in your result — sedentary vs. extra active can differ by 700+ kcal/day for the same person. Be honest about your real activity level, not your goal level, for the most accurate estimate.

Macro calculator vs. calorie calculator

A calorie calculator tells you how much to eat in total; this macro calculator also tells you what that total should be made of — grams of protein, carbs, and fat.

Frequently asked questions

Macros (macronutrients) are the three nutrients that provide calories: protein, carbohydrates, and fat. Protein and carbs provide 4 calories per gram, while fat provides 9 calories per gram.

First estimate your daily calorie target using your BMR and activity level, adjusted for your goal. Then split that target across protein, carbs, and fat using a percentage split — this calculator uses a balanced 30% protein, 40% carbs, 30% fat split.

This calculator estimates protein at 30% of your daily calories, divided by 4 calories per gram. Many people aiming to preserve or build muscle benefit from higher protein intake — consider this a starting point rather than a strict ceiling.

There's no single best split — what matters most is a consistent calorie deficit. A balanced split like 30/40/30 (used here) works well for most people, since adequate protein helps preserve muscle while in a deficit.

Calories determine whether you lose, maintain, or gain weight; macros affect body composition, satiety, and performance within that target. Tracking both together — as MacroLeaf AI does — gives a fuller picture than either alone.

Yes — select "Gain Weight," which applies a moderate calorie surplus. The protein target from the balanced split is a reasonable starting point, though some people training intensively choose to eat somewhat more protein.

No — they're estimates based on population-average formulas and a general macro split. Use the result as an evidence-informed starting point, then adjust based on your own real-world progress.

Explore more free MacroLeaf tools

Calorie Calculator

Find your daily maintenance and target calories.

Try it →

Calorie Deficit Calculator

Plan a sustainable deficit for weight loss.

Coming Soon

BMI Calculator

Check your Body Mass Index in seconds.

Coming Soon

These estimates are based on the Mifflin-St Jeor equation and a general macro distribution. Individual nutrition needs can vary. This calculator is for general informational purposes and is not medical advice.