Free online macro calculator

Macro Calculator: Free Online Tool for Weight Loss & Muscle Gain

Free macro calculator that shows every formula step, from resting energy to grams of protein, carbs and fat, in metric or US units.

Target Calculator

Configure your metabolic variables and goals

Gender
yrs
cm
kg
1.465 × BMR
250 kcal/day deficit

DIAGNOSTIC ADAPTATIONS

Not sure? Leave as No.

BMR Formula

Live estimation active. All inputs validated.

Live Calculation

TARGET ENERGY INTAKE

2,150kcal / day

Optimized for mild fat loss while sustaining lean mass

Macronutrient Ratio30P / 40C / 30F
ProteinCarbsFats
Protein0g
0% • 0 kcal0 g/kg
Carbs0g
0% • 0 kcal0 g/kg
Fats0g
0% • 0 kcal0 g/kg
METABOLIC TELEMETRY
Basal Metabolic Rate (BMR)— kcal/day
Maintenance (TDEE)— kcal/day
Prescribed Deficit—

A macro calculator turns your stats and goal into daily protein, carb and fat targets in grams. This one prints every step, from the resting-energy equation to the final split, so you can check the math instead of trusting a black box.

Choose how to set your targets, then read the result panel. You can use a weekly pace and diet type, a goal with protein per kg, or your own calorie target. It is free, works in metric or US units and is built for healthy adults. Eight worked examples below show real numbers from start to finish.

What Is a Macro Calculator?

A macro calculator, also called a macronutrient calculator, estimates how many calories you burn in a day, adjusts that number for your goal, then splits the result into grams of protein, carbohydrate and fat. The answer is a daily target you can log against, not a prescription. Protein and carbs provide 4 kcal per gram and fat provides 9, so the three numbers always add back up to your calorie target. For the basics of each nutrient, see what are macros.

The calorie step is where most online macro calculators differ. This one uses the Mifflin-St Jeor equation, or Katch-McArdle when you enter body fat, then multiplies by an activity factor to get total daily energy expenditure. BMR and TDEE explains both terms in full. The goal and the split come after that, and the result panel shows the resting energy, maintenance calories and prescribed change beside the macros.

What Each Macro Does

Protein, carbohydrate and fat do different jobs, and the split you choose decides how much of your calories each one gets. What are macros covers each one in full.

Each macro also supplies a fixed amount of energy: 4 kcal per gram for protein and carbs, and 9 kcal per gram for fat (Atwater factors; FAO Food and Nutrition Paper 77, 2003). That is why 100 g of fat adds as many calories as 225 g of carbs.

Protein

Protein builds and repairs tissue and helps with fullness. The ISSN position stand puts exercising adults at 1.4 to 2.0 g/kg (Jäger et al., J Int Soc Sports Nutr 2017;14:20), and a meta-analysis found muscle-mass gains from resistance training plateau near 1.62 g/kg (Morton et al., Br J Sports Med 2018;52:376-384). The tool shows your protein in g/kg beside the grams, so you can check the split against those ranges.

Carbohydrates

Carbohydrates are the main fuel for hard training and the most flexible macro. Higher-carb diet types such as Endurance Athletic put most of the calories here. Fiber is counted inside carbs and is worth tracking separately.

Fat

Fat supplies essential fatty acids and carries fat-soluble vitamins. Very low fat intakes are rarely a good trade for a slightly higher carb number, so check the fat g/kg line shown in the result.

Macro

kcal per gram

Adult AMDR (% of calories)

Protein

4

10 to 35%

Carbohydrate

4

45 to 65%

Fat

9

20 to 35%

The ranges come from the Institute of Medicine’s Dietary Reference Intakes (National Academies Press, 2005). A diet-type preset can sit outside them on purpose. Ketogenic and Low Carbohydrate are deliberate departures, and that is the user’s choice to make, not an error.

How to Use This Macro Calculator

