Free calculator

Macro calculator: protein, carbs and fat for your goal

A macro calculator splits your daily calories into protein, carbohydrates and fat. Calorix sets protein first (1.6 g per kg of body weight, or 2.0 g per kg of your goal weight while losing), fat at 30% of calories, and carbohydrates fill the rest; protein and carbs have 4 kcal per gram, fat 9. Pick a quick start (weight loss, women, keto or muscle gain) or set your own goal and eating style: the calculator applies the same goals engine as the app, including its safety limits.

The formula Protein = 1.6 g/kg (2.0 g/kg of goal weight when losing) · Fat = 30% of calories ÷ 9 (25% lower fat, 70% keto) · Carbs = (calories − protein × 4 − fat × 9) ÷ 4

Your entries stay on this device. We never receive them.

Updated October 11, 2026 6 sources

Quick start
Units
Sex
Height

Light exercise 1 to 3 days a week

Goal
Eating style

30% of calories from fat

Saved on this device so other calculators can reuse it.

Your results

Toasty is waiting for your numbers

Fill in the fields and your results appear here instantly.

Toasty is hungry for numbers

Track it every day in Calorix

The app sets these targets for you and updates them when your weight or goal changes.

Get Calorix

Sources Mifflin et al., 1990Institute of Medicine, 2005AHA⁠/⁠ACC⁠/⁠TOS, 2013

Estimates for healthy adults, not medical advice.

Take it further

How to calculate your macros by hand

  1. Start from your calories. Use your daily calorie target: maintenance calories (TDEE), minus a deficit to lose or plus a surplus to gain. Example: 2,000 kcal.
  2. Set protein in grams. 1.6 g per kg of body weight, or 2.0 g per kg of your goal weight while losing. At 70 kg maintaining: 112 g, which is 448 kcal (112 × 4).
  3. Set fat as a share of calories. 30% of calories, divided by 9 kcal per gram: 2,000 × 0.30 ÷ 9 = 67 g (600 kcal).
  4. Give carbohydrates the rest. Subtract protein and fat calories and divide by 4: (2,000 − 448 − 600) ÷ 4 = 238 g.
  5. Check the result. Protein should stay under 35% of calories. Here it's 22%, fat 30% and carbs 48%, inside the National Academies' ranges for adults.

How the macro calculator works

It builds your split in five steps, exactly like the Calorix app:

  1. Calories. Your maintenance calories come from the Mifflin-St Jeor equation and your activity level. For a lose or gain goal, the calculator applies your weekly pace (capped at 1% of body weight) and never goes below 1,200 kcal for women, 1,500 kcal for men or 1,350 kcal for “other”. Calories are rounded to the nearest 10. The calorie deficit calculator explains both limits in detail.
  2. Protein. 1.6 g per kg of body weight, or 2.0 g per kg of your goal weight while losing, capped at 2.2 g per kg of current weight and at 35% of calories. See the protein calculator.
  3. Fat. A share of your calories that depends on your eating style.
  4. Carbohydrates. Whatever energy is left after protein and fat.
  5. Fiber and water. 14 g of fiber for every 1,000 kcal, and 33 ml of water per kg of body weight.

Eating styles

Style Fat Carbohydrates Good to know
Balanced (the app’s default) 30% of calories The remainder Sits comfortably inside the general guideline ranges
Lower fat 25% of calories The remainder More room for carbohydrates, such as grains and fruit
Low carb 30% of calories Up to 130 g or 26% of calories, whichever is lower Energy above the carb cap goes to fat
Keto 70% of calories Up to 30 g a day Energy above the carb cap goes to fat

For context, the National Academies’ dietary reference intakes give acceptable ranges for adults of 20–35% of calories from fat, 45–65% from carbohydrates and 10–35% from protein. Balanced and lower-fat splits stay close to these; keto deliberately sits outside them.

A worked example

A 30-year-old man, 180 cm, 80 kg, moderately active, losing 0.5 kg a week on a balanced split:

Nutrient Grams Calories Share
Daily target (2,209 rounded to 10) 2,210 kcal 100%
Protein (2.0 × 80 kg) 160 g 640 kcal 29%
Fat (30%) 74 g 663 kcal 30%
Carbohydrates (the rest) 227 g 907 kcal 41%
Fiber (14 g per 1,000 kcal) 31 g
Water (33 ml per kg, rounded to 50 ml) 2.65 L

Macros for weight loss

The Weight loss quick start sets a pace of 0.5 kg (about 1 lb) a week with a balanced split. Take a 35-year-old woman, 165 cm, 80 kg, lightly active:

Nutrient Grams Share of calories
Calories 1,510 kcal
Protein 132 g 35%
Fat 50 g 30%
Carbohydrates 132 g 35%
Fiber 21 g

Her protein rule asks for 2.0 g per kg (160 g), but protein never takes more than 35% of calories, so it’s capped at 132 g. That cap keeps a smaller calorie budget from turning into almost nothing but protein.

Macros for women

The Women quick start sets sex to female, which changes two things: the sex constant in the BMR (−161 instead of +5) and the calorie minimum (1,200 kcal instead of 1,500). The macro rules themselves are the same. A 30-year-old woman, 163 cm, 60 kg, moderately active, maintaining:

Eating style Calories Protein Fat Carbohydrates
Balanced (30% fat) 2,030 kcal 96 g 68 g 259 g
Lower fat (25% fat) 2,030 kcal 96 g 56 g 285 g

Keto macros (net carbs)

The Keto quick start sets fat to 70% of calories and caps carbohydrates at 30 g a day; protein is still set first. Most keto plans count net carbs, total carbohydrate minus fiber, and that’s the sensible way to read the 30 g: it leaves room for fiber from low-carb vegetables, nuts and seeds. A 30-year-old man, 180 cm, 80 kg, moderately active, maintaining:

