Macro Calculator

Calculate your optimal daily macronutrient intake (protein, carbohydrates, and fat) based on your body stats and fitness goals. Perfect for IIFYM, flexible dieting, and meal planning.

years
cm
kg

What Are Macronutrients?

Macronutrients (macros) are the three main nutrients that provide energy: protein, carbohydrates, and fat. Each plays a vital role in your body:

  • Protein (4 cal/g): Builds and repairs muscle, supports immune function
  • Carbohydrates (4 cal/g): Primary energy source, fuels brain and muscles
  • Fat (9 cal/g): Hormone production, vitamin absorption, cell structure

Macro Ratios by Goal

Weight Loss

Higher protein (35%) helps preserve muscle mass during a calorie deficit. Moderate carbs (35%) and fat (30%) provide balanced energy.

Maintenance

Balanced approach with 30% protein, 40% carbs, and 30% fat. Suitable for maintaining current body composition.

Muscle Gain

Higher carbs (45%) provide energy for intense workouts and muscle growth. Protein at 30% supports muscle synthesis, with 25% from fats.

How to Hit Your Macros

  • Track your food: Use apps like MyFitnessPal or Cronometer
  • Meal prep: Plan meals ahead to meet your targets
  • Focus on protein first: It's usually the hardest macro to hit
  • Be flexible: Hitting within 5-10g of targets is fine

Protein Sources

  • Chicken breast, turkey, lean beef
  • Fish (salmon, tuna, tilapia)
  • Eggs and egg whites
  • Greek yogurt, cottage cheese
  • Legumes, tofu, tempeh

Quality Carb Sources

  • Oats, quinoa, brown rice
  • Sweet potatoes, potatoes
  • Fruits and vegetables
  • Whole grain bread and pasta

Healthy Fat Sources

  • Avocados, olive oil
  • Nuts and nut butters
  • Fatty fish (salmon, mackerel)
  • Seeds (chia, flax, hemp)

Frequently Asked Questions

What are macronutrients?
Macronutrients (macros) are the three main nutrients that provide energy: protein (4 cal/g), carbohydrates (4 cal/g), and fat (9 cal/g). Each plays a vital role — protein builds and repairs muscle, carbohydrates provide energy for brain and muscles, and fat supports hormone production and nutrient absorption. Tracking macros rather than just calories allows for better body composition results.
What macro ratio should I use for weight loss?
For weight loss, higher protein (35% of calories) helps preserve muscle mass during a calorie deficit. Moderate carbohydrates (35%) provide energy, while fat (30%) supports hormone function. This calculator uses a 20% calorie deficit with these ratios. The key is finding a sustainable ratio you can stick with long-term.
What macro ratio is best for muscle gain?
For muscle gain, higher carbohydrates (45% of calories) provide energy for intense workouts and muscle growth. Protein at 30% supports muscle protein synthesis, with 25% from fats for hormone health. This calculator uses a 15% calorie surplus with these ratios for a lean bulk approach that minimizes fat gain.
How do I track my macros?
Use a tracking app like MyFitnessPal, Cronometer, or MacroFactor. Weigh and measure your food with a kitchen scale for accuracy — eyeballing portions can lead to 50%+ errors. Focus on hitting your protein target first (hardest to meet), then fill remaining calories with carbs and fat. Aim to hit within 5-10g of your targets daily.
Is IIFYM (If It Fits Your Macros) effective?
IIFYM (flexible dieting) can be effective because it emphasizes overall macro targets over specific food choices, making it more sustainable. However, food quality still matters — getting your carbs from vegetables and whole grains rather than sugary foods provides more micronutrients and fiber. The most effective approach combines macro tracking with nutrient-dense food choices.

Related Tools