Fill in the fields from top to bottom and read the result panel last. The calculator updates as you change a field, so you can see what each input does. If a value falls outside the supported range, the tool says so instead of returning a number.

Changing one input at a time is the fastest way to see the effect. The supported ranges are age 18 to 80, weight 30 to 300 kg, height 120 to 230 cm and body fat 3 to 60%.

Your stats

Enter gender, age, height and weight. These feed the resting-energy equation directly, so small typos matter: 10 kg of weight error moves BMR by about 100 kcal, and more once the activity factor is applied. You can switch between metric and US units at any point; the tool converts internally and calculates in kilograms and centimeters.

Activity level

The tool offers six levels: Sedentary (1.2), Light (1.375), Moderate (1.465), Active (1.55), Very Active (1.725) and Extra Active (1.9). Pick the level that matches your average week including training, not your best week. Count daily movement outside workouts too (non-exercise activity thermogenesis, or NEAT), which can differ between people as much as the workout itself.

If you sit between two levels, choose the lower one and adjust after two to three weeks of real data.

How to set your targets

A dropdown above the goal fields chooses the method. Weekly pace and diet type is the default: pick a pace and a split of calories. Goal and protein per kg lets you choose fat loss, maintain, muscle gain or recomposition, then set protein per kilogram and fat as a share of calories, with the guide defaults filled in. My own calorie target skips the estimate and splits the calories you enter.

Fat loss uses a 20% deficit with protein at 2.0 g/kg and 25% of calories from fat. Maintain uses no adjustment, 1.6 g/kg protein and 30% fat. Muscle gain adds 10% with 1.8 g/kg protein and 25% fat, and recomposition holds calories at maintenance with 2.0 g/kg protein and 25% fat. In these two methods the 35% protein cap and the 0.6 g/kg fat minimum apply and show a note when they change a number.

Your goal

In the default method the goal is a weekly pace: maintain weight, lose 0.5, 1 or 1.5 lb per week, or gain 0.5 lb per week. Each pace changes your daily calories by about 250, 500 or 750 kcal, using the planning convention of roughly 500 kcal per pound per week. Faster paces leave less room in the calorie budget, and the tool applies a minimum of 1,200 kcal for women and 1,500 kcal for men. For the strategy behind a pace, read macros for weight loss.

Diet type

Diet type sets the split of calories between protein, carbs and fat: Balanced (30/40/30), Low Carbohydrate (40/20/40), Ketogenic (25/5/70), High Protein Bodybuilding (35/45/20) and Endurance Athletic (20/60/20), each written as protein / carbs / fat. Protein and carbs are 4 kcal per gram and fat is 9, so the same calories give very different gram totals across presets.

Optional inputs

Body fat switches the equation to Katch-McArdle, which uses lean mass. When you choose your own calorie target, height, activity, body fat and the adaptation questions are hidden because they are not used. The two adaptation questions, whether you are in a calorie deficit and whether you have lost more than 10% of your peak weight, lower the resting-energy estimate by 5% and 3% respectively to allow for metabolic adaptation. Calorie and macro cycling spreads the same weekly average across training and rest days.

How the Calculation Works: Formulas and Assumptions

The macro calculator runs four steps: resting energy, activity multiplier, goal adjustment, then the macro split. Mifflin-St Jeor is BMR = 10 × weight (kg) + 6.25 × height (cm) − 5 × age + 5 for men or − 161 for women. Katch-McArdle is BMR = 370 + 21.6 × lean mass (kg), where lean mass is weight × (1 − body fat). Multiply BMR by the activity factor for maintenance calories, then add or subtract the pace adjustment.

The full equations, constants and sources live on the methodology page, and the step-by-step version with arithmetic is in how to calculate macros. The assumptions are stated in the result panel too, so nothing on this page depends on taking the formulas on faith.

How to Interpret Your Macro Results

Treat the numbers from any macro calculator as a starting point and compare them with two to three weeks of real weight and appetite data before changing anything. Equations predict averages, and individuals vary around them, so a result that looks off after consistent tracking is a reason to adjust, not a reason to doubt the method.

