TheCalculatorHive

Macro Calculator

Calculate your daily protein, carb and fat grams from BMR, TDEE and a chosen calorie goal using the Mifflin-St Jeor equation and Atwater factors.

Sex
yr
kg
cm
kcal/day

Macronutrient split

Total: 100%
%
%
%

Grams are computed from each share of your goal calories using 4 kcal/g for protein and carbs and 9 kcal/g for fat. Keep the three shares adding up to 100% for the grams to match your calorie target.

Results update live as you type

Daily goal calories
Protein
Carbohydrate
Fat
Basal metabolic rate (BMR)
Total daily energy expenditure (TDEE)

Your daily macro breakdown

MacronutrientGramsCalories
Protein192 g768 kcal
Carbohydrate256 g1024 kcal
Fat85 g765 kcal
Total533 g2557 kcal
Like this? Share: Email

What the macro calculator does

Counting total calories tells you how much to eat, but not what to eat. This macro calculator takes the calorie-counting one step further: it estimates your daily energy needs and then divides your target calories into grams of the three macronutrients that make up every food label — protein, carbohydrate and fat. That way you can plan meals or set targets in a food-tracking app rather than guessing.

It works in three moves. First it estimates your Basal Metabolic Rate (BMR) — the energy your body burns at complete rest — with the Mifflin-St Jeor equation. Then it scales that up by an activity multiplier to give your Total Daily Energy Expenditure (TDEE). Finally it applies your chosen calorie adjustment (a deficit to lose, maintenance, or a surplus to gain) and splits the result into grams. If you only want the calorie side of that story, the TDEE calculator and the BMR calculator cover those steps in isolation.

A calorie target alone doesn’t tell you what to put on your plate. Structured macro targets give food tracking a concrete daily checklist — hit your protein gram number, fill the rest with carbs and fat — which is why many nutrition coaches and tracking apps build their guidance around grams rather than a single calorie count.

How the math works

The engine runs these steps in order:

BMR (male) = 10 × kg + 6.25 × cm − 5 × age + 5
BMR (female) = 10 × kg + 6.25 × cm − 5 × age − 161
TDEE = BMR × activity multiplier (1.2 to 1.9)
Goal calories = TDEE + your adjustment (floored at a safe minimum)
Protein g = goal kcal × protein% ÷ 4
Carb g = goal kcal × carb% ÷ 4
Fat g = goal kcal × fat% ÷ 9

The divisors 4, 4 and 9 are the Atwater general factors — the standard energy densities used on nutrition labels: protein and carbohydrate each yield about 4 kcal per gram, while fat is more than twice as energy-dense at 9 kcal per gram. That is why a “30% fat” split produces far fewer grams than a “30% carb” split from the same calories.

Percentages are shares of calories, not grams. Because fat packs 9 kcal into every gram, a diet that is 30% fat by calories is only a small pile of fat grams — always convert through calories before you compare macros.

Worked example

A 30-year-old man, 70 kg and 175 cm, moderately active, eating at maintenance with a 30% protein / 40% carb / 30% fat split. His BMR is about 1,649 kcal, his TDEE about 2,556 kcal, and those calories break down as follows (generated live by the same engine that powers the calculator, so the numbers can never drift from the tool):

MacronutrientShare of caloriesCaloriesGrams / day
Protein30%767 kcal192 g
Carbohydrate40%1022 kcal256 g
Fat30%767 kcal85 g
Total100%2556 kcal533 g

Choosing a macro split

There is no single “correct” split — the National Academies publish ranges (the Acceptable Macronutrient Distribution Ranges) rather than fixed targets. The table below shows where common approaches sit inside those ranges. Whichever you pick, the three shares must add up to 100% so the grams reconstitute your calorie goal.

ApproachProteinCarbFatTypical use
Balanced (default)25%50%25%Everyday maintenance
Higher protein35%45%20%Fat loss, preserving muscle
Higher carb20%60%20%Endurance training, lean bulk
AMDR range10-35%45-65%20-35%National Academies guidance

A per-body-weight protein target (roughly 1.6-2.2 g/kg for people who train) is often a better anchor than a flat percentage. Once you know your calorie goal from the calorie calculator, set your protein first, then divide the rest between carbs and fat to taste.

Assumptions and limitations

  • BMR uses Mifflin-St Jeor, the most accurate common predictive equation for healthy adults, but any predictive formula carries roughly ±10% error versus measured resting energy expenditure. Body composition, medications and health conditions all shift the real figure. Some calculators instead use the Katch-McArdle formula, which factors in lean body mass and can be more accurate for people who know their body-fat percentage; this tool uses Mifflin-St Jeor because it only needs age, weight, height and sex.
  • TDEE is BMR times a single activity multiplier; it does not separately model deliberate exercise and everyday movement (NEAT), so an unusually active or sedentary lifestyle may need a manual calorie tweak.
  • The percentage split is a convention, not a medical prescription. Protein needs are often better expressed per kilogram of body weight than as a flat percentage of calories.
  • The −500 kcal ≈ 0.45 kg/week rule is a linear approximation; real weight change slows as your body adapts.
  • Grams use the three-macronutrient Atwater model and are rounded to the nearest gram for display. Fiber, alcohol and sugar alcohols are not modeled separately. Mifflin-St Jeor is validated for adults, not children, adolescents, or pregnant/lactating women.

