Macro Nutrient Gram Calculator

Step 1

About you

For generally healthy adults only. Confirm the scope before viewing your estimate.

Used only for the metabolic-equation coefficient, not gender identity.

18–100 years, whole numbers. No recommendations for under 18s.

Measurement units

120–230 cm.

25–350 kg. Body-size extremes add uncertainty.

Step 2

Your goal

Starting scenarios: fat loss −15%, maintenance 0%, muscle gain +10%, performance 0%.

Include work, everyday movement and training together. Sedentary: mostly sitting; light: some movement; moderate: regular movement; very: active work/training; highly: sustained demanding activity.

Changes protein and the starting carb/fat balance, without adding exercise calories.

Used for context and the optional day split. It does not measure exercise expenditure.

Step 3

Your macros

Confirm the adult scope in Step 1 to view the estimate. If it does not apply, use individualized guidance from a qualified clinician or registered dietitian.

These are general estimates for adults, not medical nutrition advice. If you are pregnant, breastfeeding, under 18, have a medical condition affecting nutrition, or have a history of disordered eating, use individualized guidance from a qualified health professional.

Calculation inputs stay in this tab’s memory. They are not saved as a health profile or put into the URL. Refreshing restores the example inputs and clears the scope confirmation.

About this calculator

Estimate daily calories, protein, carbs and fat for your goal and training style, then customize your carb/fat balance.

This calculator provides general estimates for adults and is not medical nutrition advice. It offers a starting scenario for generally healthy adults, not a measured energy requirement or a meal plan.

How to use the Macro Nutrient Gram Calculator

Confirm that you are at least 18 and are not pregnant or breastfeeding. Enter the equation’s sex coefficient, age, height and weight in Step 1; select a goal, overall activity, training type and weekly training days in Step 2. The example starts at age 30, 180 cm and 80 kg, with the male coefficient, moderate activity, Maintenance, General Fitness and four training days.

Step 3 shows estimated calories and macros once the adult scope is confirmed and values are valid. Protein is locked by default. Unlock to enter custom grams, or use the carb/fat slider to adjust only the remaining energy. Invalid entries pause results until corrected. Switching units preserves the underlying measurements; correct invalid measurements before switching.

Copy summary and Share result export only rounded daily-average outputs and a plain calculator address. They exclude personal inputs and do not recreate your scenario. Inputs are not saved between visits.

How calorie needs are estimated

The model estimates resting metabolic rate (RMR), multiplies it by an activity factor, then applies a goal factor. Fat loss uses 0.85, Maintenance 1.00, Muscle gain 1.10 and Performance 1.00. The −15% and +10% changes are modest product scenarios, not guaranteed deficits, surpluses or individually validated prescriptions.

Raw targets below 1,500 or above 6,000 kcal/day pause macro recommendations and display the raw estimate with a referral for individualized guidance. No target is silently raised or lowered. The lower cutoff is a conservative product limit above NIDDK’s 1,000-kcal planner warning; neither threshold establishes a safe intake for every person. The upper cutoff limits a general-purpose tool’s scope and is not a physiological ceiling.

How the Mifflin–St Jeor equation works

We use the simplified Mifflin–St Jeor equation from the original study of 498 adults aged 19–78. With weight W in kilograms, height H in centimeters and age A in years:

  • Male coefficient: RMR = 10W + 6.25H − 5A + 5.
  • Female coefficient: RMR = 10W + 6.25H − 5A − 161.
  • Estimated maintenance = RMR × activity factor.
  • Goal calorie target = estimated maintenance × goal factor.

Values are kcal/day. The coefficient selection is for this equation only; it does not determine gender identity. Prediction is not measurement: indirect calorimetry can give a materially different resting-energy result. The page flags ages 18 and 79–100 as outside the original study’s age range.

How activity affects estimated maintenance calories

Activity assumptions used by this calculator
Overall activityRMR multiplier
Sedentary1.2
Lightly active1.375
Moderately active1.55
Very active1.725
Highly active1.9

These familiar five levels are coarse calculator assumptions, not the original Mifflin equation or a validated conversion from exercise days. Sedentary means mostly sitting; light includes some movement; moderate includes regular movement; very active includes active work or substantial training; highly active represents sustained demanding activity.

Include work, daily movement and exercise together when choosing a level. Training days do not add calories on top. NIDDK uses a different activity scale and a dynamic model: its factors should not be substituted directly into this simpler calculator. Activity selection is a major source of uncertainty.

How protein targets are estimated