When a guardrail changes your number, a note appears next to it. The calorie floor of 1,200 kcal for women and 1,500 kcal for men is the main one. For logging the targets once you have them, see how to count macros.

Macros vs Calories: Which Matters More?

A macro calorie calculator works in two layers: calories set the energy budget and macros set what that budget is made of. Two diets at the same calorie total can differ a lot in protein, which is why the calculator reports both.

For weight change, the calorie total does most of the work. A large randomized trial found similar weight loss across diets with different fat, protein and carbohydrate mixes when calories were reduced (Sacks et al., N Engl J Med 2009;360:859-873). Macros still matter for fullness, training and keeping muscle, so the practical order is calories first, then protein, then the carb and fat split by preference.

Macro Calculator Worked Examples

Each example below was calculated with the same equations as this macro calculator, so you can enter the same inputs above and get the same result. They cover a pace comparison, body fat, diet types, goal mode, your own calories, the calorie floor and the adaptation questions.

Every example ends with a short interpretation, because a number without context is where most mistakes start.

Example 1: weight loss at 0.5 lb per week

Female, 35 years, 165 cm, 70 kg, Active (1.55), Balanced split, 0.5 lb loss per week. BMR is 1,395 kcal and TDEE is 2,163 kcal. A 250 kcal deficit gives a 1,913 kcal target: 143 g protein, 191 g carbs, 64 g fat.

Interpretation: protein lands at about 2.0 g/kg and fat at about 0.9 g/kg, both comfortable. Faster paces trade calories for results, as the next example shows.

Example 2: comparing paces

The same woman at maintenance eats 2,163 kcal: 162 g protein, 216 g carbs, 72 g fat. At 1 lb per week the target is 1,663 kcal (125 / 166 / 55 g). At 1.5 lb per week it is 1,413 kcal (106 / 141 / 47 g).

Interpretation: each step removes 250 kcal, and protein falls from 2.3 g/kg to 1.5 g/kg across the Balanced split. If you want protein to stay high on a fast pace, switch to a higher-protein diet type or choose a slower pace.

Example 3: muscle gain with body fat entered

Male, 28 years, 180 cm, 82 kg, 15% body fat, Active (1.55), Balanced split, 0.5 lb gain per week. Katch-McArdle gives a BMR of 1,876 kcal and a TDEE of 2,907 kcal. Adding 250 kcal gives 3,157 kcal: 237 g protein, 316 g carbs, 105 g fat. Without body fat, Mifflin-St Jeor returns 3,056 kcal (229 / 306 / 102 g).

Interpretation: the optional input changed the target by about 100 kcal. If you know a reasonable body fat estimate, entering it is worth the extra field; if you are guessing, the default is safer. Check the protein g/kg line too, since a percentage split can run above the usual ranges at higher calories.

Example 4: choosing a diet type

The same woman at 1,913 kcal gets 143 / 191 / 64 g on Balanced, 191 / 96 / 85 g on Low Carbohydrate, 167 / 215 / 43 g on High Protein Bodybuilding, 96 / 287 / 43 g on Endurance Athletic and 120 / 24 / 149 g on Ketogenic.

Interpretation: calories stay the same and only the mix changes. Choose a preset because it fits how you eat and train, then judge it on two to three weeks of results.

Example 5: the calorie floor

Female, 50 years, 155 cm, 50 kg, Sedentary (1.2), 1 lb loss per week, Balanced split. TDEE is 1,269 kcal, so a 500 kcal deficit would give 769 kcal. The tool raises the target to the 1,200 kcal floor and shows a note: 90 g protein, 120 g carbs, 40 g fat.

Interpretation: a pace that needs a target below the floor is a sign to choose a slower pace or a higher activity level. This minimum is a product guardrail, not an individual safety assessment.

Example 6: the adaptation questions

