How to Calculate Your Macros: A Step-by-Step Guide

Start here: New to macros? Start with our pillar — A Practical Guide to Macronutrients.
Macronutrients — Gazpro Nutrition
Macronutrients — Gazpro Nutrition

Step 1: Set Your Calorie Target

Macros are a way of dividing up a calorie budget, so the first thing you need is the budget itself. Your daily calorie target depends on your goal: eat at roughly maintenance to hold your weight, in a modest deficit (often 300–500 calories below maintenance) to lose fat, or in a modest surplus to build muscle. If you do not yet have a number, estimate your maintenance calories first — our calorie calculator does this using the Mifflin‑St Jeor equation — then adjust up or down for your goal. Every macro figure that follows is built on top of this number, so it is worth getting a sensible estimate before going further.

Do the whole calculation in one place → The macro calculator takes your calorie target and returns protein, carbohydrate and fat grams instantly, with goal presets and a live check against the official AMDR ranges.

Step 2: Lock Protein to Your Body Weight

Protein is the macro you should set first and by body weight, not by a round percentage, because its job — building and preserving muscle — depends on absolute grams. The Recommended Dietary Allowance of 0.8 grams per kilogram is only a floor for sedentary adults. If you train, the International Society of Sports Nutrition’s position stand points to roughly 1.4 to 2.0 grams per kilogram per day, with the upper end useful during a fat‑loss phase where protein protects lean mass and curbs hunger. A 70‑kilogram person aiming to build muscle might target around 120 to 140 grams a day. Set that gram figure first; the other macros divide up whatever calories remain.

Step 3: Set a Fat Floor

Fat is essential, not optional. It carries the fat‑soluble vitamins A, D, E and K and is required for hormone production, so the National Academies place its Acceptable Macronutrient Distribution Range at 20 to 35 percent of calories. Even on a lower‑fat plan, keeping fat at or above that 20 percent floor protects your hormones and vitamin absorption. A practical starting point is to assign fat somewhere in the 25 to 30 percent range and only push toward the floor deliberately, never by accident.

Step 4: Fill the Rest with Carbohydrate

With protein locked to your body and fat sitting at a sensible floor, carbohydrate becomes the flexible remainder — the fuel you dial up or down to match your training. The carbohydrate AMDR is 45 to 65 percent of calories, and active people, especially endurance athletes and heavy lifters, generally do better toward the upper end because carbohydrate powers high‑intensity work and the brain. Do not forget fiber, a carbohydrate the body cannot fully digest: the National Academies suggest about 14 grams per 1,000 calories, so a 2,000‑calorie day points toward roughly 28 grams. Letting carbohydrate flex is what lets the same framework serve a rest day and a heavy training day without rewriting the whole plan.

Converting Percentages to Grams

Once you have decided the share of calories for each macro, converting to grams uses the Atwater factors: protein and carbohydrate supply about 4 calories per gram, and fat about 9. To find grams, multiply your total calories by the macro’s percentage, then divide by that macro’s calories per gram. The division step is where fat’s density shows up — the same slice of calories yields fewer than half as many grams of fat as of protein or carbohydrate. Always confirm your three percentages total exactly 100; a split that sums to 95 or 110 quietly misses your calorie target. If you prefer to skip the arithmetic, the macro calculator performs every step and flags any split that leaves the AMDR.

Converting a calorie target into protein, carb and fat grams — Gazpro Nutrition
Lock protein first, set a fat floor, then let carbohydrate flex with your training.

A Full Worked Example

Take a 70‑kilogram person eating 2,200 calories to build muscle. Start with protein: target 1.8 grams per kilogram, which is 70 × 1.8 = 126 grams, or 126 × 4 = 504 calories — about 23 percent of the day. Next set fat at 28 percent, which is 2,200 × 0.28 = 616 calories, divided by 9 = about 68 grams. That leaves 2,200 − 504 − 616 = 1,080 calories for carbohydrate, which is 1,080 ÷ 4 = 270 grams, or roughly 49 percent of the day — comfortably inside the carbohydrate AMDR and well suited to training. The finished plan is about 126 g protein, 270 g carbohydrate and 68 g fat. Notice how protein was fixed by body weight, fat by a sensible floor, and carbohydrate simply absorbed the remainder — the exact ordering that keeps a plan both effective and compliant with the guidelines. Enter your own numbers in the calculator to produce your version in seconds.

Key takeaways

  • Set your calorie target first, then divide it into macros — macros are a way of splitting a calorie budget.
  • Lock protein by body weight (1.4–2.0 g/kg for active people per the ISSN), not by a round percentage.
  • Keep fat at or above its 20% AMDR floor to protect hormones and vitamin absorption.
  • Let carbohydrate flex as the remainder to match training, and aim for ~14 g fiber per 1,000 calories.
  • Convert with the 4/4/9 factors, and make sure your three percentages total exactly 100.

Frequently asked questions

Should I set protein by percentage or by body weight?

By body weight. Protein's job depends on absolute grams, so a round percentage can leave you short on a low calorie target. Set grams first (1.4 to 2.0 g/kg for active people per the ISSN), then convert to a percentage of calories and let the other macros divide the rest.

In what order should I set my macros?

Protein first (by body weight, to protect muscle), then a fat floor (at least 20% of calories, for hormones and vitamin absorption), then carbohydrate as the flexible remainder to match your training load. This ordering keeps a plan both effective and inside the official ranges.

How do I turn macro percentages into grams?

Multiply total calories by the macro's percentage, then divide by its calories per gram (4 for protein and carbohydrate, 9 for fat). Confirm the three percentages total 100, or the plan will miss your calorie target.

How much fiber should I aim for?

The National Academies suggest about 14 grams of fiber per 1,000 calories, so a 2,000-calorie day points toward roughly 28 grams. Fiber is a carbohydrate the body cannot fully digest, and it supports digestion and satiety, so it is worth tracking even though it does not fit neatly into a macro pie chart.

Can my macros differ on training and rest days?

Yes. A common approach is to keep protein and a fat floor constant and raise carbohydrate on hard training days while lowering it on rest days. Because carbohydrate is the flexible remainder in this framework, you can adjust it day to day without rewriting the whole plan.