Free Macro Calculator

Macro Calculator

A macro calculator turns your daily calorie target into grams of protein, carbs and fat. By default it sets protein at 0.8 g per lb (1.8 g per kg) of bodyweight, or 1.0 g per lb when you are losing weight, and splits the remaining calories about 60% carbs and 40% fat.

Updated November 2026

Units
Sex

feet and inches

Diet Style

Your daily calories and macros will appear here.
Guidance only, not medical advice. This calculator is for healthy adults aged 18 to 80. If you are pregnant or breastfeeding, have diabetes, kidney disease or another medical condition, or take medication, ask your doctor or a registered dietitian before changing your diet.

Worked Example: 30-Year-Old, 180 lb Man

Take a 30-year-old man who is 5 ft 10 in (177.8 cm), weighs 180 lb (81.6 kg), exercises 3 to 5 days a week and wants to maintain weight on the balanced preset.

  1. BMR: 10 × 81.6 + 6.25 × 177.8 − 5 × 30 + 5 = 1,782 kcal.
  2. TDEE: 1,782 × 1.55 (moderately active) = 2,762 kcal. Maintenance means eating 2,762 kcal.
  3. Protein: 81.6 kg × 1.8 g/kg = 147 g (588 kcal, 21% of calories).
  4. Remaining calories: 2,762 − 588 = 2,174 kcal, split 60% carbs and 40% fat.
  5. Carbs: 2,174 × 0.60 ÷ 4 = 326 g (1,304 kcal, 47%).
  6. Fat: 2,174 × 0.40 ÷ 9 = 97 g (873 kcal, 32%).
  7. Per meal: over 3 meals that is about 921 kcal, 49 g protein, 109 g carbs and 32 g fat each. Over 4 meals it is about 691 kcal, 37 g protein, 82 g carbs and 24 g fat.

The same man cutting eats 2,212 kcal with 180 g protein, 224 g carbs and 66 g fat. Bulking he eats 3,262 kcal with 147 g protein, 401 g carbs and 119 g fat. Open the calculator above and enter those numbers to check.

How This Macro Calculator Works

The calculator works in three steps and uses the same formulas as our calorie calculator and protein calculator, so the numbers agree across the site. It first finds how many calories you burn, then adjusts for your goal, then divides those calories into protein, carbs and fat. Everything runs in your browser and nothing is sent to a server.

1. Calories: Mifflin-St Jeor and activity

Your basal metabolic rate (BMR) comes from the Mifflin-St Jeor equation: 10 × weight (kg) + 6.25 × height (cm) − 5 × age, then +5 for men or −161 for women. Multiplying by an activity factor gives your total daily energy expenditure (TDEE), the calories that keep your weight stable.

Activity levelMultiplierExample TDEE*
Sedentary: desk job, little exerciseBMR × 1.22,138 kcal
Lightly active: exercise 1-2 days a weekBMR × 1.3752,450 kcal
Moderately active: exercise 3-5 days a weekBMR × 1.552,762 kcal
Very active: hard exercise 6-7 days a weekBMR × 1.7253,073 kcal
Athlete: hard training plus a physical jobBMR × 1.93,385 kcal

*For the 30-year-old, 180 lb, 5 ft 10 in man above (BMR 1,782 kcal). If you are unsure which level fits, pick the lower one, because overestimating activity is the most common source of error.

2. Goal: deficit or surplus

3. Protein first, then carbs and fat

Protein is set from your bodyweight rather than as a percentage of calories, because muscle needs depend on body size, not on how much you eat. The calculator uses 2.2 g per kg (1.0 g per lb) when you are losing weight and 1.8 g per kg (0.8 g per lb) when you maintain or gain. Both fall inside the ranges used by our protein calculator for people who lift weights. Protein is capped at 35% of calories so very low calorie targets stay realistic. The calories left after protein are divided between carbs and fat by the preset you choose. Protein and carbs provide 4 kcal per gram and fat provides 9 kcal per gram.

Diet style presets