Back to Example 1 with the calorie-deficit question answered Yes: BMR drops 5% to 1,325 kcal and the target falls to 1,805 kcal (135 / 181 / 60 g). Answering Yes to both questions applies an 8% cut and gives 1,740 kcal (131 / 174 / 58 g).

Interpretation: the adjustment is small and deliberate. Answer Yes only when it truly applies, because it lowers the number you eat to.

Example 7: goal mode, fat loss

Female, 35 years, 165 cm, 70 kg, Active (1.55), method Goal and protein per kg, goal fat loss. BMR is 1,395 kcal and TDEE is 2,163 kcal. A 20% deficit gives a 1,730 kcal target: 140 g protein, 184 g carbs, 48 g fat.

Interpretation: protein is fixed by body weight at 2.0 g/kg, fat takes 25% of calories, and carbs are what remains. If she feels under-fueled, the deficit is the lever to change, not protein.

Example 8: your own calories

Male, 40 years, 75 kg, already eating 2,400 kcal and maintaining weight, method My own calorie target, goal maintain. The tool skips BMR and TDEE and splits that number directly: 120 g protein, 300 g carbs, 80 g fat.

Interpretation: if you have weeks of stable weight at a known intake, that is better evidence than any equation. Use this method and let the macros follow your real data.

Macro Splits: 40/40/20, 40/30/30 and Others

A macro split states calories as percentages of carbs, protein and fat. The common templates are 40/40/20 (the “40-40-20 rule”: 40% carbs, 40% protein, 20% fat), 40/30/30 and 50/30/20. They are templates, not requirements. This macro calculator uses diet-type presets for the split, so compare any template to the presets above before you commit. That is also the idea behind an IIFYM macro calculator: if it fits your macros, any food counts, and you track grams against a fixed split.

The table converts each template at 2,000 kcal so you can compare the grams. For the full comparison of patterns, see how to calculate macros.

Macro calculator split (carbs / protein / fat)

Carbs

Protein

Fat

40 / 40 / 20

200 g

200 g

44 g

40 / 30 / 30

200 g

150 g

67 g

50 / 30 / 20

250 g

150 g

44 g

30 / 40 / 30

150 g

200 g

67 g

For a 70 kg adult, 40/40/20 at 2,000 kcal is about 2.9 g/kg of protein and 0.63 g/kg of fat. Converting a template to g/kg before you commit to it shows whether it fits your body weight.

How to Adjust Your Macros After Two to Three Weeks

Treat the first two to three weeks as data. Compare your average weekly weight change with the pace you planned, and change calories only if the gap persists. Weigh at the same time of day and use a weekly average, because early shifts often reflect water, not fat.

A gap of 0.25 lb per week is about 125 kcal a day on the same 500 kcal per pound convention the pace presets use. It is a planning heuristic, not a law, and individual change varies. Check logging accuracy and the activity level before cutting anything, and re-run the calculator when your weight changes meaningfully, because maintenance calories drift as body weight changes.

Benefits and Risks of Tracking Macros

Tracking turns a goal into numbers you can act on. It makes protein shortfalls visible, helps you diagnose a stalled plan, and lets you fit foods you like into a target. Those benefits depend on logging accurately, which is the hardest part.

The risks are real too. Tracking takes effort, label and logging errors add up, and numeric targets can feed an unhealthy focus on food. Anyone with a history of disordered eating should skip numeric tracking and talk to a professional first. How to count macros covers who tracking suits and simpler alternatives.

Common Macro Mistakes

Most problems with a macro plan come from the inputs and the follow-through, not the formula. These are the four that cause the most wasted weeks:

  • Choosing a higher activity level than your real weekly average, which any macro calculator will take at face value.
  • Logging by eye, and skipping oils, sauces and drinks.
  • Changing targets after a few days instead of two to three weeks.
  • Hitting one macro and ignoring everything else, including fiber and food quality.

Each one is fixable. Re-check the activity level first, then the logging, and only then change the target. You do not need to hit macros exactly every day: land close on most days and judge protein on the weekly average.