Frequently asked questions

What is a macro calculator?+

A macro calculator converts your daily calorie target into grams of protein, carbohydrate and fat based on a percentage split, so you know exactly how much of each macronutrient to eat rather than just a total calorie number.

How are my macros calculated from calories?+

Your goal calories are split by percentage into protein, carbs and fat, then each share is converted to grams using the Atwater energy factors: 4 kcal per gram of protein, 4 kcal per gram of carbohydrate, and 9 kcal per gram of fat.

What is a good macro split for weight loss?+

A common, well-rounded default is 40% carbohydrate, 30% protein and 30% fat, which sits inside the Acceptable Macronutrient Distribution Ranges (AMDR: carb 45-65%, protein 10-35%, fat 20-35%). Many people cutting weight prefer a higher protein share (35-40%) to help preserve lean mass; you can adjust the sliders as long as the three shares sum to 100%.

Why do my macro percentages have to add up to 100%?+

Each percentage represents a share of the same daily calorie total. If the shares don't sum to 100%, the resulting grams either overshoot or undershoot your actual calorie goal, so the split is always normalized to add up to exactly 100%.

How is my calorie goal calculated before splitting into macros?+

Your Basal Metabolic Rate (BMR) is estimated with the Mifflin-St Jeor equation, then multiplied by an activity multiplier to get your Total Daily Energy Expenditure (TDEE). Your goal calories are TDEE with an optional adjustment applied — typically -500 kcal/day for a cut or +500 kcal/day for a lean bulk.

How much protein do I need per day?+

This calculator expresses protein as a percentage of total calories, but many dietitians and strength coaches prefer setting protein directly by body weight — roughly 1.6-2.2 g per kg of body weight for people who train regularly. Compare that figure against the grams this tool produces and adjust your protein percentage if needed.

What happens if my calorie goal is very low?+

If a large calorie deficit combined with a low BMR would push your goal calories below a safe minimum, the calculator floors the target rather than showing a negative or unrealistically low number — deep, sustained deficits below roughly 1,200 kcal (women) or 1,500 kcal (men) are not recommended without medical supervision.

Are carbs 4 calories per gram for everyone, including fiber?+

The 4 kcal/g figure is the standard USDA Atwater general factor used for food-label calculations and is what this calculator uses. Dietary fiber technically yields less usable energy, but nutrition labels and most macro calculators do not separate it out, so treat the carb total as a practical estimate rather than a lab-precise figure.

Should I use the same macro split for a cut, maintenance and a bulk?+

Not necessarily. Many people keep protein percentage constant (or even raise it slightly) during a cut to protect muscle, then shift a bit more of their calories toward carbohydrate during a bulk to fuel training. Recalculate your split whenever your goal calories or activity level change.

How is a macro calculator different from a TDEE calculator?+

A TDEE calculator stops at your maintenance, cut and bulk calorie targets. A macro calculator takes that same calorie target one step further and breaks it down into daily protein, carbohydrate and fat grams — useful if you're tracking food with an app rather than just watching total calories.

Does this calculator account for fiber, alcohol or sugar alcohols separately?+

No. It uses the standard three-macronutrient Atwater model (protein, carbohydrate, fat) used on nutrition labels. Alcohol (7 kcal/g) and specialty ingredients like sugar alcohols are not modeled separately; if alcohol is a meaningful part of your diet, treat the calorie total as approximate.

Can I use these macros for a keto or low-carb diet?+

Yes. The macro fields accept any share from 0-100%, so you can set carbohydrate low and raise fat for a low-carb or ketogenic-style split — the AMDR bands (carb 45-65%, protein 10-35%, fat 20-35%) are shown as general guidance, not hard input limits. Just keep the three shares summing to 100% so the grams match your calorie target. For a strict clinical ketogenic protocol, work with a dietitian, since very-low-carb ratios carry their own considerations this general tool does not model.

Disclaimer

This calculator is provided for general educational and informational purposes only and uses population-level formulas that may not fit every individual. Its results are estimates, are not medical, diagnostic or nutritional advice, and are not a substitute for professional care. Please consult a qualified healthcare professional about your personal health.

Sources

Formula and data last reviewed by the TheCalculatorHive team on 10 July 2026. Figures are for general information, not professional advice.