Macro Calculator

Your daily protein, fat and carbs in grams. From your maintenance calories (Mifflin-St Jeor) and a goal: maintain, lose fat, gain muscle or keto.

Your details

Units
Sex

Ages 18 to 80.

Moderate exercise 3 to 5 days a week
Maintenance calories, protein 1.6 g/kg, fat 30%, carbs the rest.

Your daily macros

2,763 kcal/day

Maintain, from a TDEE of 2,763 kcal
  • Protein 131 g · 19%
  • Fat 92 g · 30%
  • Carbs 353 g · 51%

Compare the four goals

What your macros mean

The calories are your daily target; the three gram numbers split it between protein, fat and carbohydrate. Hit the calories and the protein first: they matter most for body weight and muscle. Fat and carbs can trade places a little from day to day.

The four goals are our choices, placed inside ranges from published sources: protein from the ISSN position stand (1.4 to 2.0 g/kg for people who exercise), fat and carbs checked against Health Canada's acceptable ranges for adults (protein 10 to 35%, fat 20 to 35%, carbs 45 to 65% of calories). If a split falls outside those ranges, the result says so.

  • Maintain: maintenance calories, protein 1.6 g/kg, fat 30%, carbs the rest.
  • Lose fat: 20% under maintenance, protein 2.0 g/kg, fat 30%, carbs the rest.
  • Gain muscle: 10% over maintenance, protein 1.6 g/kg, fat 25%, carbs the rest.
  • Keto: maintenance calories, protein 1.6 g/kg, carbs 30 g, fat the rest.

The formula

Calories = TDEE × goal factor
Protein (g) = weight (kg) × g/kg
Fat (g) = calories × fat % / 9
Carbs (g) = (calories − 4 × protein
            − 9 × fat) / 4
Keto: carbs = 30 g, fat = the rest

TDEE is the Mifflin-St Jeor BMR times your activity factor, as in our TDEE calculator. The 4, 9 and 4 kcal per gram are the general Atwater factors listed by the FAO.

Worked example in pounds

A 30-year-old man, 180 lb (81.6 kg), 5 ft 10 in, moderately active, goal maintain:

  • Calories = TDEE = 2,763 kcal
  • Protein = 81.6 × 1.6 = 131 g (523 kcal)
  • Fat = 2,763 × 30% / 9 = 92 g
  • Carbs = (2,763 − 523 − 829) / 4 = 353 g (51% of calories)

Worked example in kilograms

A 35-year-old woman, 65 kg, 165 cm, lightly active, goal lose fat:

  • Calories = 1,850 × 0.8 = 1,480 kcal
  • Protein = 65 × 2.0 = 130 g; fat = 49 g; carbs = 129 g
  • Carbs come to 35% of calories, under Health Canada's 45% minimum, so the calculator flags it. Lowering protein toward 1.6 g/kg or using a smaller deficit brings carbs back up.

Macros by goal

For the details entered in the calculator above, in grams a day. Your current goal is highlighted.

Daily macros for each goal
GoalkcalProteinFatCarbs
Maintain 2,763 131 92 353
Lose fat 2,211 163 74 224
Gain muscle 3,040 131 84 439
Keto 2,763 131 236 30

Variants of this calculator

The same formula with defaults, tables and notes set up for one use.

Frequently asked questions

How do I calculate my macros?

Three steps. Work out your daily calories (your TDEE, adjusted for your goal). Set protein in grams per kilogram of body weight. Give fat a share of the calories, then fill the rest with carbs. Protein and carbs carry 4 kcal per gram and fat 9 kcal per gram, the general Atwater factors used by the FAO. The calculator does all three steps.

What are the best macros for fat loss?

There is no single best split. What the research supports most is enough protein while eating less: the ISSN puts the range at 1.4 to 2.0 g/kg for people who exercise, and higher for lifters in a deficit. The "Lose fat" goal here uses 20% under maintenance, 2.0 g/kg of protein and 30% fat. With a big deficit, carbs can fall under Health Canada’s range of 45 to 65% of calories; the calculator says so when it happens.

What macros should I eat on keto?

A ketogenic diet keeps carbohydrate very low, usually under 50 g a day according to a 2013 review. The "Keto" goal here uses 30 g of carbs, 1.6 g/kg of protein and fat for the rest. For the default profile that is about 236 g of fat, 131 g of protein and 30 g of carbs. Keto sits far outside Health Canada’s ranges by design; talk to your doctor before starting it, especially if you take medication for diabetes or blood pressure.

Can I use these macros in MyFitnessPal?

Yes. Most food-tracking apps, MyFitnessPal included, let you enter a calorie goal and a percentage or gram target for protein, carbs and fat. Copy the calories and the three gram numbers (or the percentages) from the result into the app’s goal settings. We are not affiliated with any app.

Is this macro calculator free?

Yes, free and online, with no account and no email. It runs in your browser, so what you type is not sent to us or stored.

Embed this calculator

Coaches, gyms and bloggers can put this macro calculator on their own site for free. Paste this code where you want it; keep the credit line.

Preview

Weekly plan based on your numbers

One email a week with a training and eating plan built from the numbers you enter on our calculators.

Medical disclaimer

This calculator gives an estimate, not medical advice. Equations predict the average of a group; your own needs can sit 10% or more above or below. It is built for healthy adults. If you are pregnant or breastfeeding, under 18, living with a medical condition such as diabetes, kidney disease or an eating disorder, or taking medication that affects appetite or weight, ask your doctor or a registered dietitian before acting on these numbers.

Sources