Free Macro Calculator
Calculate your personalized protein, carbs, and fat targets for weight loss, muscle gain, or maintenance.
Enter Your Details
What Are Macros and Why Track Them?
Macros (macronutrients) are protein, carbohydrates, and fat—the three nutrients that provide energy. Tracking macros is more precise than calorie counting alone because it ensures you're eating the right balance of nutrients for your specific goal (fat loss, muscle gain, or maintenance). This macro calculator uses the Mifflin-St Jeor equation to calculate your BMR and TDEE, then provides personalized protein, carb, and fat targets based on your activity level and fitness goals.
Why Macros Matter More Than Calories Alone
🍖 Protein: Muscle Building & Satiety
Protein (4 cal/g) builds and repairs muscle, keeps you full longer, and has the highest thermic effect (30% of calories burned during digestion). Essential for weight loss and muscle gain.
🍞 Carbs: Energy & Performance
Carbohydrates (4 cal/g) are your body's preferred energy source. Essential for workouts, brain function, and athletic performance. Choose complex carbs (oats, rice, sweet potatoes) over simple sugars.
🥑 Fat: Hormones & Absorption
Dietary fat (9 cal/g) supports hormone production, vitamin absorption (A, D, E, K), and brain health. Focus on healthy fats (avocado, nuts, olive oil, fatty fish).
Frequently Asked Questions
What's the best macro ratio for weight loss?
A high-protein ratio (40% protein, 30% carbs, 30% fat) is optimal for fat loss. Protein preserves muscle and keeps you full. Moderate carbs provide energy. Healthy fats support hormones.
Should I eat the same macros every day?
For simplicity, yes. Advanced strategies include carb cycling (higher carbs on workout days, lower on rest days) but consistent macros work great for most people.
Do I need to hit my macros exactly?
Aim within 5-10g of your targets. Protein is most important to hit daily. Carbs and fats can fluctuate slightly without impacting results.
Can I build muscle and lose fat at the same time?
Yes (body recomposition) if you're new to training or have higher body fat. Eat at maintenance calories with high protein (1.6-2.2g per kg bodyweight) and strength train consistently.
How much protein do I really need?
For muscle building: 1.6-2.2g per kg bodyweight. For fat loss: 2.0-2.4g per kg. For maintenance: 1.2-1.6g per kg. More isn't necessarily better.
What if I'm not losing weight on these macros?
Track accurately for 2 weeks. If no weight loss, reduce calories by 200-300 (primarily from carbs/fats, not protein). Reassess every 2 weeks.
What Are Macros? Protein, Carbs, and Fat Explained
Macronutrients are the three nutrients your body needs in large amounts for energy and function. Each provides calories at a different rate:
Protein — 4 calories per gram
Builds and repairs muscle, supports immune function, and is the most satiating macro. Has the highest thermic effect, meaning your body burns more calories digesting it.
Carbohydrates — 4 calories per gram
Your body's preferred energy source, especially for workouts and brain function. Complex carbs (oats, rice, potatoes) provide sustained energy.
Fat — 9 calories per gram
Supports hormone production, vitamin absorption (A, D, E, K), and brain health. More than double the calories per gram of protein or carbs.
How Macros Are Calculated: The Full Chain
The calculator follows four steps, each building on the last:
Step 1 — BMR: Mifflin-St Jeor equation from weight, height, age, sex
Step 2 — TDEE: BMR × activity multiplier (1.2–1.9)
Step 3 — Goal calories: TDEE ± deficit/surplus (e.g. −500 for fat loss)
Step 4 — Macro grams: calories × ratio ÷ kcal per gram
The conversion factors are fixed by physiology: protein and carbohydrates each provide 4 calories per gram, while fat provides 9 calories per gram. So for a 2000 kcal diet at 30% protein: 2000 × 0.30 = 600 kcal from protein, and 600 ÷ 4 = 150 g of protein.
Common Macro Splits
No single split is best for everyone. Choose based on your goal, training style, and what you can stick to consistently.
| Split | Protein | Carbs | Fat | Best For |
|---|---|---|---|---|
| Balanced (40/30/30) | 30% | 40% | 30% | General health, maintenance |
| High-protein | 40% | 30% | 30% | Fat loss, muscle retention |
| Low-carb | 40% | 25% | 35% | Fat loss, blood sugar control |
| Keto | 25% | 5–10% | 70–75% | Ketosis, very low carb |
Worked Example: 30-Year-Old Male, 80 kg, 178 cm, Moderately Active, Fat Loss
Here is the full math from body stats to macro grams.
Step 1 — BMR (Mifflin-St Jeor):
BMR = 10 × 80 + 6.25 × 178 − 5 × 30 + 5 = 1768 kcal
Step 2 — TDEE (moderately active × 1.55):
TDEE = 1768 × 1.55 = 2740 kcal
Step 3 — Goal calories (fat loss −500):
Target = 2740 − 500 = 2240 kcal
Step 4 — Macro grams (40/30/30 split):
Protein = 2240 × 0.40 ÷ 4 = 224 g
Carbs = 2240 × 0.30 ÷ 4 = 168 g
Fat = 2240 × 0.30 ÷ 9 = 75 g
Source: Mifflin-St Jeor (1990); kcal/g from USDA FoodData Central.
Macros by Goal: Fat Loss, Muscle Gain, and Maintenance
Your goal determines both the calorie adjustment and the macro split. Most people overestimate their activity level, so be honest when selecting yours.
| Goal | Calorie Adjustment | Typical Split | Notes |
|---|---|---|---|
| Fat loss | −500 kcal from TDEE | 40/30/30 (P/C/F) | Higher protein preserves muscle |
| Maintenance | 0 kcal (eat TDEE) | 30/40/30 (P/C/F) | Balanced energy and recovery |
| Muscle gain | +300–500 kcal above TDEE | 30/45/25 (P/C/F) | Extra carbs fuel training |
How to Track Macros: A Practical Guide
Knowing your macros is only useful if you can actually hit them. Here is how to make tracking sustainable:
- Calculate your targets using the tool above.
- Plan 3 to 4 anchor meals you eat regularly and pre-calculate their macros.
- Use a food scale for the first two weeks to learn what a real portion looks like.
- Photograph meals with FoodIdentifier's scanner to estimate protein, carbs, and fat without manual logging.
- Check your running total at dinner and adjust the last meal to close any gap.
- Review weekly. If weight is not trending as expected, adjust calories by 200 to 300 and recalculate.
The photo-logging approach removes the biggest barrier: the friction of weighing and typing every food. Scan your plate, see the macros, and let the daily total build itself.
Do You Need to Hit Macros Exactly?
No. Aiming within 5 to 10 grams of each target is more than sufficient for consistent results. Here is what matters most:
- Protein is the priority. Hit your protein target daily for muscle retention and satiety.
- Calories drive weight change. If total calories are on target, small macro swings will not derail progress.
- Carbs and fat are flexible. You can trade between them based on training day versus rest day.
- Consistency beats perfection. Hitting 90 percent of your targets most days beats perfect adherence for three days then quitting.
Obsessive tracking leads to burnout. Sustainable tracking means checking in, not checking every gram.
Macro Calculator FAQs
Disclaimer: This macro calculator provides estimates for educational purposes only and is not medical advice. Individual needs vary based on health status, activity, and goals. Consult a registered dietitian or physician before starting any significant dietary change.