Errors and Notes in the Tool

Whenever a guardrail alters your result, a note appears beside it, and the table below lists each one with its trigger.

Message

Trigger

What the tool does

What you should do

Calorie floor applied

Target falls below 1,200 kcal (women) or 1,500 kcal (men), as in Example 5

Raises the target to the floor and shows a note

Choose a slower pace or a higher activity level, or ask a professional before eating this low

Resting energy reduced

You answer Yes to the calorie-deficit or weight-reduced question

Lowers BMR by 5% and 3% respectively

Answer Yes only if it applies

Body fat missing

Katch-McArdle is selected with no body fat entered

Asks for the value

Enter body fat or switch to Mifflin-St Jeor

Input out of range

Age, height, weight or body fat outside the supported range

Stops and names the field

Correct the value; the tool does not guess

A note is information, not an error. Read it as the tool telling you where the inputs and the goal pull against each other.

Your Data and Privacy

This tool is built for healthy adults and gives estimates, not medical advice. If you have a medical condition, are pregnant, or have a history of disordered eating, talk to a qualified professional before using numeric targets. See the privacy policy for what the site collects.

FAQs

Estimate your daily calories, adjust them for your goal, then split them into protein, carbs and fat. The calculator above does all three steps, and how to calculate macros walks through the arithmetic by hand.

Choose Goal and protein per kg with muscle gain: a 10% surplus, 1.8 g/kg protein and 25% of calories from fat. You can also use a gain pace of 0.5 lb per week with a diet type such as Balanced or High Protein Bodybuilding. Example 3 above shows the full numbers for an 82 kg man.

Pick the level that matches your average week, including training. If you are between two levels, choose the lower one. Overestimating activity is the most common reason a target feels too high. BMR and TDEE explains how each factor is used.

It is a split of 40% carbs, 40% protein and 20% fat. At 2,000 kcal that is 200 g carbs, 200 g protein and 44 g fat. It is one template among many, not a rule. See the macro splits section above.

No calculator is validated for every individual. A 2005 review found Mifflin-St Jeor predicted resting energy within 10% of measured in more adults than the other equations tested, with noteworthy errors in individuals (Frankenfield et al., J Am Diet Assoc 2005;105:775-789). To compare two, enter the same inputs and check resting energy first, then the activity factor. This page shows each assumption so you can run the same check on it.

There is no single best formula or ideal macro split for fat loss. A defensible starting point is to estimate energy with Mifflin-St Jeor (Katch-McArdle if you know body fat), apply a moderate deficit, keep protein high and let carbs and fat fill the rest. See macros for weight loss.

Conclusion

A good macro calculator gives you a number you can check, not one you have to trust. This one shows the formula, the assumptions and any note beside each result, so you can see why a target is what it is. Start with the defaults, compare against two to three weeks of real data, and adjust from there.

If you want more depth, what are macros covers the basics, how to count macros covers logging, and macros for weight loss covers pace and split. The methodology page lists every equation and source behind the tool.

Sources

  • Mifflin MD, St Jeor ST et al. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr 1990;51:241-247.
  • Frankenfield D, Roth-Yousey L, Compher C. Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults. J Am Diet Assoc 2005;105:775-789.
  • Katch-McArdle formula (lean-mass-based resting energy estimate), from the Exercise Physiology textbook by McArdle, Katch and Katch.
  • Jäger R et al. International Society of Sports Nutrition position stand: protein and exercise. J Int Soc Sports Nutr 2017;14:20.
  • Morton RW et al. Protein supplementation and resistance training-induced gains in muscle mass and strength. Br J Sports Med 2018;52:376-384.
  • Sacks FM et al. Comparison of weight-loss diets with different compositions of fat, protein, and carbohydrates. N Engl J Med 2009;360:859-873.
  • Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. National Academies Press, 2005.
  • FAO. Food energy: methods of analysis and conversion factors. Food and Nutrition Paper 77, 2003.