NutritionAugust 3, 2026·6 min read

How to Calculate Your Macros (Protein, Carbs, and Fat)

How do you calculate your macros? Set your total daily calories based on your goal, set your protein target first from your bodyweight, set a minimum fat intake, then let carbohydrates fill whatever calories are left. That order, protein and fat first as fixed amounts, carbs as the flexible remainder, matters more than any specific percentage split you see online.

Most macro calculators hand you a percentage split and stop there, which sounds precise but hides the actual logic. Here is how to build your own numbers and understand why they work.

How do you calculate your macros, step by step?

Start with total calories, since everything else is built from that number. If you are trying to lose fat, that means a calorie deficit; if you are trying to build muscle, it means a calorie surplus; if you want to maintain, it is your maintenance number.

From there, set your macros in this order:

  1. Protein first, as grams per pound of bodyweight, not a percentage.
  2. Fat next, as a minimum gram target, also based on bodyweight.
  3. Carbs last, filling whatever calories remain after protein and fat.

This order matters because protein and fat needs are tied to your bodyweight and health, not to your total calorie number. A percentage-based split can quietly under-shoot protein on a lower-calorie diet or push it unnecessarily high on a higher-calorie one. Setting protein and fat as fixed amounts first avoids that problem entirely.

How much protein should be in your macros?

Set protein at 0.7 to 1 gram per pound of bodyweight per day, regardless of whether you are cutting, bulking, or maintaining. A 150 pound person lands around 105 to 150 grams a day. This range covers nearly everyone actively training, and it stays fairly constant across goals since protein's job, supplying material for muscle repair and growth, does not change much whether your calories are up or down.

Protein has 4 calories per gram, so multiply your gram target by 4 to see how many of your total calories it accounts for before moving to the next macro.

How much fat do you need?

Set a fat minimum of about 0.3 to 0.4 grams per pound of bodyweight per day, roughly 20 to 30 percent of total calories for most people. Fat plays a direct role in hormone production, including testosterone and estrogen, and going meaningfully below this minimum for an extended stretch is associated with disrupted hormone levels, which works against the training results you are trying to get.

Fat is the macro people cut too aggressively when calories get tight, usually to leave more room for carbs. It is fine to sit at the low end of the range on a cut, but going below it for weeks at a time tends to backfire.

Fat has 9 calories per gram, more than double protein or carbs, so it is also the macro where small gram changes move your total calories the most. Multiply your fat gram target by 9 to see its calorie contribution.

What about carbs?

Carbs get whatever calories are left after protein and fat are accounted for. Take your total daily calorie target, subtract the calories from your protein and fat targets, and divide what remains by 4 (since carbs are also 4 calories per gram) to get your carb target in grams.

This is intentional. Unlike protein and fat, carbohydrate needs scale much more directly with total calories and training volume, more carbs on higher-calorie, higher-training-volume days, fewer on lower ones, without the same downside risk that under-eating protein or fat carries. Carbs are also your main fuel for training performance, so this is not a macro to slash to zero even on a cut.

Do your macros change based on your goal?

The protein and fat targets stay mostly the same across goals since they are set from your bodyweight, not your calorie total. What changes is total calories, which shifts how many carbs you end up with. Cutting calories for fat loss mostly means eating fewer carbs, since protein and fat stay close to their bodyweight-based targets. Adding calories to build muscle mostly means adding more carbs on top of that same protein and fat base.

This is also why a fixed percentage split like "40/30/30" applied blindly across a cut and a bulk can miss the mark: it moves protein and fat around with total calories when what should actually move is carbs.

Do you need to hit your macros exactly every day?

No, and trying to is usually where people burn out on tracking. Getting reasonably close to your protein and calorie targets most days drives results, not a single flawless day surrounded by days you stopped logging out of frustration. Treat your macro numbers as a target to aim near, not a rule to break yourself over on a day that goes over.

Actually calculating macros by hand for every meal is where most people give up, not because the math is hard, but because it is tedious to repeat three times a day. OneFit's meal scanning estimates protein, carbs, fat, and calories from a photo of your plate, so you get the same numbers this guide walks through without doing the arithmetic yourself every time you eat.

Let OneFit AI build the plan for you

OneFit AI generates a personalized plan from your goals, picks the exercises, and adjusts as you get stronger. Free to download.

Download on the App Store

FAQ

How do you calculate your macros? Set your total daily calories based on your goal, set your protein target from your bodyweight (0.7 to 1 gram per pound), set a fat minimum (about 0.3 to 0.4 grams per pound), then fill your remaining calories with carbohydrates.

How many calories are in a gram of protein, carbs, and fat? Protein and carbohydrates each have 4 calories per gram. Fat has 9 calories per gram, more than double, which is why small changes in fat intake move total calories more than the same change in protein or carbs.

What is the best macro split for building muscle or losing fat? There is no single best split by percentage. Setting protein and fat as gram targets based on your bodyweight, then filling the rest with carbs, works better than a fixed percentage because your protein and fat needs do not scale with total calories the way carbs do.

How much fat should be in your macros? At least 0.3 to 0.4 grams per pound of bodyweight per day, roughly 20 to 30 percent of total calories. Going much lower than that for an extended period is linked to disrupted hormone production.

Do you need to hit your macros exactly every day? No. Getting close most days matters far more than hitting an exact number every single day. Weekly consistency drives results, not one perfect day followed by several untracked ones.

Turn this into your plan

OneFit AI builds a personalized version from your goals in seconds, then tracks it and tells you when to progress. Free to download.

Keep reading