Nutrient Grams Share of calories
Calories 2,760 kcal
Protein 128 g 19%
Fat 236 g 77%
Net carbs 30 g 4%
Fiber 39 g

Here the carbohydrates left after protein and fat would be 79 g, so the cap brings them down to 30 g and the extra energy goes to fat (77% instead of 70%). With a calorie deficit and a high protein target, keto can leave very little room for carbohydrates at all, which is worth knowing before you choose it.

Macros for muscle gain

The Muscle gain quick start sets a slow surplus of 0.25 kg (about 0.5 lb) a week; a slow gain limits how much of it is fat. A 25-year-old man, 178 cm, 72 kg, very active:

Nutrient Grams Share of calories
Calories 3,230 kcal
Protein 115 g 14%
Fat 108 g 30%
Carbohydrates 450 g 56%

Protein is 1.6 g per kg, where extra muscle gains level off for most people; the plentiful carbohydrates fuel training. The protein calculator shows how to spread it over four meals.

Fiber and water

  • Fiber. The 14 g per 1,000 kcal rule comes from the National Academies’ adequate intake for fiber, the reference behind most fiber targets. Vegetables, fruit, beans, lentils, whole grains, nuts and seeds are the easy wins.
  • Water. 33 ml per kg is a simple starting point, not a medical prescription. The National Academies set adequate intakes for total water from drinks and food of about 3.7 liters a day for men and 2.7 liters for women, and needs rise with heat and exercise.

When the numbers need a tweak

  • Protein cap. Protein never takes more than 35% of your calories, so a small calorie target doesn’t end up almost entirely protein. The calculator tells you when the cap applies.
  • Carb caps. On keto, carbohydrates stop at 30 g; on low carb, at 130 g or 26% of calories. Any leftover energy goes to fat, so your total still matches your target.
  • Training hard? If you do a lot of endurance work, you may feel better on the lower-fat style, which leaves more room for carbohydrates.

Tracking your macros in Calorix

Calorix turns this split into your daily targets and shows protein, carbs and fat left after every log, whether you snap a photo, scan a barcode or type “chicken salad and a coffee”. Each scanned ingredient shows its own macros, so you can see where the numbers come from and fix anything that looks off. Read more about the macro tracker.

Frequently asked questions

What are macros?

Macronutrients are the nutrients that provide energy: protein and carbohydrates give about 4 kcal per gram, fat about 9 kcal per gram. Tracking them shows what your calories are made of, not just how many there are.

What's the best macro split for weight loss?

There isn't one split that works best for everyone. What matters most for weight change is your calorie target; a higher protein intake helps you stay full and keep lean mass. Pick the eating style you can stick with.

Why does the calculator set protein first?

Protein has a specific target based on your weight and goal. Fat is then set as a share of calories, and carbohydrates fill the rest. That way your protein never gets squeezed out.

What macros should I eat to lose weight?

Your calorie target matters most for weight loss; within it, a higher protein intake helps you stay full and keep lean mass. Calorix uses 2.0 g of protein per kg of your goal weight while you lose weight (never more than 35% of calories), 30% fat and the rest from carbohydrates.

What's a good macro split for women?

The same rules apply to women and men; the numbers differ because calories and body weight differ. For example, a 30-year-old woman who is 163 cm, 60 kg and moderately active maintains on about 2,030 kcal: 96 g protein, 68 g fat and 259 g carbohydrates.

What are keto macros?

On Calorix's keto setting, fat is 70% of calories and carbohydrates are capped at 30 g a day; protein still comes first. Most keto plans count net carbs (total carbohydrate minus fiber), which leaves room for vegetables, nuts and seeds.

Is keto a good choice?

Keto sets fat at about 70% of calories and keeps carbohydrates very low, which is outside the general ranges in the U.S. dietary reference intakes. Some people like it; if you have a medical condition or take medication, talk to your doctor first.

How much water should I drink?

Calorix starts from 33 ml per kg of body weight, a practical default you can adjust. For context, the National Academies set adequate intakes for total water from drinks and food of about 3.7 liters a day for men and 2.7 liters for women.

Why does my calorie target depend on my sex?

The Mifflin-St Jeor equation includes a sex constant (+5 for men, −161 for women), and the recommended minimums are 1,200 kcal a day for women and 1,500 kcal for men. If you choose "other", Calorix uses the midpoint of both: −78 and 1,350 kcal.

Sources

  1. 1 Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. Institute of Medicine, The National Academies Press, 2005.
  2. 2 Dietary Reference Intakes for Water, Potassium, Sodium, Chloride, and Sulfate. Institute of Medicine, The National Academies Press, 2005.
  3. 3 Dietary Guidelines for Americans, 2025–2030. U.S. Department of Agriculture and U.S. Department of Health and Human Services, 2026.
  4. 4 Mifflin MD, St Jeor ST, Hill LA, et al. A new predictive equation for resting energy expenditure in healthy individuals. The American Journal of Clinical Nutrition, 1990.
  5. 5 Jensen MD, Ryan DH, Apovian CM, et al. 2013 AHA/ACC/TOS guideline for the management of overweight and obesity in adults. Circulation, 2014.
  6. 6 Jäger R, Kerksick CM, Campbell BI, et al. International Society of Sports Nutrition Position Stand: protein and exercise. Journal of the International Society of Sports Nutrition, 2017.

Log your next meal in seconds

Snap it, scan it or say it. Calorix does the math, shows its work, and Toasty cheers you on.

Free for 3 days, cancel anytime

Scan with your iPhone camera

Calorix is only for iPhone for now.