Macro Calculator
Calculate your daily protein, carbohydrate, and fat needs based on your goals — whether you want to lose weight, maintain, or build muscle. Uses the Mifflin-St Jeor equation for accurate TDEE calculation.
Macro Calculator
How to Use This Tool
Enter your age, gender, height, and weight.
Enter your age, gender, height, and weight.
Select your activity level (sedentary to very active).
Select your activity level (sedentary to very active).
Pro Tip
Recalculate your macros every 4–6 weeks as your weight shifts — a stale TDEE from three months ago no longer reflects your current metabolism, especially after meaningful weight loss or muscle gain. When cutting, prioritize hitting the protein target above all else, since it's the most satiating macro gram-for-gram and the one most responsible for preserving lean muscle during a calorie deficit; carbs and fat can flex around it depending on training day and personal preference. On heavy training days, shifting a modest amount of fat calories toward carbs can also improve workout performance and recovery without changing your total daily calorie target at all.
About This Tool
When to Use
- Someone starting a cutting phase who needs specific protein, carb, and fat gram targets, not just a single calorie number.
- A lifter beginning a muscle-building program and wanting to hit the 1.6–2.2g of protein per kg of bodyweight research supports.
- A vegetarian or vegan athlete adjusting default macro splits to fit plant-based protein sources like tofu, lentils, and seitan.
Key Details
A macro calculator gives you exact daily gram targets for protein, carbs, and fat instead of a vague "eat healthy" recommendation that leaves you guessing at the grocery store. Built on the Mifflin-St...
Worked example
A 30-year-old male, 180 cm, 80 kg, moderately active, with a muscle-gain goal gets a TDEE of 2,759 calories (BMR 1,780 × 1.55 activity multiplier), and a gain-goal target of 3,059 calories (TDEE + 300) — reproduced exactly by running these inputs through the tool's own formula. The macro split comes out to 160g protein (640 cal, at the tool's fixed 2.0g/kg), 72g fat (648 cal, at 0.9g/kg), and 443g carbs (1,771 cal, filling the remaining target calories) — numbers precise enough to plug straight into a tracking app for his very next meal, rather than a general calorie ceiling he has to guess how to fill. If he later switches to a fat-loss goal at the same activity level, the target drops to TDEE − 500 (2,259 calories) while protein and fat stay fixed at the same per-kilogram amounts, so only the carb figure absorbs the change.
Macro Calculator FAQ
What are macros?
Macronutrients (macros) are the three main nutrients your body needs in large amounts: protein (4 calories per gram), carbohydrates (4 calories per gram), and fat (9 calories per gram). Each plays a distinct role in energy, muscle repair, and overall health.
How does the Mifflin-St Jeor equation work?
The Mifflin-St Jeor equation estimates your Basal Metabolic Rate (BMR) — the calories your body burns at rest. For men: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5. For women: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161. It's widely considered the most accurate BMR formula.
How much protein do I need to build muscle?
For muscle building, 1.6-2.2 grams of protein per kilogram of body weight per day is recommended based on research. This calculator uses a fixed 2.0 g/kg for every goal (lose, maintain, or gain) — confirmed via direct code review it does not vary by activity level or goal, sitting comfortably within the research-supported range for all three.
Should I do a high-carb or low-carb diet?
It depends on your activity level and goals in general, but note that this specific calculator doesn't set a different target carb percentage for different goals — protein and fat are both fixed per-kilogram amounts regardless of your goal, and carbs simply fill whatever calories remain after your goal-adjusted target calories (TDEE, or TDEE ± 500/300) are set. So the carb figure does shift with your goal, but only as a byproduct of the calorie-target change, not because the tool applies an endurance-athlete or fat-loss-specific carb ratio.
Can I lose weight without counting calories?
Tracking macros is often more effective than just counting calories because it ensures you're getting adequate protein (which preserves muscle during weight loss) and enough fat (for hormone production). The macro calculator gives you specific gram targets to follow.
What is IIFYM and how does it relate to macros?
IIFYM stands for 'If It Fits Your Macros' — a flexible dieting approach where you eat any foods as long as you hit your daily macro targets. Unlike rigid meal plans, IIFYM counts protein, carbs, and fat from any source. Research shows it produces similar fat loss results to traditional dieting with better long-term adherence because it doesn't restrict specific foods. Use this calculator to get your macro targets, then track using apps like MyFitnessPal or Cronometer.
Master Your Entire Toolkit
Access 500+ specialized calculators and tools designed for precision. No sign-up required, 100% free.
Built and reviewed by the Toolzip Team · Based on NIH — Dietary Reference Intakes for Energy and Academy of Nutrition and Dietetics — Macronutrient Guidelines