π₯ Macro Nutrient Calculator
Calculate your daily calorie needs and split into protein, carbohydrate and fat targets based on your age, gender, weight, height, activity level and goal (fat loss, maintenance, muscle gain).
Why macronutrients matter
Macronutrientsβprotein, carbohydrate, and fatβare the energy-providing components of the diet. Each plays distinct roles in metabolism and health. Protein supplies amino acids needed for tissue repair and muscle building; carbohydrates are the body's primary quick energy source for high-intensity activity; fats support hormone production, cell membranes and are a dense energy source.
Protein: the priority macro
For most goals, particularly fat loss and muscle gain, protein is the most important macronutrient. Adequate daily protein supports muscle protein synthesis, preserves lean mass during weight loss, and improves satiety. Recommended protein targets vary with goal and activity: sedentary adults may need ~0.8 g/kg, while those engaged in resistance training or in a calorie deficit often benefit from 1.6β2.4 g/kg of bodyweight. This calculator uses an evidence-informed protein range based on goal and, optionally, body fat to provide precise lean-mass-based suggestions.
Carbohydrates: fuel for performance
Carbohydrate needs depend on activity volume and intensity. Athletes or people doing frequent hard workouts will need more carbs to support training and recovery, while those in sedentary or low-activity states can meet needs with fewer carbohydrates. Carbs are stored as glycogen in muscle and liver and provide the fastest source of fuel for high-intensity work.
Fats: essential and calorie-dense
Dietary fat is essential for absorption of fat-soluble vitamins (A, D, E, K), hormone production, and cell structure. Fat should not be demonized; instead, aim for high-quality sources: monounsaturated fats (olive oil, avocado), polyunsaturated fats (fatty fish, nuts), and limit trans fats. Fat provides 9 kcal per gram, so when setting macros, fats are used to fill remaining calories after protein and carbohydrate targets are set.
Energy balance: the driver of weight change
Calories in vs. calories out remains the fundamental principle: to lose weight you must be in a calorie deficit, to gain weight you must be in a calorie surplus. Macros influence body composition and satiety during those calorie changes. For sustainable fat loss we typically recommend a conservative deficit (e.g., 10β20% below maintenance) to avoid excessive lean-mass loss; for muscle gain, a moderate surplus (e.g., 5β15%) with strength training helps prioritize lean gain over fat.
How the calculator works (overview)
1. BMR estimate: We calculate Basal Metabolic Rate (BMR) using the Mifflin-St Jeor equation (widely used and validated), which uses age, sex, weight and height. If body fat % is provided, we can optionally use it to refine energy needs via lean mass calculations. 2. Activity multiplier: BMR is multiplied by an activity factor (sedentary β very active) to estimate Total Daily Energy Expenditure (TDEE). 3. Goal adjustment: TDEE is adjusted by a goal multiplier or fixed calorie delta (deficit for fat loss, surplus for gain). Defaults are conservative and editable in Part 2 if you want different aggression. 4. Macro split: Protein is prioritized based on weight/lean mass and goal. The remaining calories are allocated to carbohydrates and fats according to sensible ratios that prioritize performance and health (e.g., moderate carbs for activity, fats not going below essential levels).
Why body composition (body fat %) helps
Body fat percentage allows estimating lean body mass. Protein recommendations based on lean mass (g protein per kg LBM) are more precise for athletic and clinical contexts. When body fat is unknown, the calculator uses bodyweight-based defaults, which are effective for most users.
Practical considerations
Use the results as a starting point. Track progress and adjust calories and macros after 2β4 weeks based on weight trend, performance, and how you feel. Prioritize protein and resistance training when building muscle; when cutting, maintain protein and include strength training to preserve lean mass. Remember that food quality, micronutrients, and meal timing also affect health and performance beyond the macro numbers.
Putting macros into practice β a complete guide
This continuation expands on how to interpret the macro targets, how to adjust them over time, meal distribution strategies, examples, and practical troubleshooting. Think of the calculator output as a starting blueprint: the numbers are evidence-informed, but you must tailor them to your lifestyle, preferences, and progress.
Step 1 β Understand the calorie target
Your calculated daily calorie target is the central lever for weight change. Itβs derived from your BMR (the energy your body uses at rest) multiplied by an activity factor to estimate Total Daily Energy Expenditure (TDEE). The calculator then adjusts TDEE based on your goal: a conservative deficit for fat loss, neutral for maintenance, or a modest surplus for muscle gain. Small, sustainable changes (5β20% of TDEE) are recommended to preserve lean mass and avoid extreme hunger or metabolic adaptation.
Step 2 β Protein first
We prioritize protein because it supports muscle protein synthesis, satiety, and metabolic health. If you provided body fat percentage, the calculator can estimate lean body mass (LBM = weight Γ (1 β bodyfat%)). Protein recommendations based on LBM (for example, 1.6β2.4 g per kg LBM) are more accurate for those pursuing muscle gain or preserving mass during a cut. If body fat is unknown, we default to weight-based protein targets that scale by goal and activity:
- Maintenance / general fitness: ~1.4β1.8 g/kg bodyweight
- Muscle gain (resistance training): ~1.6β2.4 g/kg
- Fat loss (calorie deficit): ~1.8β2.4 g/kg (higher end to preserve LBM)
Example: 80 kg person aiming to gain muscle at 1.8 g/kg β 144 g protein/day β 576 kcal from protein (protein = 4 kcal/g).
Step 3 β Set fats (minimum & quality)
Dietary fat is essential. A practical approach is to set fats to cover essential needs and then fill remaining calories with carbohydrates. We recommend not dropping fats below ~20% of total calories (for hormonal health and fat-soluble vitamin absorption). Healthy fat sources include olive oil, fatty fish, nuts, seeds, and avocados. Typical fat ranges:
- Lower-fat approach: 20β25% of calories (used in higher-carb athletes)
- Moderate-fat approach: 25β35% of calories (balanced)
- Higher-fat (low-carb) approach: 30β40% (used intentionally by some β still ensure protein adequacy)
Step 4 β Fill remaining calories with carbs
After allocating calories to protein and fats, remaining calories go to carbohydrates. Carbs are crucial for fueling higher intensity training and replenishing glycogen. For endurance athletes or frequent intense training, carbs will form a larger share of calories. For lower-activity plans, carbs are modestly lower.
Example full calculation
Letβs run a worked example for clarity:
- Person: Female, 30 y, 70 kg, 170 cm, moderate activity β Mifflin-St Jeor BMR = (10 Γ 70) + (6.25 Γ 170) β (5 Γ 30) β 161 = 1400 kcal approx.
- Activity multiplier (moderate): Γ1.55 β TDEE β 2170 kcal.
- Goal: Fat loss β choose β15% β target calories β 1845 kcal.
- Protein target (1.8 g/kg): 70 Γ 1.8 = 126 g β 504 kcal from protein.
- Fat target (25% calories): 0.25 Γ 1845 β 461 kcal β 51 g fat (461 Γ· 9 β 51g).
- Remaining calories for carbs: 1845 β (504 + 461) = 880 kcal β carbs β 220 g (880 Γ· 4).
Those numbers (126 g protein / 220 g carbs / 51 g fat) become daily targets you can split across meals.
Meal timing and distribution
Spread protein fairly evenly across meals to maximize daily muscle protein synthesis (30β40 g protein per meal is a practical guideline). Carbs should be higher around training sessions (pre- and post-workout) to fuel performance and recovery. Fats can be distributed across meals but avoid large fat-heavy meals immediately pre-workout if they cause gastric discomfort. Example: 3 main meals + 1β2 snacks; aim for 20β40 g protein per meal depending on your daily target.
Micronutrients and food quality
Macros are only part of the health puzzle. Ensure varied, nutrient-dense foods β vegetables, fruits, lean proteins, whole grains, legumes, nuts, seeds, and oily fish. Pay attention to fiber, iron, calcium, vitamin D, and B vitamins. Consider a multivitamin if your diet is restrictive.
Special populations
Pregnant or breastfeeding people, older adults, adolescents, and those with clinical conditions require tailored macronutrient and calorie guidance. For clinical questions or medication interactions, consult a registered dietitian or clinician. This calculator provides generalized estimates and is not a substitute for individualized medical nutrition therapy.
When to adjust your targets
Re-evaluate after 2β4 weeks. If weight is changing too fast (loss >1% bodyweight per week) or too slowly (no change after 3β4 weeks), adjust calories by 5β10% depending on your goal. If performance suffers (loss of strength or poor recovery), increase carbs or overall calories. If appetite is intolerable, a smaller deficit may be more sustainable.
Common pitfalls & troubleshooting
- Ignoring satiety: If you feel excessively hungry, increase protein and fiber-rich vegetables before cutting calories further.
- Overemphasizing one macro: Balance mattersβextreme low-carb or very high-fat diets can work short-term but may not suit everyone.
- Relying on βcleanβ vs βdirtyβ foods: Food quality, nutrient density, and meal timing matter beyond just macros.
- Not tracking progress: Use simple tracking (body weight, strength, clothing fit) and adjust gradually.
Sample meal plans
Below are two brief sample day splits for a 1,800 kcal target with macros similar to the worked example:
Sample Day β Moderate Carb (for a 70 kg person aiming for fat loss)
- Breakfast: Greek yogurt + berries + 30 g oats (30 g protein / 40 g carbs / 12 g fat)
- Lunch: Grilled chicken salad with quinoa and olive oil (35 g protein / 45 g carbs / 18 g fat)
- Snack: Protein shake + apple (25 g protein / 25 g carbs / 2 g fat)
- Dinner: Salmon + sweet potato + steamed veg (36 g protein / 60 g carbs / 18 g fat)
Sample Day β Lower Carb (for training days)
- Breakfast: Omelet with spinach & feta + 1 slice whole-grain toast (28 g protein / 20 g carbs / 22 g fat)
- Pre-workout: Banana + small yogurt (10 g protein / 30 g carbs)
- Post-workout: Protein shake + rice cake (30 g protein / 25 g carbs)
- Dinner: Turkey mince + mixed veg, olive oil (40 g protein / 30 g carbs / 20 g fat)
Using the calculator responsibly
Use the calculator outputs as an evidence-based starting point. Track adherence and results, and adjust gently. If youβre unsure about interpreting results or have health conditions, consult a registered dietitian or clinician for a tailored plan.
Summary
Macronutrient targets help translate calorie goals into actionable food plans. Prioritize protein, set sensible fats, and use carbohydrates to support training. Reassess every 2β4 weeks and adapt the numbers to your results and lifestyle.