Macro Calculator
Calculate your optimal daily macronutrient intake for protein, carbs, and fat based on your body stats, activity level, and fitness goal. Powered by the Mifflin-St Jeor equation.
How to Use
- Select your preferred unit system (Imperial or Metric).
- Enter your age, sex, weight, and height.
- Choose your typical activity level from the dropdown.
- Select your goal: lose weight, maintain weight, or gain muscle.
- Click "Calculate Macros" to see your daily calorie and macronutrient targets.
- Use the protein, carb, and fat gram targets to plan your meals.
How It Works
This macro calculator uses a two-step process. First, it estimates your Basal Metabolic Rate (BMR)using the Mifflin-St Jeor equation, which is widely regarded as the most accurate formula for healthy adults. 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.
Next, the BMR is multiplied by an activity factor to calculate your Total Daily Energy Expenditure (TDEE). Based on your selected goal, calories are adjusted by +/− 500 per day (roughly 1 lb per week). Finally, those calories are split into protein, carbs, and fat using goal-specific macro ratios and converted to grams using standard caloric values: 4 calories per gram of protein, 4 calories per gram of carbs, and 9 calories per gram of fat.
What Is a Macro Calculator?
A macro calculator is a nutrition tool that breaks your daily calorie target into specific grams of protein, carbohydrates, and fat. While a calorie calculator tells you how much to eat, a macro calculator tells you what to eat. This distinction matters because body composition — how much muscle versus fat you carry — depends heavily on the quality and ratio of the food you consume, not just the total calories.
Macronutrients are the three categories of nutrients your body needs in large quantities. Protein is essential for muscle repair, immune function, and satiety. Each gram provides 4 calories. Carbohydrates are your body's primary energy source, fueling both high-intensity exercise and brain function at 4 calories per gram. Fat supports hormone production, vitamin absorption, and cell membrane integrity at 9 calories per gram.
The concept behind tracking macros, sometimes called "flexible dieting" or "IIFYM" (If It Fits Your Macros), is that you can eat a variety of foods as long as you hit your daily protein, carb, and fat targets. This approach gives you more dietary freedom than rigid meal plans while still driving results. Studies consistently show that people who track macros achieve better body composition outcomes than those who rely on calorie counting alone, largely because adequate protein intake preserves lean muscle mass during weight loss and supports muscle growth during a surplus.
Macro Ratios Explained
The macro split you use depends on your primary goal. There is no single "best" ratio, but research and sports nutrition practice have established reliable starting points.
Weight Loss (40/30/30 — Protein/Carbs/Fat)
A higher protein ratio during a calorie deficit helps preserve muscle mass, increases the thermic effect of food (your body burns more calories digesting protein), and keeps you feeling full longer. The moderate carb and fat portions ensure you still have energy for workouts and support essential body functions.
Maintenance & Muscle Gain (30/40/30 — Protein/Carbs/Fat)
When you are eating at maintenance or in a calorie surplus for muscle gain, a higher carb ratio fuels intense training and replenishes glycogen stores. Protein remains high enough to support muscle protein synthesis, and fat provides the calories and hormonal support needed for recovery and growth.
Frequently Asked Questions
What are macros and why do they matter?
Macros, short for macronutrients, are the three main nutrients your body needs in large amounts: protein, carbohydrates, and fat. Each plays a unique role in energy production, muscle repair, hormone function, and overall health. Tracking macros helps you control body composition more precisely than counting calories alone because two diets with identical calorie counts can produce very different results depending on the macro breakdown.
How accurate is this macro calculator?
This calculator uses the Mifflin-St Jeor equation, which is considered the most accurate formula for estimating calorie needs in most healthy adults. The macro split is based on widely accepted sports nutrition guidelines. However, individual factors like genetics, muscle mass, metabolic health, and stress levels can influence your actual needs. Use the results as a starting point and adjust based on your progress over 2 to 4 weeks.
What is the best macro ratio for weight loss?
A common and effective macro ratio for weight loss is 40% protein, 30% carbs, and 30% fat. The higher protein intake helps preserve muscle mass during a calorie deficit, keeps you feeling full, and supports a higher thermic effect of food. That said, the most important factor for weight loss is maintaining a calorie deficit consistently. The macro ratio optimizes your results within that deficit.
Should I track macros or just calories?
Tracking macros gives you more control over your body composition than tracking calories alone. Two people eating the same number of calories can get very different results depending on how those calories are split between protein, carbs, and fat. If your goal is to build muscle, get lean, or improve athletic performance, tracking macros is worth the extra effort. If you just want general weight management, calorie tracking may be sufficient.
How much protein do I need per day?
Most research suggests 0.7 to 1.0 grams of protein per pound of body weight for active individuals. If you are in a calorie deficit, aiming for the higher end helps preserve muscle. For sedentary adults, the minimum recommendation is about 0.36 grams per pound, but most nutrition experts agree this is too low for anyone with fitness goals. This calculator factors protein needs into your total calorie target based on your selected goal.
Example Calculation
Consider a 28-year-old female who weighs 150 lbs (68 kg), stands 5'6" (167.6 cm), exercises 3 to 5 days per week (moderately active), and wants to lose weight.
Step 1 — BMR: Using the Mifflin-St Jeor equation for women: 10 × 68 + 6.25 × 167.6 − 5 × 28 − 161 = 680 + 1,048 − 140 − 161 = 1,427 calories/day.
Step 2 — TDEE: Multiply BMR by the moderate activity factor: 1,427 × 1.55 = 2,212 calories/day.
Step 3 — Calorie Target: Subtract 500 calories for weight loss: 2,212 − 500 = 1,712 calories/day.
Step 4 — Macros (40/30/30): Protein = 1,712 × 0.40 ÷ 4 = 171g. Carbs = 1,712 × 0.30 ÷ 4 = 128g. Fat = 1,712 × 0.30 ÷ 9 = 57g.
She would aim for roughly 1,712 calories per day, split into 171g of protein, 128g of carbs, and 57g of fat. These targets give her a solid foundation for losing about one pound per week while preserving lean muscle mass.