The ISSN protein position statement describes roughly 1.4–2.0 g/kg/day for most exercising adults. Within that range, this calculator chooses 1.5 for General Fitness, 1.8 for Strength & Muscle, 1.6 for Endurance and 1.7 for Hybrid. Fat loss adds 0.2 g/kg, capped at 2.0; the other goals keep the training-type factor.

These exact mapping points are product choices within a published range, not evidence that one precise dose is optimal for a given label. The active-adult anchors are not minimum requirements for sedentary people. Protein grams = weightKg × selected factor; protein calories = grams × 4. Higher protein is not appropriate for everyone, particularly when individual clinical guidance is needed.

Why protein is the anchor

Protein stays fixed while the preference slider trades carbohydrate energy against fat energy. This makes the calorie total internally consistent. Unlocking protein exposes one custom field; carbs and fats remain calculated outputs.

Custom protein accepts 0.5–3 g/kg as a numerical exploration range, not a recommended intake range. Choices outside 1.4–2.0 g/kg get a neutral warning. The combination must also fit protein 10–35%, carbs 45–65% and fat 20–35% of calories (at age 18: protein 10–30%, fat 25–35%). If it cannot fit, recommendations pause rather than changing protein or calories silently. Relocking restores the weight-based estimate.

How carbs and fats share remaining calories

The National Academies’ broad reference distribution guides our bounds. It is not a sports-performance prescription. For adults 19+, fat is 20–35%, carbohydrate 45–65% and protein 10–35% of energy. At age 18 we use the 4–18-year fat reference of 25–35%; the same carb range and the age-specific 10–30% protein reference apply.

  • Remaining calories = target − proteinGrams × 4.
  • Let p = proteinCalories ÷ target. Fat’s lower fraction is max(age-based minimum, 1 − p − 0.65); its upper fraction is min(0.35, 1 − p − 0.45).
  • Clamp the training-mode default fat fraction into that feasible interval. Slider 0 uses the upper bound, 50 uses this default and 100 uses the lower bound; each half interpolates linearly.
  • Fat calories = target × chosen fat fraction; fat grams = fat calories ÷ 9.
  • Carb calories = remaining calories − fat calories; carb grams = carb calories ÷ 4.
  • Each percentage = macro calories ÷ target × 100.

Full-precision macro calories sum to the target. Whole-gram displays can differ by at most 8.5 kcal from unrounded energy, or 9 kcal from the rounded target. Percentages use the unrounded values and may sum to 99.9% or 100.1% after display rounding.

How training type changes the recommendation

Starting allocation at slider midpoint, before feasible-range bounds
Training typeProtein g/kgFat %
Strength & Muscle1.827%
Endurance1.625%
Hybrid1.726%
General Fitness1.530%

Endurance starts with more available energy directed to carbs; strength and hybrid sit between that and the general balance. ACSM’s joint statement supports matching nutrition to training demands. Our exact 25%, 27%, 26% and 30% starting fat fractions are transparent design choices within the reference range, not sport-specific prescriptions from that statement.

Training type also changes the protein anchor. It never adds arbitrary calories. Training days inform the explanation and optional split, not an estimate of calories burned in each session. This tool does not model session length, competition fueling or recovery needs for elite athletes.

Training days vs rest days

The optional split is off by default. For d training days (1–6), define t = (7 − d) ÷ 7 and r = d ÷ 7. Let F be base fat calories and L/U the allowed fat-calorie bounds. The shift S = max(0, min(0.03 × dailyTarget, (F − L) ÷ t, (U − F) ÷ r)).

Training-day fat energy is F − S×t; rest-day fat energy is F + S×r. Carbs receive the opposite change at 4 kcal/g, while protein and daily calories remain fixed. Weighted across d training days and 7−d rest days, every macro returns to its base average. The 3% shift is a small illustrative product choice, not a researched optimal cycling dose.

Zero or seven training days need no split. At a slider boundary there may be no room to redistribute; the calculator explains this and keeps the base allocation. It never pushes a day beyond its macro bounds.

How to adjust your macros over time

Review trends after a few consistent weeks, using activity, body-weight trends, training quality and recovery together. Short-term fluctuations do not establish a need to change intake.

  • Fat loss: review tracking accuracy and activity before considering small changes; avoid large cuts.
  • Muscle gain: if weight and performance are not gradually increasing, consider a small increase rather than a large jump.
  • Maintenance: reassess a consistent drift away from your intended range.
  • Performance: consider quality of training and recovery alongside weight trends.

