How to calculate your macros
Counting macros sounds complicated, but it is three steps and a little arithmetic. Here is exactly how to turn a calorie target into daily protein, carb and fat grams, with a worked example.
Split your daily calories into protein, carbs and fat for the diet style you choose.
Counting macros is one of those fitness habits that sounds far more technical than it is. Strip away the jargon and it is just three steps: find how many calories you should eat, decide how to split them between protein, carbs and fat, then turn those slices into grams you can actually track. Do it once and you have a simple daily target that works far better than guessing.
In short: to calculate your macros, set a daily calorie target, split it into protein, carbohydrate and fat, then convert each slice into grams. Protein and carbs give 4 calories per gram, fat gives 9. A balanced split of 30% protein, 40% carbs and 30% fat is a common starting point, and a free macro calculator does the whole thing in seconds.
What macros actually are
Macronutrients, macros for short, are the three things in food that give you energy: protein, carbohydrate and fat. Counting macros simply means setting a daily gram target for each one and roughly hitting it, instead of only watching total calories. People bother because the same calorie total can be built very differently, and the mix changes how full you feel, how much muscle you keep while dieting, and how you train.
Each macro carries a known amount of energy, and that is the key to the whole calculation. Protein and carbohydrate each provide about 4 calories per gram, and fat provides 9. These are the standard Atwater energy values the USDA publishes for food. Those three numbers, 4, 4 and 9, are how you turn a calorie target into grams on a plate.
Step 1: Find your daily calorie target
Macros live inside a calorie budget, so you need that number first. Start from your total daily energy expenditure (TDEE), the calories you burn in a day including activity. The usual way to estimate it is the Mifflin-St Jeor equation for your resting rate, multiplied by an activity factor. Our calorie calculator does that for you, and our guide on how many calories to lose weight explains the deficit in full.
Then adjust for your goal:
- Fat loss: eat below your TDEE, usually a 15 to 20 percent cut. If your TDEE is 2,200, a 15 percent deficit is about 1,870 calories.
- Maintenance: eat at your TDEE.
- Muscle gain: eat slightly above it, often 5 to 15 percent more.
One safety note before you cut: do not set calories too low. Dropping much below about 1,200 a day for women or 1,500 for men without professional guidance makes it hard to get enough protein and nutrients. And if you are pregnant or breastfeeding, under 18, or managing a condition such as diabetes, kidney disease or a history of disordered eating, speak to a doctor or registered dietitian before changing your diet. The numbers here are a general starting point, not medical advice.
Step 2: Choose your macro split
A split is just the share of calories coming from each macro. There is no single magic ratio, but these are sensible, well-worn starting points. Pick the one that matches your goal and how you actually like to eat, then adjust after a couple of weeks.
| Split (protein / carbs / fat) | Good for |
|---|---|
| 30% / 40% / 30% (balanced) | Most people, general health, steady fat loss |
| 35% / 40% / 25% (higher protein) | Losing fat while keeping muscle, anyone who lifts |
| 40% / 20% / 40% (lower carb) | Appetite control, people who feel better on fewer carbs |
| 20% / 60% / 20% (higher carb) | High-volume endurance training |
One rule matters more than the exact split: keep protein high enough, especially while eating in a deficit. Aim for roughly 0.7 to 1 gram of protein per pound of your goal body weight, which is about 1.6 to 2.2 grams per kilogram. Protein protects the muscle you already have while you lose fat, and it is the most filling of the three macros. Keep fat at 20 percent of calories or more too, because your body needs some to absorb certain vitamins and make hormones. Our guide on how much protein per day goes deeper on that floor.
Step 3: Turn percentages into grams
This is where the 4, 4 and 9 come in. For each macro, multiply your calorie target by its percentage to get the calories from that macro, then divide by its calories per gram:
- Protein grams = (calories × protein %) ÷ 4
- Carb grams = (calories × carb %) ÷ 4
- Fat grams = (calories × fat %) ÷ 9
That is the entire method. Everything else is just picking numbers you can stick to.
A full worked example
Say your TDEE is 2,200 and you want to lose fat, so you take a 15 percent deficit: 2,200 × 0.85 = 1,870 calories. You choose a higher-protein split of 35% protein, 25% fat and 40% carbs. Here is the math, line by line:
| Macro | Percent | Calories (1,870 × %) | Divide by | Grams |
|---|---|---|---|---|
| Protein | 35% | 654.5 | 4 | 164 g |
| Fat | 25% | 467.5 | 9 | 52 g |
| Carbs | 40% | 748 | 4 | 187 g |
So your daily targets are roughly 164 g protein, 52 g fat and 187 g carbs at 1,870 calories. Sanity check on protein: at a goal weight of around 180 lb, 164 g is a little under 1 g per pound, which is right in the healthy range. Spread those grams across the meals you enjoy, hold it for two weeks, then adjust by about five percent if progress stalls.
How to calculate macros for weight loss
For fat loss specifically, many coaches flip the order and set the macros from your body rather than from percentages, because it protects muscle better. Here is that same 1,870 calorie target done grams-first:
- Protein first: aim for about 0.8 to 1 gram per pound of your goal body weight. At 180 lb that is roughly 160 to 180 g, so call it 170 g, which is 680 calories.
- Fat next: set it around 25 percent of calories for hormones and fullness. 25 percent of 1,870 is about 468 calories, or 52 g.
- Carbs get the rest: 1,870 − 680 − 468 = 722 calories, which is about 180 g of carbs.
You land in almost the same place as the percentage method, around 170 g protein, 52 g fat and 180 g carbs, but by anchoring protein to your body weight you are far less likely to set it too low while dieting. Use whichever method you find easier. The macro calculator can do either.
Common mistakes to avoid
- Setting protein too low. This is the big one, especially in a deficit. Too little protein and you lose muscle along with fat, and you feel hungrier all day.
- Cutting fat to almost nothing. Very low fat hurts hormones and vitamin absorption. Keep it at 20 percent of calories or above.
- Chasing a perfect ratio. Consistency beats precision. A split you hit most days beats a "perfect" one you abandon by Wednesday.
- Forgetting macros sit inside calories. If your calorie target is wrong for your goal, perfect macros will not save it. Set the calories first.
- Guessing portions. A cheap kitchen scale for the first couple of weeks teaches you what a real serving looks like, and your estimates get far better afterwards.
How to actually hit your macros
Targets only help if you can track them. Weigh your food for the first week or two, read the grams of protein, carbs and fat off packaged labels, and look up whole foods in any nutrition database. Build each meal around a protein source first, then fill in carbs and fat to taste. Within a couple of weeks most people can eyeball a plate closely enough to stop weighing everything.
Do the math in one click
You do not have to work all this out by hand. Enter your details into the macro calculator and it returns your protein, carb and fat grams for your goal instantly. Pair it with the calorie calculator to set the target, the calories burned calculator to account for training, and the BMI calculator for a quick starting picture. Set your numbers once, stay consistent, and let the results tell you when to tweak.