A macro calculator is the tool that tells you how much protein, carbohydrate and fat to eat per day. It takes your calorie total and splits that number into three slices. The result is a target per nutrient, not just a loose calorie target.
It can sound like a technical detail. In practice, it decides the outcome of the diet. Two people eat the same 1,800 kcal and end the month at opposite points, because one hit their protein and the other lived on bread and crackers. This guide shows how to reach all three numbers without a spreadsheet, using the same math every macro calculator runs under the hood.
What a Macro Is Inside Your Diet
Macronutrients are the three nutrients that supply energy to the body: protein, carbohydrate and fat. Every food with a calorie has at least one of them. Vitamins and minerals matter too, but they come in as micronutrients, in much smaller amounts and with no calories.
Each macro yields a fixed amount of energy. Protein and carbohydrate deliver 4 kcal per gram. Fat delivers 9 kcal per gram, more than double. The Harvard School of Public Health treats protein as the macro that supports muscle, fullness and recovery. That is where the math begins.
Why the Macro Calculator Comes After Calories
You can only split the macros after you know how many calories your day should hold. The macros are slices of a cake. Without the size of the cake, there is nothing to slice.
The order is simple. First comes the basal metabolic rate, the energy your body burns at rest. Then the activity factor turns that value into your total daily expenditure. The full calculation appears in the calorie calculator guide.
With your total expenditure in hand, you set the day's target by goal. People who want to lose fat eat below their expenditure, in a calorie deficit. People who want to maintain eat near it. Only then does the macro calculator step in to split the total.
ContaCal
Count calories and macros with just 1 photo
Snap your meal and the AI instantly calculates calories, protein, carbs and fat.
The Three Numbers: How Much Protein, Carbs and Fat
The split starts with protein, fixes fat next, and leaves carbohydrate with whatever remains. This order avoids the most common mistake, which is filling the plate with carbs and finding out too late that protein fell short.
Protein is calculated by weight, not by calories. The working range sits between 1.6 and 2.2 grams per kilo of body weight, according to the International Society of Sports Nutrition. A 70 kg person lands between 112 and 154 grams per day.
Fat comes as a percentage of calories. The healthy range runs from 20% to 35% of the day's total. Below 20% tends to disturb hormone production and fullness. Carbohydrate takes everything left, and it is what fuels training and the brain through the day.
| Macro | Recommended range | Energy per gram |
|---|---|---|
| Protein | 1.6 to 2.2 g per kg of weight | 4 kcal |
| Fat | 20% to 35% of daily calories | 9 kcal |
| Carbohydrate | Whatever calories remain | 4 kcal |
📊 Keep these numbers. Protein and carbs have 4 kcal per gram, fat has 9 kcal per gram. That is why one extra drizzle of olive oil weighs so much on the final count.

The Math in Practice: Splitting 1,800 kcal
Here is how 1,800 kcal becomes 135 g of protein, 50 g of fat and about 200 g of carbohydrate. The example uses a 75 kg person in a light deficit to lose fat.
- Protein: 75 kg times 1.8 g gives 135 g. Since each gram has 4 kcal, that is 540 kcal.
- Fat: 25% of 1,800 kcal is 450 kcal. Divided by 9 kcal per gram, that is 50 g.
- Carbohydrate: what is left is 1,800 minus 540 minus 450, so 810 kcal. Divided by 4, that is 202 g.
Done. The day's target is 135 g of protein, 50 g of fat and 200 g of carbohydrate. Any macro calculator you open will run exactly these steps, just hidden behind a button.
The next step is spreading those numbers across the meals. A practical approach splits protein into similar parts at breakfast, lunch and dinner, which helps with fullness. Carbohydrate and fat can cluster near training or at the hours when hunger bites hardest.

Macros for Losing Fat and Macros for Gaining Muscle
Losing fat calls for calories below expenditure with high protein, while gaining muscle calls for calories above expenditure. Protein stays high in both cases. What changes most is the calorie total and the room left for carbohydrate.
| Goal | Calories | Protein | Carbohydrate | Fat |
|---|---|---|---|---|
| Lose fat | Below expenditure (deficit) | High: 1.8 to 2.2 g/kg | Moderate, adjust to training | 20% to 30% |
| Gain muscle | Above expenditure (light surplus) | High: 1.6 to 2.0 g/kg | More generous, fuels training | 20% to 30% |
In a cut, high protein protects muscle while the scale drops. To gain muscle, the light surplus and the more generous carbohydrate fuel heavy training. The key is keeping protein on target in both scenarios and adjusting only the calorie total.

Where the Macro Calculator Misleads You
The calculator hands you a starting estimate, not an exact and final number. It uses population formulas, and you are an individual. The starting point is reliable, but the fine-tuning comes from watching the next few weeks.
The activity factor is the biggest source of error. Marking "intense training" when the real week had two gym visits inflates the spend and ruins the whole target. When in doubt, pick the lower level and go up later if the scale does not respond.
There is also the logging error. Food intake research shows that most people underestimate how much they eat, especially fat and portion size. Weighing food for a few weeks calibrates that eye. ContaCal is the calorie counter app that helps with that adjustment: you photograph the meal and it estimates protein, carbohydrate and fat, which cuts the guesswork when you close the target.
⚠️ Watch out for the too-aggressive target. A macro split with sky-high protein and near-zero carbs rarely lasts. A target you cannot follow for two months is not worth the paper the spreadsheet was written on.