This is general monitoring guidance. It neither guarantees a rate of change nor replaces individualized advice from a registered dietitian.

Assumptions and limitations

For generally healthy adults aged 18–100, outside pregnancy and breastfeeding. The scope confirmation is required before personalized results appear; ages under 18 are rejected. This tool does not screen for medical conditions and does not ask for diagnoses.

Use a qualified clinician or registered dietitian for a medical condition affecting nutrition, a history of disordered eating, kidney or advanced liver disease, active cancer treatment, medically prescribed diets, or other therapeutic nutrition needs. It does not diagnose or treat any condition.

Accepted body measurements are 120–230 cm and 25–350 kg. The page flags height below 145 or above 205 cm, or weight below 45 or above 150 kg, as body-size extremes. These are uncertainty notices, not diagnostic thresholds. No BMI or body-fat estimate is calculated.

The equation does not measure metabolism or account fully for body composition, medication, hormonal changes or individual variation. Activity multipliers add uncertainty. Daily needs can differ substantially from the estimate. This calculator is not designed for extreme training loads, clinical diets, meal planning or guaranteed weight change.

Conversions use exactly 2.54 cm/in and 0.45359237 kg/lb. Alternate displays use up to six decimal places while metric values remain canonical. Repeated unit toggles do not reconvert rounded displays.

Worked example

Male coefficient, age 30, 180 cm, 80 kg, Moderately active, Muscle gain, Strength & Muscle, four training days, protein locked and preference 50:

  • RMR = 10×80 + 6.25×180 − 5×30 + 5 = 1780 kcal/day.
  • Estimated maintenance = 1780 × 1.55 = 2759 kcal/day.
  • Target = 2759 × 1.10 = 3034.9 kcal/day.
  • Protein = 80 × 1.8 = 144 g (576 kcal).
  • Fat energy = target × 0.27 = 819.423 kcal; fat = 91.047 g.
  • Carbs = (target − protein energy − fat energy) ÷ 4 = 409.869 g.

Displayed: 3,035 kcal, 144 g protein, 410 g carbs and 91 g fat. These numbers are generated by the same engine used in the calculator and covered by deterministic tests.

Macro calculator FAQ

How does a macro calculator work?

It estimates energy from body size, age, equation coefficient and activity, applies a goal scenario, then divides that energy into protein, carbs and fat.

How are my maintenance calories estimated?

Mifflin–St Jeor estimates resting energy. The selected overall activity multiplier estimates maintenance. Both steps carry uncertainty; this is not a measured metabolism.

How much protein does the calculator recommend?

The locked anchor uses 1.5–1.8 g/kg by training type, with 0.2 added for fat loss and a 2.0 g/kg cap. These are starting estimates for active adults, not universal requirements.

Why does training type affect carbs?

Different training demands can call for different nutrition strategies. Endurance starts with a higher carb bias, while the exact slider midpoint is a transparent product assumption.

Can I choose higher fat and lower carbs?

Yes. Move the preference slider toward Higher fat. Calories and protein remain fixed; fat and carbohydrate stay inside the page’s stated bounds. This is not a keto mode.

Do my macros have to be exact every day?

No. These are rounded estimates, not a clinical prescription. Consistent patterns and longer-term trends matter more than matching a calculated gram on one day.

What changes between maintenance and muscle gain?

Maintenance uses the estimated maintenance calories unchanged. Muscle gain multiplies them by 1.10. Training-type protein remains the same, and remaining energy is allocated to carbs and fat.

Why might my real calorie needs differ?

Prediction equations, activity selection and individual circumstances all introduce error. Measured resting energy and observed maintenance over time can differ materially.

Should I use training-day and rest-day macros?

It is optional. The split illustrates a modest carb/fat trade while preserving protein, daily calories and weekly averages. With zero or seven training days, no split is needed.

Who should not use this calculator?

It does not provide recommendations for under-18s, pregnancy or breastfeeding. Anyone needing therapeutic nutrition, or with a relevant medical condition or history of disordered eating, should seek individualized professional guidance.

Sources and methodology review

Methodology reviewed September 28, 2026. This is an editorial source review, not a claim of clinical approval.

The original energy equation supports the RMR coefficients; NIDDK informs adult scope and the need for calorie-planning limits; the ISSN statement supports the active-adult protein range; National Academies tables inform distribution bounds; ACSM supports training context and individualized sports-dietitian guidance. Exact goal factors, activity mapping, training defaults, exploration bounds and the day-split size are documented product assumptions.