Macro Calculator
Calculate your daily macronutrient targets based on TDEE, fitness goal, and diet preference. Free online calculator with formula guide and step-by-step results.
See it worked out
Example — Age 30 years, Weight 170, Height — Feet 5 ft, Height — Inches 10 in:
Daily Calories
2,043 kcal/day
Protein (20% of calories)
102 g · 408 kcal
Carbs (50% of calories)
255 g · 1020 kcal
Fat (30% of calories)
68 g · 612 kcal
Recommended Protein Range (1.6–2.2 g/kg)
123–170 g
Recommended Fat Range (20–35% of calories)
45–79 g · 405–711 kcal
Diet Pattern
Standard (Balanced)
Base TDEE (before goal adjustment)
2,043 kcal
BMR Formula Used
Katch-McArdle: 1,702 kcal
Recommended Carbohydrate Range (45-65% of calories)
230-332 g
Calorie Adjustment for Goal
+0 kcal
The formula
Macro grams = (Daily Calories × Macro %) ÷ Calories per gram (P:4, C:4, F:9)
- Protein
- Protein (4 kcal/g)
- Carbs
- Carbohydrates (4 kcal/g)
- Fat
- Dietary Fat (9 kcal/g)
- TDEE
- Total Daily Energy Expenditure
Worked example — Age 30 years, Weight 170, Height — Feet 5 ft, Height — Inches 10 in
Daily Calories = 2,043 kcal/day
How Macro Calculator Works
Macro grams = (Daily Calories × Macro %) ÷ Calories per gram (P:4, C:4, F:9)
Macronutrients are calculated based on your total daily calorie target (derived from TDEE plus goal adjustment) and the selected diet split. Protein and carbs provide 4 kcal/g; fat provides 9 kcal/g.
- Protein
- Protein (4 kcal/g) — Essential for muscle repair, enzymatic function, and satiety. Higher intake supports muscle gain and fat loss.
- Carbs
- Carbohydrates (4 kcal/g) — Primary fuel source for the brain and high-intensity exercise. Modulated based on diet preference.
- Fat
- Dietary Fat (9 kcal/g) — Essential for hormone production, nutrient absorption, and cell membrane integrity. Calorie-dense, so small portions add up.
- TDEE
- Total Daily Energy Expenditure — Your total daily calorie burn used as the starting point before goal adjustment.
How to Use
- Enter your stats and activity level (same as TDEE calculator).
- Select your goal — maintain, lose, or gain weight.
- Select a diet preference that matches your lifestyle.
- Review your personalized macros in both grams and calories.
- Use the protein range guide to ensure adequate intake for your weight.
Quick Reference
| Protein | 4 kcal per gram — muscle repair, enzymes, satiety |
| Carbohydrates | 4 kcal per gram — primary fuel for brain and exercise |
| Fat | 9 kcal per gram — hormones, absorption, energy storage |
| Standard Split | 50% Carbs, 20% Protein, 30% Fat |
| High-Protein Split | 35% Carbs, 35% Protein, 30% Fat |
| Keto Split | 5% Carbs, 25% Protein, 70% Fat |
| Protein Recommendation | 1.6–2.2 g per kg of body weight |
| Fat Minimum | 20% of total calories for hormone health |
Common Uses
- •Meal planning — design daily eating plans that hit precise gram targets for protein, carbs, and fat based on your body and goals
- •Body recomposition — adjust macros to lose fat while preserving or building muscle by setting a calorie deficit with high protein
- •Athletic performance — optimize carb intake around training sessions for energy and protein timing for recovery
- •Medical nutrition — manage conditions like diabetes (low-carb), kidney disease (protein restriction), or metabolic syndrome with targeted macro splits
- •Flexible dieting ("If It Fits Your Macros") — track daily intake against targets without eliminating any food groups, improving long-term diet adherence
Understanding the Result
Macronutrient ratios are personal — there is no single "best" macro split. The Standard split (50/20/30) works well for most active people. Low-carb diets are effective for blood sugar management and initial fat loss. Keto is medically restrictive and should generally be pursued with professional guidance. High-protein splits are excellent for body recomposition (losing fat while gaining muscle). The Mediterranean split emphasizes healthy fats and is well-supported by longevity research.
Regardless of the split, hitting your total calorie target matters most for weight change — macros primarily affect body composition and how you feel. The protein range of 1.6–2.2 g per kg of body weight is evidence-based for most goals. A practical example: a 180 lb (82 kg) person on a 2,200-calorie weight loss plan with a high-protein split (35% protein, 35% carbs, 30% fat) would get 193g protein, 193g carbs, and 73g fat.
The same person on a standard split (20% protein, 50% carbs, 30% fat) at the same calories would get only 110g protein but 275g carbs. Both plans would produce similar weight loss at the same calorie deficit, but the high-protein version better preserves muscle mass and may produce greater satiety, making adherence easier for many people. The best macro split is ultimately the one you can sustain consistently over time.
Worked Examples
David is 28 years old, male, 5'10" tall, weighs 180 lbs, and exercises moderately (3–5 days/week). He wants to lose weight at a mild pace while eating a high-protein diet to preserve muscle mass during his cut.
Unit System = Imperial · Biological Sex = Male · Age = 28 · Weight = 180 lbs · Height = 5'10" · Activity Level = Moderate (3–5 days/week) · Goal = Mild Weight Loss · Diet Preference = High-Protein
Daily Calories: 2,529 kcal. Protein: 221 g (884 kcal). Carbs: 221 g (884 kcal). Fat: 84 g (756 kcal). BMR: 1,793 kcal (Mifflin-St Jeor). TDEE: 2,779 kcal. Calorie Adjustment: -250 kcal.
David's body burns about 2,779 calories per day at his current activity level (BMR × 1.55). His mild weight loss goal subtracts 250 calories, targeting 2,529 kcal/day — a deficit that should produce roughly 0.5 lb of fat loss per week. The high-protein split at 35% protein delivers 221 g of protein, which at 2.7 g/kg (180 lbs = 81.6 kg) exceeds the recommended 1.6–2.2 g/kg range. David might find this level of protein challenging to eat daily and could consider dropping to the standard split for more carbs (which reduce to ~316 g) while still getting ~126 g of protein (1.5 g/kg — adequate but less optimal for muscle preservation). The best split is the one David can sustain — if the high-protein plan feels restrictive, the standard or Mediterranean split with the same 2,529 calorie target will produce identical weight loss.
Lina is 35, female, 165 cm tall, weighs 70 kg, and has a desk job (sedentary). She wants to maintain her weight and follows a Mediterranean-style eating pattern. She does not know her body fat percentage.
Unit System = Metric · Biological Sex = Female · Age = 35 · Weight = 70 kg · Height = 165 cm · Activity Level = Sedentary (desk job) · Goal = Maintain Weight · Diet Preference = Mediterranean
Daily Calories: 1,674 kcal. Protein: 84 g (336 kcal). Carbs: 188 g (752 kcal). Fat: 65 g (585 kcal). BMR: 1,395 kcal (Mifflin-St Jeor). TDEE: 1,674 kcal. Calorie Adjustment: 0 kcal.
At 70 kg with a sedentary lifestyle, Lina's daily energy expenditure is 1,674 calories. The Mediterranean split allocates 20% protein (84 g, or 1.2 g/kg), 45% carbs (188 g), and 35% fat (65 g). Her protein intake at 1.2 g/kg is below the 1.6 g/kg evidence-based optimum for muscle preservation, but adequate for a sedentary maintenance goal. The higher fat allocation (35%) from the Mediterranean pattern supports hormone health and fat-soluble vitamin absorption. If Lina begins exercising, she should recalculate with a higher activity level — even switching to "Light Exercise" would raise her TDEE to ~1,918 kcal and push her protein to ~96 g at 1.4 g/kg. Lina could also enter her body fat percentage if known — this would switch the BMR formula from Mifflin-St Jeor to Katch-McArdle (BMR = 370 + 21.6 × lean mass in kg), which can be more accurate for individuals at the extremes of body composition.
Frequently Asked Questions
- Are all calories the same?
- For weight change (loss or gain), total calories matter most. For body composition, satiety, and health, macro distribution matters. A 2000-calorie keto diet and a 2000-calorie balanced diet will produce different hormonal responses, satiety levels, and body composition outcomes.
- Which macro split is best for fat loss?
- The best split is the one you can stick to. High-protein (30-35%) is strongly supported by evidence for preserving muscle during a calorie deficit. Low-carb can accelerate initial water weight loss. The key is maintaining a calorie deficit regardless of split.
- Is keto safe for weight loss?
- Keto can be effective for short-term weight loss but is restrictive and may be difficult to maintain long-term. The long-term health effects of very low carbohydrate intake are still being studied. Consult a healthcare provider before starting keto, especially if you have metabolic or cardiovascular conditions.
- How much protein do I actually need?
- The general recommendation: 1.6–2.2 g per kg of body weight (0.73–1.0 g per lb). For muscle gain, aim for the higher end. For maintenance, the lower end. Even 2.2+ g/kg is safe for healthy individuals but provides diminishing returns. Spread protein across 3–4 meals for optimal muscle protein synthesis.
- What happens if I don't hit my macro targets exactly?
- Consistency over weeks matters more than daily precision. Being within ±10 g of your protein and ±20 g of carbs/fat on any given day is effectively on-target. The stress of perfect tracking can be counterproductive — aim for the weekly average to match your targets rather than stressing over individual days.
Pro Tips
- →Hitting your calorie target matters far more for weight change than hitting exact macro ratios. If you go over on fat but stay under on calories, you will still lose weight. The macros primarily affect body composition quality and satiety, not the calorie math.
- →Protein timing matters almost as much as total intake. Spread your protein across 3–4 meals (30–40 g each) rather than one large portion, to maximize muscle protein synthesis throughout the day. A pre-sleep casein-rich snack (~30 g) can improve overnight recovery.
- →If you log your body fat percentage, the calculator switches to the Katch-McArdle BMR formula which is more accurate for lean or muscular individuals. Mifflin-St Jeor (used without BF%) assumes average body composition and can underestimate BMR by 5–10% in muscular people.
- →The "Mild Weight Loss" goal at -250 kcal creates roughly a 0.5 lb/week deficit. This is more sustainable long-term than the -500 kcal "Weight Loss" option, which can trigger hunger-related non-compliance. Choose mild for cuts longer than 8 weeks; aggressive only for short-term goals.
Limitations to Know
- •BMR formulas (Mifflin-St Jeor and Katch-McArdle) are population-level estimates with a standard error of ~10% for individuals. Your actual BMR can differ by 150–300 kcal from the calculated value depending on genetics, thyroid function, and body composition.
- •TDEE multipliers (1.2–1.9) are coarse estimates of activity. Someone with a desk job who does 3 intense CrossFit sessions per week may not fit neatly into any single category — the calculator cannot account for the timing and intensity distribution of exercise.
- •This calculator is not suitable for clinical nutrition planning (eating disorders, metabolic diseases, pre-/post-surgery nutrition). These conditions require individualized medical nutrition therapy from a registered dietitian.
- •The keto preset at 5% carbs is extremely restrictive and should only be used with medical supervision for specific therapeutic purposes (e.g., drug-resistant epilepsy). For general weight loss, ketosis is not superior to other diets when calories and protein are equated.
Cite this calculator
TheCalcUniverse. "Daily Macro Calculator — Personalized Macros by Diet." TheCalcUniverse, 2026, https://thecalcuniverse.com/health/macro-calculator/. Accessed July 27, 2026.
Embed this calculator on your site
You may also like
-
Protein Calculator
Calculate your daily protein needs based on the evidence-based range of 1.6–2.2 g/kg. Includes per-meal breakd…
-
Carb Calculator
Calculate your daily carbohydrate needs based on weight, goal, and training volume. Includes glycogen loading …
-
Fat Intake
Calculate your daily fat intake recommendation with a saturated/monounsaturated/polyunsaturated breakdown. Fre…
-
Macro Points
Score any food using a macronutrient-weighted points formula based on calories, saturated fat, sugar, and prot…