PresetProteinRemaining caloriesExample split*Good for
Balanced1.8 g/kg (2.2 when losing)60% carbs, 40% fat21% P / 47% C / 32% FMost people, training performance
High protein2.2 g/kg always55% carbs, 45% fat26% P / 41% C / 33% FCutting, heavy lifting, fullness
Low carb1.8 g/kg (2.2 when losing)30% carbs, 70% fat21% P / 24% C / 55% FLower-carb eaters, appetite control
Keto1.8 g/kg (2.2 when losing)8% carbs, 92% fat21% P / 6% C / 72% FKetogenic diets, under about 50 g carbs
CustomYour own percentages of total calories, totalling 100%Coach or dietitian prescribed splits

*Maintenance for the 180 lb example man at 2,762 kcal. Percentages shift with your weight and calorie target.

These sit inside the Acceptable Macronutrient Distribution Ranges from the US Dietary Guidelines (carbohydrate 45-65%, fat 20-35%, protein 10-35% of calories), except the low carb and keto presets, which deliberately fall below the carbohydrate range.

Why protein is set per pound, not by percent

A meta-analysis of 49 trials found extra protein stopped adding muscle beyond about 1.6 g/kg (0.7 g per lb), with some people benefiting up to 2.2 g/kg (1.0 g per lb). In a calorie deficit, lean lifters hold more muscle at higher intakes, which is why the calculator raises protein to 2.2 g/kg when you are cutting. Spread protein across 3 to 4 meals of about 0.4 g/kg (0.18 g per lb) each, which is what the per-meal table shows.

How to use your macros

Sources

Macro Calculator FAQs

How do I calculate my macros?

Work out your daily calories first: estimate your BMR with the Mifflin-St Jeor equation, multiply by an activity factor to get TDEE, then subtract about 550 kcal to lose weight or add about 500 kcal to gain. Next set protein at 1.8 to 2.2 grams per kg of bodyweight (0.8 to 1.0 g per lb). Split the remaining calories between carbs (4 kcal per gram) and fat (9 kcal per gram) to suit your diet style. The calculator above does all of this in one step.

What is the best macro split for fat loss?

There is no single best split, because total calories decide fat loss and protein protects muscle. A good starting point is protein at 2.2 g per kg (1.0 g per lb), fat around 25 to 35 percent of calories and the rest as carbs. For a typical 180 lb man cutting at 2,212 kcal that works out to about 180 g protein, 224 g carbs and 66 g fat. Pick the carb and fat balance you can stick to, because adherence matters more than the exact ratio.

How much protein, carbs and fat do I need to build muscle?

Eat in a small surplus of about 300 to 500 kcal above maintenance, with protein at about 1.6 to 2.2 g per kg (0.7 to 1.0 g per lb). Fat should be at least 20 percent of calories, and carbohydrate fills the remaining calories to fuel training. A 180 lb man in a moderate-activity surplus eats about 3,262 kcal with 147 g protein, 401 g carbs and 119 g fat on the balanced preset.

What macros should I eat on keto or low carb?

Ketogenic diets usually keep carbohydrate below about 50 g a day, which is roughly 5 to 10 percent of calories, with protein moderate and the rest from fat. The keto preset here sets carbs at about 8 percent of your non-protein calories, which lands near 30 to 55 g for most adults. A low-carb preset puts carbs at about 20 to 25 percent of total calories, which is easier to maintain. If you have diabetes or take glucose-lowering medication, talk to your doctor before cutting carbs sharply.

How accurate is a macro calculator?

It is a starting estimate, not a measurement. The Mifflin-St Jeor equation predicts resting energy expenditure within 10 percent of the measured value for most adults, and the activity multiplier adds more uncertainty. Follow the numbers for two to three weeks, track your average body weight, and adjust calories by 100 to 200 kcal a day if your weight is not moving the way you want. Protein and fat targets rarely need changing.

Do I need to hit my macros exactly every day?

No. Aim to land within about 5 to 10 grams of your protein target and within 5 to 10 percent of your calories on most days. Calories and protein matter most for body composition, so if you can only track two things, track those. Carbs and fat can float a little as long as your weekly average is close to target and fat does not fall below about 20 percent of calories.

Track Your Macros in the App