Macro Calculator

Your macros start from your maintenance calories: estimate them with the Mifflin-St Jeor equation and an activity multiplier, then eat 20% less to lose fat or 10% more to build muscle. Set protein at 1.6 to 2.0 g per kg of body weight, fat at 25 to 30% of calories, and give the remaining calories to carbs. For example, a 30 year old, 180 lb, 5 ft 10 in man who exercises 3 to 5 days a week and wants to lose fat lands at about 2,211 calories: 163g protein, 251g carbs and 61g fat.

How the numbers are calculated

1. Resting calories (BMR)

The calculator uses the Mifflin-St Jeor equation (Mifflin et al., 1990, American Journal of Clinical Nutrition), the equation most dietitians use for adults. In metric: men = 10 x weight in kg + 6.25 x height in cm - 5 x age + 5. Women = the same, minus 161 instead of plus 5.

2. Maintenance calories (TDEE)

BMR is multiplied by an activity factor: 1.2 for sedentary, 1.375 for light exercise 1 to 3 days a week, 1.55 for moderate exercise 3 to 5 days, 1.725 for hard exercise 6 to 7 days, and 1.9 for hard training plus a physical job. The result is the number of calories that keeps your weight steady.

3. Calories for your goal

Lose fat: maintenance x 0.8. Maintain: maintenance x 1.0. Build muscle: maintenance x 1.1. A percentage scales with your size, which a fixed number like 500 calories does not.

4. Protein, fat and carbs

Protein comes from body weight, inside the 1.4 to 2.0 g per kg range in the International Society of Sports Nutrition position stand on protein: 2.0 g/kg when losing fat, 1.6 g/kg at maintenance and 1.8 g/kg when building muscle. The weight used for protein is capped at the weight for a BMI of 30 at your height, so a very heavy person is not told to eat protein for body fat. Fat is 25% of calories when losing or gaining and 30% at maintenance. Carbs get the calories that are left. Protein and carbs have 4 calories per gram and fat has 9.

5. Limits

The equation is for adults, so the calculator takes ages 18 to 90, weights from 80 to 500 lbs and heights from 4 ft to 7 ft 6 in. If a fat loss target comes out under 1,200 calories, it shows your maintenance calories instead, with a gentler range that never goes under 1,200 or no deficit at all when maintenance is close to 1,200, because intakes that low are generally advised only with medical supervision. If your maintenance is itself under 1,200 calories, it gives no fat loss target at all, and a maintain or build muscle result under 1,200 is not shown either. In those cases it suggests talking to a doctor or registered dietitian.

GoalCaloriesProteinFatCarbs
Lose fatTDEE x 0.82.0 g/kg25%The rest
MaintainTDEE x 1.01.6 g/kg30%The rest
Build muscleTDEE x 1.11.8 g/kg25%The rest

Worked example

180 lb is 81.6 kg and 5 ft 10 in is 177.8 cm. BMR = 816 + 1,111 - 150 + 5 = about 1,783. At 1.55 that is 2,763 calories to maintain. Losing fat at 80% gives 2,211. Protein is 81.6 x 2.0 = 163g, fat is 25% of calories = 61g, and carbs take the remaining calories = 251g.

FAQ

How does this macro calculator work?

It estimates your resting calorie burn with the Mifflin-St Jeor equation, multiplies it by an activity factor to get maintenance calories, adjusts for your goal, then sets protein from your body weight, fat as a share of calories, and carbs from what is left.

What macros should I eat to lose fat?

This calculator uses 20% below maintenance, protein at 2.0 g per kg of body weight (about 0.9 g per pound) and fat at 25% of calories, with carbs filling the rest. Higher protein in a deficit helps you keep muscle while you lose weight.

What macros should I eat to build muscle?

It uses 10% above maintenance, protein at 1.8 g per kg (about 0.8 g per pound) and fat at 25% of calories. A small surplus with steady training keeps the gain gradual.

Why is protein based on body weight and not a percentage?

Your protein need tracks your body size and training, not your calorie intake. A percentage would give a small person in a surplus more protein than they need and a large person in a deficit too little.

How accurate is the result?

Any equation is an estimate, and real burn varies from person to person. Use the result for two to three weeks, track your weight, and let the scale guide small changes. Do not go below 1,200 calories a day without medical supervision, and if the number feels very low, start with the maintain goal and adjust slowly.

Track your macros with a photo

Snap a photo of a meal and BasedHealth logs its calories and macros, next to your workouts.

Get BasedHealth on the App Store