Macro Calculator
Macros are the grams of protein, carbohydrate, and fat that add up to your calorie target. Protein and carbohydrate provide 4 kcal per gram and fat provides 9. This calculator builds a calorie target with Mifflin–St Jeor, applies the 1,200/1,500 kcal floor on a weight-loss goal, then splits the grams.
Macro Calculator
Calculate your optimal macronutrient distribution for your fitness goals
Understanding Macronutrients
Macronutrients (macros) are the three main nutrients your body needs in large amounts: protein, carbohydrates, and fats. Each macronutrient plays a unique role in your body and provides energy (calories). Understanding and tracking your macronutrient intake can help you achieve your fitness goals, whether that's losing weight, building muscle, or maintaining your current physique.
The Three Macronutrients
Protein (4 calories per gram):
Essential for building and repairing muscle tissue, producing enzymes and hormones, and supporting immune function. Protein is crucial for muscle growth, recovery, and satiety. Recommended intake varies by goal: 0.8-1g per pound of body weight for general health, 1-1.5g for muscle building, and up to 1.2-1.6g for weight loss to preserve muscle mass.
Carbohydrates (4 calories per gram):
Your body's primary source of energy. Carbs fuel your brain, muscles, and daily activities. They're especially important for high-intensity exercise. Complex carbs (whole grains, vegetables) provide sustained energy, while simple carbs (fruits, sugars) provide quick energy. Recommended intake typically ranges from 40-60% of total calories, adjusted based on activity level and goals.
Fats (9 calories per gram):
Essential for hormone production, vitamin absorption, brain function, and cell structure. Healthy fats (avocado, nuts, olive oil, fatty fish) support overall health. Recommended intake is typically 20-35% of total calories, with emphasis on unsaturated fats and limiting saturated and trans fats.
Macro Distribution by Goal
Weight Loss:
Higher protein (25-30%) to preserve muscle mass, moderate carbs (30-40%) for energy, and moderate fats (25-35%) for satiety and hormone function. Creates a calorie deficit while maintaining muscle.
Maintenance:
Balanced distribution: Protein (20-25%), Carbs (40-50%), Fats (25-35%). Supports daily activities and maintains current body composition.
Weight Gain/Muscle Building:
Higher carbs (45-55%) for energy and recovery, adequate protein (20-25%) for muscle growth, and moderate fats (20-30%). Provides calorie surplus needed for muscle gain.
Tips for Tracking Macros
- Use a food tracking app to log meals and monitor macro intake
- Plan meals in advance to hit your macro targets
- Focus on whole, nutrient-dense foods rather than processed options
- Be consistent but flexible - perfection isn't necessary
- Adjust macros based on progress and how you feel
- Remember that total calories matter most for weight management
Important Note: Macro calculations provide estimates based on standard formulas and general recommendations. Individual needs can vary based on metabolism, activity level, body composition, and health conditions. These calculations should be used as a starting point and adjusted based on your progress and how you feel. For personalized nutrition guidance, consult with a registered dietitian or certified nutritionist.
How to use this calculator
- Enter the same stats as the calorie calculator. Sex, age, height, weight, and activity estimate TDEE.
- Choose a goal. Loss, maintenance, or gain selects both the calorie adjustment and the percentage split.
- Read grams. Grams are rounded. Calorie subtotals use 4, 4, and 9 kcal per gram.
Formula and sources
Calorie target = TDEE, TDEE − 500, or TDEE + 500, with the weight-loss target raised to 1,200 kcal (women) or 1,500 kcal (men) when needed. Grams = calories × percentage ÷ 4 (protein, carbohydrate) or ÷ 9 (fat).
- Mifflin MD, St Jeor ST, Hill LA, Scott BJ, Daugherty SA, Koh YO. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51(2):241-247.
- Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. Washington, DC: National Academies Press; 2005. Acceptable Macronutrient Distribution Ranges.
Last reviewed October 2026
These pages are educational estimates from K-UBE LLC. They are not medical advice and they are not affiliated with the USDA.
Questions
How do you turn calories into grams?
Divide protein calories by 4, carbohydrate calories by 4, and fat calories by 9. A 2,000 kcal day at 30/40/30 is 150 g protein, 200 g carbohydrate, and 67 g fat.
What split does this page use?
Maintenance is 30% protein, 40% carbohydrate, 30% fat. Weight gain is 25/45/30. Weight loss is 40/30/30, which keeps protein and fat inside the AMDR and puts carbohydrate a little under the 45% AMDR on purpose.
Does activity change the split?
Activity changes the calorie total, through TDEE. The percentage split depends on the goal you select, not on a separate activity rule.
Related Calculators
Other calculators on this site