- Overview
- Calculators
- Macro Calculator
Macro Calculator
This macro calculator computes your optimal daily intake of protein, carbohydrates, and fat based on your calorie needs and fitness goals. Enter your details to get personalized macronutrient targets for weight loss, muscle building, or maintenance.
Macro Calculator
Calculate your daily calorie and macronutrient targets based on your body metrics, activity level, and goals.
Ratios shown as Protein / Carbs / Fat percentages.
Frequently Asked Questions
What are macronutrients?
Macronutrients (macros) are the three main nutrients your body needs in large amounts: protein, carbohydrates, and fat. Protein provides 4 calories per gram and is essential for muscle repair and growth. Carbohydrates provide 4 calories per gram and are your body's primary energy source. Fat provides 9 calories per gram and is vital for hormone production, vitamin absorption, and cell function.
How do you calculate macros?
Macros are calculated by first determining your total daily calorie needs (TDEE), then dividing those calories among protein, carbohydrates, and fat based on your goals. A common starting point is 30% protein, 40% carbs, and 30% fat. To convert: divide protein calories by 4 for grams, carb calories by 4 for grams, and fat calories by 9 for grams. Adjust ratios based on your specific fitness goals.
What is the best macro ratio for weight loss?
For weight loss, a higher protein ratio helps preserve muscle mass while in a calorie deficit. A common effective ratio is 40% protein, 30% carbs, and 30% fat. Some people prefer moderate approaches like 30% protein, 35% carbs, and 35% fat. The most important factor is maintaining a calorie deficit while getting adequate protein (at least 0.7g per pound of body weight). The best ratio is one you can sustain consistently.
How much protein do I need per day?
Protein needs depend on your activity level and goals. The general recommendation is 0.36g per pound of body weight for sedentary adults. For active individuals and those looking to build muscle, 0.7-1.0g per pound is recommended. For weight loss while preserving muscle, aim for 0.8-1.2g per pound. Athletes and bodybuilders may benefit from up to 1.4g per pound during intense training phases.
What is the difference between counting macros and counting calories?
Counting calories focuses only on total energy intake without regard to food composition. Counting macros tracks the specific amounts of protein, carbs, and fat, which automatically accounts for calories since each macro has a calorie value. Macro counting provides more control over body composition because it ensures adequate protein for muscle preservation and allows you to optimize energy from carbs and fat based on your goals.
How do I adjust macros for muscle gain?
For muscle gain, eat a calorie surplus of 250-500 calories above maintenance with higher protein and carbs. A typical muscle-building ratio is 30% protein, 45% carbs, and 25% fat. Prioritize protein at 0.8-1.2g per pound of body weight, keep carbs high to fuel intense training, and maintain adequate fat for hormone production. Time carbs around workouts for optimal performance and recovery.
Should I track macros or just calories?
If your primary goal is simply weight loss, tracking calories alone can be effective. However, tracking macros is superior for body composition goals like building muscle, preserving muscle during weight loss, or improving athletic performance. Macro tracking ensures you get enough protein, which is the most important macro for body composition. For beginners, start with calorie tracking and add macro tracking once you are comfortable with the basics.
How to Calculate Your Daily Macros
What Are Macronutrients?
Macronutrients (macros) are the three primary nutrients your body needs in large quantities for energy: protein, carbohydrates, and fat. Each macronutrient plays a distinct role in fueling your body, building tissue, and regulating metabolic processes.
- Protein (4 calories per gram) — Builds and repairs muscle tissue, supports immune function, and produces enzymes and hormones.
- Carbohydrates (4 calories per gram) — The body's preferred energy source, fueling brain function and physical activity.
- Fat (9 calories per gram) — Supports hormone production, nutrient absorption, cell membrane structure, and long-term energy storage.
Balancing these macronutrients according to your goals and activity level is the foundation of effective nutrition planning, whether you aim to lose fat, build muscle, or maintain your current physique.
How to Use This Calculator
- Choose your unit system (Imperial or Metric).
- Enter your age, gender, height, and weight.
- Select your activity level from the dropdown—be honest for accurate results.
- Choose your goal: Lose Weight (−500 kcal), Maintain, or Gain Weight (+500 kcal).
- Pick a diet type preset that matches your nutritional preference.
- Click "Calculate Macros" to view your personalized targets.
- Review the comparison table to see how different diet types distribute macros at your calorie target.
BMR and TDEE Formulas
This calculator uses the Mifflin-St Jeor equation, widely considered the most accurate formula for estimating Basal Metabolic Rate (BMR)—the number of calories your body burns at rest.
Mifflin-St Jeor Equation
Male: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5
Female: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161
Total Daily Energy Expenditure (TDEE)
| Activity Level | Multiplier |
|---|---|
| Sedentary | ×1.2 |
| Lightly Active | ×1.375 |
| Moderately Active | ×1.55 |
| Very Active | ×1.725 |
| Extra Active | ×1.9 |
Goal adjustment: Lose Weight subtracts 500 kcal from TDEE (approximately 1 lb loss per week). Gain Weight adds 500 kcal (approximately 1 lb gain per week).
Diet Type Presets
The calculator includes five common macro distribution presets. The percentages represent the share of total calories from each macronutrient (Protein / Carbs / Fat).
| Diet | Protein | Carbs | Fat | Best For |
|---|---|---|---|---|
| Moderate | 30% | 35% | 35% | General health, maintenance |
| Low Fat | 20% | 45% | 35% | Endurance athletes |
| Low Carb | 40% | 20% | 40% | Fat loss, blood sugar management |
| High Protein | 40% | 30% | 30% | Muscle building, strength training |
| Keto | 20% | 5% | 75% | Ketogenic diet, rapid fat loss |
Examples
Example 1: Male, Maintain, Moderate Diet
Age 30, Height 5'10" (177.8 cm), Weight 180 lbs (81.6 kg), Moderately Active
BMR = 10(81.6) + 6.25(177.8) − 5(30) + 5 = 1,782 kcal
TDEE = 1,782 × 1.55 = 2,762 kcal
Protein: 2,762 × 30% / 4 = 207g | Carbs: 2,762 × 35% / 4 = 242g | Fat: 2,762 × 35% / 9 = 107g
Example 2: Female, Lose Weight, High Protein
Age 25, Height 165 cm, Weight 65 kg, Lightly Active
BMR = 10(65) + 6.25(165) − 5(25) − 161 = 1,371 kcal
TDEE = 1,371 × 1.375 = 1,885 kcal
Target = 1,885 − 500 = 1,385 kcal
Protein: 1,385 × 40% / 4 = 139g | Carbs: 1,385 × 30% / 4 = 104g | Fat: 1,385 × 30% / 9 = 46g
Use Cases
- Fat loss programs with controlled caloric deficit and adequate protein intake
- Muscle building and strength training nutrition planning
- Sports performance optimization with targeted carb and protein timing
- Meal prepping and weekly grocery planning based on macro targets
- Comparing different dietary approaches side by side to find the best fit
- Post-competition reverse dieting to gradually increase calories
Tips for Tracking Macros
- Use a food scale to weigh portions accurately rather than estimating by eye.
- Log meals consistently using a nutrition tracking app for at least two weeks before adjusting targets.
- Focus on hitting your protein target first—it is the most important macro for body composition.
- Allow a margin of ±5g for each macronutrient; perfection is not required.
- Reassess your TDEE every 4–6 weeks as your weight and activity level change.
- Stay hydrated—water intake does not count as a macro but significantly affects performance and recovery.
- If you consistently feel low on energy, consider increasing carbs slightly or reviewing your activity multiplier.