A macro calculator can turn a broad nutrition goal into a practical starting point for daily calories, protein, carbohydrates, and fat. This guide explains how to estimate maintenance calories, create a sustainable calorie deficit or surplus, convert calories into macros, and adjust the plan when your body weight, activity, or results change.
Overview
Macros, short for macronutrients, are protein, carbohydrates, and fat. They provide calories and play different roles in a balanced eating pattern. Protein supports the maintenance and repair of body tissues, carbohydrates provide a readily available source of energy, and dietary fat helps support normal hormone production, cell structure, and absorption of fat-soluble vitamins.
A macro calculator does not produce a perfect prescription. It produces an estimate based on inputs such as age, height, body weight, sex, activity, and goal. Your actual calorie needs may be higher or lower than the estimate because activity, muscle mass, appetite, sleep, medications, and other factors vary. Treat the result as a starting point that you test and refine rather than a number you must follow exactly.
The basic sequence is:
- Estimate resting energy needs.
- Estimate total daily energy expenditure, or TDEE.
- Set calories for weight loss, maintenance, or muscle gain.
- Choose a protein target.
- Set a reasonable fat range and use the remaining calories for carbohydrates.
For a more focused starting point, use the TDEE Calculator to estimate daily calorie needs, then compare it with the guidance in this article.
How to estimate calories and macros
1. Estimate resting needs
One commonly used starting method is the Mifflin–St Jeor equation. For people who identify as male, the estimate is:
BMR = (10 × weight in kilograms) + (6.25 × height in centimeters) − (5 × age) + 5
For people who identify as female, the estimate is:
BMR = (10 × weight in kilograms) + (6.25 × height in centimeters) − (5 × age) − 161
BMR, or basal metabolic rate, is an estimate of the energy your body uses at rest. It is not the number of calories you should automatically eat because ordinary movement, exercise, digestion, and daily tasks require additional energy.
2. Estimate TDEE
Multiply BMR by an activity factor to estimate TDEE. These broad factors are useful assumptions, not precise measurements:
- 1.2: mostly sedentary, with little planned exercise
- 1.35: lightly active, with regular walking or occasional training
- 1.5: moderately active, with several training sessions or an active job
- 1.7: very active, with frequent demanding exercise or substantial physical work
If your routine changes from day to day, choose the factor that best represents your average week. It is usually better to start conservatively than to overstate activity.
3. Set calories for your goal
For weight loss, a modest calorie deficit is generally easier to maintain than an aggressive cut. A practical starting point is approximately 10% to 20% below estimated TDEE. For maintenance, begin near estimated TDEE. For muscle gain, a small surplus may be appropriate, especially when paired with progressive resistance training.
These ranges are starting assumptions, not universal rules. People with a history of disordered eating, those who are pregnant or breastfeeding, adolescents, and anyone managing a medical condition should seek individualized guidance from a qualified clinician or registered dietitian before setting calorie targets.
4. Convert calories into macros
Protein and carbohydrates provide 4 calories per gram, while fat provides 9 calories per gram. Use this worksheet:
- Daily calories: write your calorie target.
- Protein: choose a gram target, then multiply grams by 4.
- Fat: choose a gram target, then multiply grams by 9.
- Carbohydrates: subtract protein calories and fat calories from total calories, then divide the remainder by 4.
For many active adults, a protein starting point around 1.2 to 1.6 grams per kilogram of body weight can be practical. People dieting, strength training, or trying to preserve lean mass may prefer the upper end of that range. If you have significant excess body weight, using a goal weight or an individualized target may be more appropriate than multiplying current weight; a dietitian can help select the most useful method.
Rather than treating fat and carbohydrates as competing “good” and “bad” choices, set a reasonable fat floor and distribute the remaining calories according to preference, training demands, and tolerance. Include fiber-rich carbohydrates, unsaturated fat sources, and varied protein foods within your overall eating pattern.
Inputs and assumptions
The quality of a macro estimate depends on the quality of its inputs. Record your body weight using the same general conditions when possible, such as in the morning before eating. Height should be entered in centimeters if the equation requires it, and body weight should be converted to kilograms by dividing pounds by 2.205.
Activity is often the least reliable input. Include walking, work-related movement, household tasks, sports, and structured exercise. Avoid counting the same activity twice—for example, selecting a high activity factor and then adding a large separate exercise adjustment.
Macro percentages can be useful for checking a plan, but they are not the only way to build one. A plan with 30% protein, 30% fat, and 40% carbohydrates may look balanced on paper while still being difficult to follow. Food preferences, cultural meals, budget, digestion, schedule, and hunger matter. Build meals around a protein source, produce, a high-fiber carbohydrate when desired, and a source of unsaturated fat. The high-protein meal prep guide can help turn a protein target into practical meals.
Worked examples
Example: weight loss
Suppose a 35-year-old woman weighs 75 kilograms, is 165 centimeters tall, and chooses a lightly active factor of 1.4. Her estimated BMR is about 1,445 calories. Multiplying by 1.4 gives an estimated TDEE of about 2,023 calories.
A 15% deficit would produce a starting calorie target of approximately 1,720 calories. If she chooses 120 grams of protein, that contributes 480 calories. If she sets fat at 57 grams, that contributes 513 calories. The remaining calories are about 727, which equals approximately 182 grams of carbohydrates.
Her starting calculation is therefore 1,720 calories: 120 grams protein, 182 grams carbohydrates, and 57 grams fat. Small differences from rounding are normal. The aim is consistency across days, not mathematical perfection at every meal.
Example: maintenance or muscle gain
Using the same estimated TDEE, maintenance would begin near 2,020 calories. A small surplus might be approximately 2,100 to 2,200 calories, depending on training, appetite, and the desired rate of change. Protein could remain at 120 grams, while additional calories are added through carbohydrates, fat, or both. Someone training soon after eating may prefer more carbohydrate around workouts; someone who feels fuller with higher-fat meals may distribute calories differently.
For post-training meal ideas, see the post-workout nutrition guide. If you follow a vegetarian pattern, the vegetarian protein sources guide offers ways to reach a daily target.
When to recalculate
Revisit your macro calculator inputs when your body weight, activity, schedule, or goal changes. A useful review period is two to four weeks of reasonably consistent tracking, rather than reacting to one day or one weigh-in. Body weight naturally fluctuates with hydration, sodium, food volume, hormones, and digestion, so evaluate a trend using several weigh-ins when appropriate.
If weight is changing faster than intended, hunger is persistently high, training performance is falling, or the plan is difficult to sustain, increase calories modestly or adjust the structure of meals. If weight and measurements remain unchanged for several weeks despite a weight-loss goal, check portions, tracking accuracy, activity assumptions, and adherence before making a small adjustment. A change of roughly 100 to 200 calories per day is often easier to evaluate than a major overhaul.
Recalculate after a meaningful change in body weight, especially when a goal has been reached or a new training phase begins. Use the same equation and assumptions so the comparison remains useful. For a more detailed weight-loss target, see the calorie deficit calculator guide.
Action plan: calculate an initial TDEE, choose a modest goal-based adjustment, set protein first, choose a sustainable fat range, and assign the remaining calories to carbohydrates. Track your average results for two to four weeks, then change one variable at a time. This repeatable process is more useful than searching for a perfect macro ratio.