Methodology · updated October 30, 2026

How RepMacro Calculates Your Macros

Every number our calculators show comes from the rules on this page. Nothing is hidden, and the same rules apply on every calculator.

1. Resting calories (BMR)

By default we use the Mifflin-St Jeor equation, which estimates resting energy from weight, height, age and sex:

If you enter a body-fat percentage, we switch to Katch-McArdle, which uses lean mass instead: 370 + 21.6 × lean body mass (kg). The result card always shows which formula was used. Imperial inputs are converted with 1 lb = 0.4536 kg and 1 in = 2.54 cm before calculating.

2. Daily calories burned (TDEE)

BMR is multiplied by an activity factor:

Activity levelFactor
Sedentary1.2
Lightly active1.375
Moderately active1.55
Very active1.725
Extra active1.9

3. Goal adjustment

GoalCaloriesProtein
CutTDEE − 20%2.2 g/kg
RecompTDEE − 10%2.2 g/kg
MaintainTDEE1.8 g/kg
BulkTDEE + 10%1.6 g/kg

The calorie target is rounded to the nearest 10 kcal.

4. Protein

Protein is set first, in grams per kilogram, using the values above. Protein is set higher in a deficit because it helps preserve muscle when calories are low.

Reference weight at a BMI of 30 or more. Grams per kilogram of total bodyweight can give very high numbers for people with more body fat (for example, 330 g a day at 150 kg). When your BMI is 30 or above, we base protein on your goal weight if you entered one that is lower than your current weight, or otherwise on the weight that gives a BMI of 25 at your height. This is a practical adjustment rather than a clinical standard; the calculator tells you when it applies.

The protein calculator uses ranges instead of a single value: 0.8–1.0 g/kg for general health, 1.4–2.0 g/kg for regular exercise, 1.6–2.2 g/kg for muscle gain or fat loss, and a floor of 1.0–1.2 g/kg for adults over 65. It applies the same reference-weight rule.

5. Fat and carbs

Fat is set at 25% of target calories, inside the 20–35% range in the U.S. Dietary Reference Intakes. Carbs receive whatever calories remain. We convert calories to grams with the 4-4-9 rule (protein 4 kcal/g, carbs 4 kcal/g, fat 9 kcal/g), round each macro to a whole gram, and nudge carbs so the macros add up to within 10 kcal of the target.

Keto mode

The keto calculator reverses the order: net carbs are fixed at the limit you choose (20, 30 or 50 g), protein is set by the same goal rules, and fat takes all remaining calories. Fat is rounded so the macros add up to within 5 kcal of the target. If fat falls below half of total calories, we show a warning, because that is low for a ketogenic diet.

6. Warnings

Limits of any calculator

Equations like Mifflin-St Jeor estimate the average for people like you; your real expenditure can be noticeably higher or lower. Activity factors are broad. Treat your result as a starting point, follow it for two to three weeks, and adjust using your weekly average weight.

The calculators are not designed for people who are pregnant or breastfeeding, under 18, managing diabetes, kidney disease or another medical condition, or with a history of disordered eating. Please work with a doctor or registered dietitian instead.

Sources

Change log

General information only, not medical advice.