Macro Calculator

Options
Daily calorie target—
Protein—
Carbs—
Fat—

This macro calculator turns your daily calories into protein, carbs and fat in grams for your goal — balanced, low-carb, high-protein or keto. Everything runs in your browser; nothing is uploaded.

How your macros are calculated

The calculator starts from your calorie target. It estimates your TDEE with the Mifflin-St Jeor equation and your activity level, then shifts it for your goal — about 500 calories below maintenance to lose, at maintenance to hold, or above to gain. That calorie number is then divided among the three macros by the split you choose, and each share is converted to grams using its energy density: protein and carbohydrate are 4 calories per gram, fat is 9. So a 2,000-calorie balanced plan at 30/40/30 works out to about 150 g protein, 200 g carbs and 67 g fat. Need the calorie number on its own first? Use the TDEE Calculator or the Calorie Deficit Calculator.

Picking a split that fits your goal

Balanced (30/40/30) is the reliable default and works for most people cutting, maintaining or gaining. Low-carb and high-protein lift protein and trim carbs, which helps protect muscle in a deficit and suits people who train hard or prefer fewer starches. Keto takes fat very high and carbs very low to keep the body running on ketones. Across every split the constant is protein — it is the macro most tied to keeping muscle and staying full, so the dedicated Protein Calculator is a useful cross-check.

Hitting macros without obsessing

Macros are targets, not exams. Landing within five to ten grams of each is plenty for real-world results, and total calories still do the heaviest lifting for weight change. Prioritise protein, spread it across your meals, then let carbs and fat flex around your appetite, training and schedule. Consistency over weeks beats precision on any single day.

Frequently Asked Questions

What are macros?
Macros — short for macronutrients — are the three nutrients that supply energy: protein, carbohydrate and fat. Protein and carbs provide about 4 calories per gram, fat about 9. Counting macros means hitting daily gram targets for each rather than only watching total calories, which helps protect muscle and control energy while you lose or gain weight.
How are my macros calculated?
First the macro calculator estimates your TDEE from the Mifflin-St Jeor equation and your activity level, then adjusts it for your goal — about 500 calories below maintenance to lose or above to gain. That calorie target is split into protein, carbs and fat by the ratio you pick, and each share is divided by its calories per gram (4 for protein and carbs, 9 for fat) to give grams. The four presets are fixed percentage splits of protein / carbs / fat: balanced is 30/40/30, low carb 40/25/35, high protein 40/40/20 and keto 25/5/70. So on a 2,000-calorie balanced day you get 150 g protein, 200 g carbs and 67 g fat.
Which macro split should I choose?
The balanced split (30% protein / 40% carbs / 30% fat) suits most people and most goals. Low-carb and high-protein raise protein to protect muscle in a cut or support training. Keto pushes fat very high and carbs very low to keep the body in ketosis. Protein is the macro that matters most for body composition — keep it high across any split, and choose carbs versus fat based on preference and how you train.
Do I have to hit my macros exactly?
Your macro targets are targets, not laws, so you do not have to hit them exactly. Getting within about 5 to 10 grams of each is plenty for results. Protein is the one worth chasing most consistently because it drives muscle retention and fullness; carbs and fat have more room to flex around your preferences and daily schedule as long as total calories stay in range.

Sources

  • Institute of Medicine (2005). Dietary Reference Intakes — Acceptable Macronutrient Distribution Ranges (AMDR).
  • Calorie needs via the Mifflin-St Jeor equation (Mifflin et al., 1990).
These results are estimates for general fitness and educational use, not medical advice. Individual needs vary — consult a qualified healthcare or fitness professional before making significant diet, training, or health decisions.