HomeFinance CalculatorsMath CalculatorsFitness & Health CalculatorsEducation CalculatorsPregnancy Calculators

Macro Calculator

Calories set the energy budget; macros decide where those calories come from. This macro calculator turns a daily calorie target into grams of protein, carbohydrate and fat. You can pick common goal-based splits (fat loss, muscle gain, balanced, lower-carb) or enter your own percentages. The output is a practical daily target sheet you can use with any food-tracking method.

Enter a valid calorie amount. Custom ratios must add up to 100%.

Daily macro targets
—
—
Protein (g)
—
Carbs (g)
—
Fat (g)

How to Use the Macro Calculator

  1. Enter your daily calorie target (from a TDEE or calorie calculator).
  2. Select a goal preset or switch to custom and set protein, carb and fat percentages.
  3. Ensure custom ratios add to 100%, then calculate.
  4. Use the gram targets as daily guides and adjust based on hunger, performance and progress.

Enter your daily calories, then pick a goal preset. For your own split, choose Custom ratios and enter protein, carb and fat percentages that add up to 100 (within 0.5), or an error appears. The result shows grams of protein, carbs and fat, rounded to whole grams.

Macro Calculator Formula Explained

Calories × Macro % ÷ Calories-per-Gram

Protein and carbohydrate each contribute approximately 4 kcal per gram; fat contributes approximately 9 kcal per gram. For a given calorie total C and protein percentage P: protein grams = (C × P/100) ÷ 4. The same pattern applies to carbs. Fat grams = (C × F/100) ÷ 9. Presets such as 40/30/30 for fat loss or 30/45/25 for muscle gain are common starting points, not universal rules. Individual preference, training style and medical needs should refine the split over time.

The presets are Balanced 30/40/30, Lose fat 40/30/30, Build muscle 30/45/25 and Lower carb 35/25/40, in the order protein, carbs, fat. Because grams are rounded, the totals can differ from your calories by a few calories. The calculator does not use your body weight, so check protein against your own target if you train.

Macro Calculator Example Calculation

At 2,000 kcal with a 30/40/30 split you get roughly 150 g protein, 200 g carbohydrate and 67 g fat. A higher-protein cut preset shifts grams toward protein while keeping the calorie budget fixed. Track weekly averages rather than perfection every day.

Worked example: 2,000 calories with Balanced gives 150 g protein, 200 g carbs and 67 g fat. 2,200 calories with Lose fat gives 220 g, 165 g and 73 g. 2,800 calories with Build muscle gives 210 g, 315 g and 78 g. 1,800 calories with Lower carb gives 158 g, 113 g and 80 g.

When to use this tool

Use this once you have a calorie target from TDEE or a dietitian’s plan—common for gym goals and structured eating.

Key Features & Benefits of This Macro Calculator

Macro Calculator — FAQs

Do the percentages have to be exact every day?

Many people aim for weekly averages rather than perfect daily hits. Consistency over weeks matters more than single-day precision.

How much protein do I need?

Research often supports roughly 1.6–2.2 g per kg of body weight for people who train, with higher ends used during fat-loss phases. The calculator lets you set any percentage that matches your plan.

Can I use this with intermittent fasting?

Yes. The daily totals still apply; you simply distribute the same grams inside your eating window.

Do I need to hit my macros exactly every day?

No. Weekly averages matter more than daily precision — being within a reasonable range most days is enough for most goals.

Sources and review

Sources last checked: . These sources give the background for this calculator. They are general information and do not replace advice from a doctor, midwife or registered dietitian.

Related Calculators