How to Calculate Macros

Calories decide the scale. Macros decide what you're made of while you get there. The math behind protein, carb, and fat targets, and the four diet styles people actually use.

By 📅 Updated ⏱ 6 min read
⚡ Key Takeaways (TL;DR)

Protein and carbs supply 4 calories per gram; fat supplies 9. Pick a calorie target, pick a split (Balanced, High Protein, Low Carb, or Keto), and the math turns straight into grams. Get your exact numbers with our free macro calculator, which builds your calorie target from the Mifflin-St Jeor formula first, then splits it for you.

Get your macros: Enter your stats, pick a goal and diet style, get protein, carb, and fat grams instantly.
Open Macro Calculator →

The Direct Answer

A macro (short for macronutrient) is one of the three nutrients that supply calories: protein, carbohydrates, and fat. To calculate your macros, you take a daily calorie target, decide what percentage of it should come from each macro, then convert each percentage into grams using how many calories each macro provides: 4 calories per gram for protein, 4 for carbs, and 9 for fat. That is the entire calculation. The hard part isn't the arithmetic, it's picking a calorie target and a split that actually fits your goal, which is what the rest of this guide covers.

Calories are still the lever that decides whether you gain, lose, or hold weight. Macros don't override that. What they control is everything calories alone can't explain: how much of the weight you lose is fat versus muscle, how hungry you feel on the way there, and how much energy you have to train or get through a shift.

The Macro Math, Step by Step

Step 1 — Get a daily calorie target (from a TDEE calculator, or any number you're working with).

Step 2 — Pick a split: what percent of calories should be protein, carbs, and fat.

Step 3 — Protein grams = (calories × protein%) ÷ 4

Step 4 — Carb grams = (calories × carb%) ÷ 4

Step 5 — Fat grams = (calories × fat%) ÷ 9

Worked example. Say your calorie target is 2,075 a day (a 20% cut from a 2,594 TDEE), and you pick the Balanced split: 30% protein, 40% carbs, 30% fat. Protein = (2,075 × 0.30) ÷ 4 = 622.5 ÷ 4 = 156g. Carbs = (2,075 × 0.40) ÷ 4 = 830 ÷ 4 = 208g. Fat = (2,075 × 0.30) ÷ 9 = 622.5 ÷ 9 = 69g. Check the math: (156 × 4) + (208 × 4) + (69 × 9) = 624 + 832 + 621 = 2,077, close enough to 2,075 that the gap is just rounding. Our free macro calculator runs every step of this for any stats, goal, and split.

The Four Diet Styles Compared

There's no single correct macro split. These four cover almost everyone, from "just eat reasonably" to strict ketosis:

StyleProteinCarbsFatBest for
Balanced30%40%30%General health, sustainable long-term
High Protein40%30%30%Cutting, preserving muscle on a deficit
Low Carb35%20%45%Steadier energy, fewer appetite swings
Keto20%5%75%Strict carb restriction, ketosis

Notice keto's fat percentage looks huge next to its protein and carb numbers, but that's partly a gram-versus-calorie illusion: fat packs more than double the calories per gram of protein or carbs, so a 75%-of-calories fat intake is a smaller pile of food than the percentage suggests. None of these four is "correct." Balanced is the easiest to stick to for years. High Protein earns its keep specifically during a cut. Low Carb and Keto trade flexibility for appetite control and, in keto's case, a genuine metabolic shift.

How Much Protein Do You Actually Need?

Protein gets singled out because, unlike carbs and fat, your body can't make it well out of the other two and your muscles depend on it directly. Sports nutrition research generally lands between 0.7 and 1 gram per pound of bodyweight for people trying to build or keep muscle, with some benefit up to roughly 1.2g/lb during an aggressive cut, when the body is more prone to breaking down muscle for energy. A 180 lb person following that range eats somewhere between 126g and 180g of protein a day, well before any percentage-of-calories math comes in.

That bodyweight range and the percentage splits above are two different ways of getting to a protein number, and they don't automatically agree. A percentage is a slice of your calories, so the gram figure it produces moves with both your calorie target and your bodyweight: the same 30% Balanced split can work out to under 0.7g/lb for someone heavier on a tight cut, or well over 1.5g/lb for someone lighter on a bulk. Neither result is a mistake, it's just what a fixed percentage does as the other two numbers change. The calculator shows your actual g/lb figure under the results so you can check it against the 0.7–1.2g/lb range directly: too low, switch to High Protein or Low Carb; comfortably above it, that's not a problem, just not buying extra muscle past that point for most people.

Macros for Weight Loss, Specifically

Weight loss happens at a calorie deficit, full stop; no macro split changes that math. What the split changes is how the deficit feels and what you lose along with the fat. A higher-protein split (35 to 40% of calories) is the most consistently supported choice for cutting: protein is the most filling macro gram for gram, and it gives your body a reason to hold onto muscle instead of burning it for fuel alongside fat. Carbs and fat both matter for hitting the calorie number and keeping energy stable, but if you only adjust one macro during a cut, protein is the one worth protecting.

What the Calculator Can't See

This guide and the calculator behind it both inherit the same honest limits as any TDEE-based tool: the starting calorie number runs 10 to 20% off for a given individual, since it's built from population averages, not your actual metabolism. The percentage splits above are common, well-documented starting points, not a prescription from a dietitian who knows your labs, your medications, or a condition like kidney disease or diabetes that changes the macro math entirely. Use these numbers as a two-to-three-week starting point. Track how you feel and what the scale does, then adjust the split or the calories, not both at once, so you can tell what actually moved the needle.

Frequently Asked Questions

What are macros?

Macros (macronutrients) are the three nutrients that supply calories: protein and carbohydrates each provide 4 calories per gram, and fat provides 9 calories per gram. Calories control weight change; the macro split controls body composition, hunger, and energy.

How do I calculate my macros from my calories?

Pick a percentage split (for example 30% protein, 40% carbs, 30% fat), multiply your daily calorie target by each percentage, then divide the protein and carb calories by 4 and the fat calories by 9 to get grams. A free macro calculator does this math instantly for any calorie target and split.

How much protein do I need per day?

Sports nutrition research generally supports 0.7 to 1 gram of protein per pound of bodyweight for building or preserving muscle, with some benefit up to about 1.2g/lb during an aggressive cut. Sedentary adults can do well on less, closer to 0.5g/lb.

What macro split is best for fat loss?

A calorie deficit drives fat loss regardless of split, but a higher-protein ratio (35 to 40% of calories) is the most evidence-backed choice for cutting, since it preserves muscle and reduces hunger better than a lower-protein split at the same calorie level.

Is keto a type of low-carb diet?

Yes, but much stricter. A general low-carb split runs around 20% of calories from carbs. Keto runs around 5%, commonly under 50 grams a day, which is low enough to shift the body's primary fuel source toward ketones instead of glucose.

Keep Reading: Health Guides

Macros start from a calorie number, so if you haven't picked one yet, start with what is TDEE for the formula behind your daily burn and your cut, maintain, and bulk targets. And since BMI is the other number people check alongside macros, see how to calculate BMI for the formula, category tables, and what it misses.

Get your exact grams: Protein, carbs, and fat for your goal and diet style, free in your browser.
Open Free Macro Calculator →

Educational content only, not medical advice. Nutrition needs vary by individual and by medical condition; talk to a doctor or registered dietitian about your situation.