Macro calculator
Turn a calorie target into daily protein, carbohydrate, and fat grams. Protein is set from your body weight, then the rest of the calories fill in around it.
Filled from your calorie estimate. Change anything that looks off.
A planning estimate for healthy adults, not a prescription. Protein needs change with illness, pregnancy, kidney disease, and a history of disordered eating. If any of those apply, use the target a clinician gave you.
Protein first, then the rest
Calories decide whether weight moves. Protein decides whether the weight you keep is muscle. That is why this calculator does not start from a fixed “40/40/20” split. It sets protein from your body weight, sets a moderate fat floor, and gives the remaining calories to carbohydrates.
If you do not have a calorie number yet, get one from the maintenance calorie calculator. Choosing “Set these macros” on that page fills this form for you. The values stay in this browser tab. They are not added to the link, so the page you can bookmark is always the blank calculator.
How the grams are chosen
Protein and carbohydrate count as 4 calories per gram. Fat counts as 9. The protein targets below sit inside the range most resistance-training research uses for adults, about 1.6 to 2.2 grams per kilogram of body weight (roughly 0.7 to 1 gram per pound).
- Lose fat: 2.0 g of protein per kg. A higher protein target makes a deficit easier to keep and gives muscle a better chance of staying.
- Maintain: 1.6 g per kg. Enough for people who train, without crowding out the rest of the plate.
- Build muscle: 1.8 g per kg. The surplus goes mostly to carbohydrates, which are the easier fuel for hard sessions.
Fat starts at 0.8 g per kg. That is enough for meals that include oils, eggs, dairy, nuts, and fatty fish, without turning the plan into a low-carb diet you did not ask for. If protein plus that fat floor is already over your calorie target, fat drops toward 0.6 g per kg. If the target is still too small, the calculator lowers the split so the grams fit and tells you the budget is tight. Raising calories, or slowing the rate of loss, is the cleaner fix.
Carbs are the remainder. They are not a leftover to feel guilty about. Training, steps, and just getting through a workday spend them.
A worked example
Take the woman from the calorie calculator: 150 lb (68 kg), losing about a pound a week at 1,672 calories.
- Protein = 68 × 2.0 = 136 g (544 calories).
- Fat = 68 × 0.8 = 54 g (486 calories).
- Carbs take the rest: 161 g (644 calories).
Rounded to the nearest gram, that is 1,674 calories, two above the 1,672 target. That gap does not matter. What matters is being near 136 grams of protein and near the calorie target on a normal day.
The same woman maintaining on 2,172 calories would use 1.6 g per kg, about 109 grams of protein, with more room for carbohydrates. Building muscle on a small surplus uses 1.8 g per kg, about 122 grams, and a larger carb share than the fat-loss split.
How close is close enough
Hit protein on most days. Keep calories inside a range, not on a single number. A restaurant meal that misses the carb target by 15 grams is noise. A pattern of skipping protein at breakfast, then “making up for it” with a shake you forget, is the pattern that stalls both fat loss and training.
A useful week has a default breakfast and lunch that already cover a large share of the protein. Dinner and snacks fill the rest. The weekly meal plan is that system. The calorie tracker is how you check it: photo, barcode, or a typed meal, with protein, carbs, and fat on the log.
If logging the grams starts to run the day, narrow the job. Track protein and the calorie range, and let fat and carbs trade places. Read how to log calories without obsessing before the spreadsheet becomes the meal.
Which goal to pick
Choose lose fat when you are eating under maintenance and training, including the weight-loss plan. Choose build muscle when you are eating at a surplus and lifting, which is the muscle-gain plan. Choose maintain when you are learning to train, or holding weight between those blocks.
Body weight in the formula is your current weight, not a goal weight. Using a lighter “dream” weight understates the protein you need while you still walk around at today’s weight. If you have a lot of body fat, the per-kilogram target can run high. In that case, a clinician or a coach can set protein from an estimate of lean mass. This page does not try to guess that.
Questions about macros
How do you calculate macros?
Start with a daily calorie target. Set protein from body weight, set fat at about 0.8 grams per kilogram, and give the remaining calories to carbohydrates. Protein and carbohydrate have 4 calories per gram. Fat has 9.
How much protein do I need to lose weight?
A practical target while losing fat is about 1.6 to 2.2 grams of protein per kilogram of body weight, or roughly 0.7 to 1 gram per pound. This calculator uses 2 grams per kilogram so the deficit is less likely to come out of muscle.
How much protein do I need to build muscle?
About 1.6 to 2.2 grams per kilogram of body weight covers most people who are training. This calculator uses 1.8 grams per kilogram for muscle gain and puts the rest of a calorie surplus into carbohydrates so training has fuel.
What percentage of calories should be protein, carbs, and fat?
Percentages fall out of the gram targets. They change with your weight and your calorie goal, so two people on 2,000 calories will not get the same split. Hit the protein grams first. Let carbs and fat move around that.
Do I have to hit my macros exactly?
No. Land near the protein target and inside a calorie range most days. A meal that misses by 10 grams of carbs does not matter. A week that misses protein every day does.
Log the grams with the meals you already eat
LifeMaxing shows calories and macros on each meal, next to the workout plan. Start free.
Download LifeMaxing