A macro calculator is a starting point, not a verdict. This guide shows how to estimate daily calories, set protein, divide the remaining calories between carbohydrates and fat, and adjust the numbers using real changes in body weight, training performance, hunger, and recovery.
Overview
Macronutrients are protein, carbohydrates, and fat. Protein supports muscle repair and helps preserve lean tissue during fat loss. Carbohydrates provide a practical source of training fuel, while fat supports normal body functions and makes meals more satisfying. Your macro targets are the daily amounts of these nutrients that fit within a chosen calorie target.
The calculation has four stages:
- Estimate your maintenance calories, sometimes called total daily energy expenditure or TDEE.
- Adjust calories for fat loss, maintenance, or muscle gain.
- Set protein and fat targets using body weight and your goal.
- Assign the remaining calories to carbohydrates.
Because calorie needs are affected by body size, movement, training, sleep, appetite, and other factors, the result is an estimate. Treat it as a repeatable starting point. A target that looks precise on paper still needs to be tested against your average results over several weeks.
For a fat-loss goal, a moderate calorie deficit is generally easier to maintain than an aggressive one. For muscle gain, a modest calorie surplus can support training and recovery without making unnecessary weight gain the objective. Maintenance is useful when you want to stabilize weight, assess performance, or practice consistent eating before changing calories.
How to estimate
1. Collect your inputs
Record your body weight, height, age, sex used by the formula, and a realistic description of your daily activity. Use a consistent unit system. If you weigh yourself in pounds, convert to kilograms by dividing pounds by 2.205. Convert height in inches to centimeters by multiplying by 2.54.
Body weight is usually the most useful input for setting protein and fat. Use a recent average if your weight is changing quickly rather than relying on a single morning measurement.
2. Estimate resting needs
A common starting estimate is the Mifflin–St Jeor equation:
- For men: resting calories = (10 × weight in kilograms) + (6.25 × height in centimeters) − (5 × age) + 5.
- For women: resting calories = (10 × weight in kilograms) + (6.25 × height in centimeters) − (5 × age) − 161.
This estimate represents energy used at rest, not your full daily requirement. Multiply it by an activity factor to create an initial TDEE estimate. A desk-based routine with little planned exercise may start around 1.2. Regular training with some daily movement may fit around 1.35 to 1.55. Frequent training and a physically active lifestyle may require a higher factor, such as 1.6 to 1.75. These are broad assumptions, so choose the lowest factor that honestly describes your usual week rather than your most active day.
Estimated TDEE = resting calorie estimate × activity factor.
3. Choose a calorie target
For maintenance, begin near estimated TDEE. For fat loss, subtract a moderate amount from TDEE; a practical starting point is often about 10% to 20%, depending on body size, training demands, and how much adjustment you can sustain. For muscle gain, add a modest amount rather than making a large jump. If your main goal is recomposition—losing fat while building or retaining muscle—maintenance calories or a small deficit paired with progressive strength training may be more appropriate than a traditional bulk.
4. Convert macros into calories
Protein and carbohydrates provide about four calories per gram, while fat provides about nine calories per gram. Use this conversion:
Carbohydrate calories = 4 × carbohydrate grams.
Protein calories = 4 × protein grams.
Fat calories = 9 × fat grams.
After setting protein and fat, subtract their calories from your daily target. Divide the remainder by four to find your carbohydrate target.
Carbohydrate grams = (daily calories − protein calories − fat calories) ÷ 4.
Inputs and assumptions
Protein is usually the first macro to set. A useful general starting range for active adults is approximately 1.6 to 2.2 grams per kilogram of body weight per day. Choose the lower end if you prefer a less restrictive target and the higher end if you are dieting, training hard, or find higher-protein meals satisfying. People with kidney disease or other medical conditions should ask a qualified clinician for individualized guidance.
For fat, set a floor that leaves room for satisfying foods and a varied diet. One practical starting range is roughly 0.6 to 1.0 grams per kilogram of body weight daily. This is not a rule that every person must meet exactly; it is a way to prevent a calculation from pushing fat unrealistically low. Carbohydrates then receive the remaining calories, with more carbohydrate often useful around demanding strength, endurance, or sports sessions.
Food labels, restaurant portions, cooking oils, sauces, drinks, and weekend meals can create gaps between calculated and actual intake. Choose a tracking method you can repeat. Weighing staple foods for a short learning period can improve portion awareness, but long-term accuracy does not require perfect measurement. Consistency matters more than false precision.
| Goal | Calorie starting point | Macro emphasis | What to monitor |
|---|---|---|---|
| Fat loss | Moderate deficit from maintenance | Keep protein consistent; use carbs and fat to support adherence | Weight trend, hunger, strength, recovery |
| Maintenance | Near estimated TDEE | Balanced distribution that supports normal training | Stable weight trend and performance |
| Muscle gain | Small surplus above maintenance | Protein consistency and sufficient carbohydrates | Strength, body-weight trend, waist changes |
Worked examples
Consider a 30-year-old person who weighs 70 kilograms, is 175 centimeters tall, and uses the men’s version of the Mifflin–St Jeor equation. The resting estimate is:
(10 × 70) + (6.25 × 175) − (5 × 30) + 5 = 1,674 calories, rounded.
If this person selects an activity factor of 1.45, estimated TDEE is approximately 2,427 calories. That number is a starting estimate, not a guaranteed maintenance level.
Example: fat loss
Using a 15% reduction gives a target of about 2,063 calories. Set protein at 140 grams, or 560 calories, and fat at 60 grams, or 540 calories. The remaining 963 calories go to carbohydrates: 963 ÷ 4 = about 241 grams. The resulting target is approximately 2,060 calories, 140 grams of protein, 60 grams of fat, and 240 grams of carbohydrates.
Example: maintenance
At roughly 2,425 calories, keep protein at 140 grams and fat at 70 grams. That leaves about 1,315 calories for carbohydrates, or approximately 329 grams. A person who prefers more fat and fewer carbohydrates can make that exchange while keeping total calories and protein similar.
Example: muscle gain
A small increase might produce a target near 2,550 calories. With 140 grams of protein and 70 grams of fat, approximately 1,470 calories remain for carbohydrates, or about 368 grams. These targets can be rounded to numbers that are easier to track. A difference of a few grams is not meaningful when the underlying TDEE estimate is itself approximate.
Distribute protein across meals rather than trying to consume it all at once. Place more of your daily carbohydrates before or after training if that improves energy and recovery. For practical meal ideas, see the pre-workout meal guide and post-workout nutrition guide.
When to recalculate
Do not change your macros because of one unusually high or low weigh-in. Track body weight under similar conditions and review a rolling weekly average. For fat loss, reassess after roughly two to four consistent weeks. If the average is not moving and adherence is strong, reduce calories modestly or add manageable activity. If weight is dropping quickly, training performance is falling, or hunger and fatigue are consistently high, increase calories slightly and review recovery.
For muscle gain, review the trend over several weeks. If strength is improving but weight is stable, you may be progressing well; if both are stagnant, a small calorie increase may help. If weight rises faster than intended or waist measurements change rapidly, reduce the surplus.
Recalculate whenever body weight changes substantially, training volume changes, daily activity changes, or your goal changes from fat loss to maintenance or muscle gain. Also revisit the estimate after an injury, a new work schedule, a significant change in cardio, or a sustained change in appetite. Keep protein relatively stable, then adjust carbohydrates and fat to fit the new calorie target.
Use this troubleshooting checklist before making another change:
- Have you tracked weekends, drinks, oils, sauces, and restaurant meals?
- Have you used a weekly weight average rather than one weigh-in?
- Has your step count or training schedule changed?
- Are sleep, stress, soreness, or recovery affecting performance and appetite?
- Is the target realistic enough to follow for several weeks?
Start with the calculation, write down your assumptions, follow the targets consistently, and adjust one variable at a time. That process is more useful than searching for a perfect macro ratio—and it gives you a clear reason to return to the calculator whenever your body, schedule, or goal changes.