How to Calculate Macros: Protein, Carbs and Fat
calculadora de calorias

How to Calculate Macros: Protein, Carbs and Fat

L

Lucas

Nutricionista e criador de conteúdo sobre saúde.

11 Sep 20269 min· Updated on 09 Oct 2026

How to calculate macros in practice means taking your daily calorie target and splitting it into protein, carbohydrate and fat, with numbers that fit on the plate. No spreadsheet. No guesswork.

Two people eat the same 1,800 kcal and end the month at opposite points. One hit their protein. The other lived on bread and crackers. The gap is not the loose calorie number. It is the three numbers.

This guide shows the method. If you only want the numbers now, open the free macro calculator on ContaCal. The post teaches the math. The tool delivers the result.

What macros are and why you calculate them

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.

How to calculate macros stops being a technical detail when you look at the plate. Two diets with the same calories can preserve muscle or melt it, depending on protein. The loose kcal number does not tell that story.

Why you calculate macros 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 method appears in the guide on how to count calories.

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 it make sense how to calculate macros and split the total.

If the calorie target is still open, close that first. Without the right total, how to calculate macros becomes a guess. The protein, carb and fat math inherits any error in the total.

ContaCal

Count calories and macros with just 1 photo

Snap your meal and the AI instantly calculates calories, protein, carbs and fat.

Or see the ContaCal calorie tracking app.

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.

MacroRecommended rangeEnergy per gram
Protein1.6 to 2.2 g per kg of weight4 kcal
Fat20% to 35% of daily calories9 kcal
CarbohydrateWhatever calories remain4 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.

Egg and vegetables representing protein when you calculate macros on the plate

How to calculate macros in practice: the 1,800 kcal example

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.

  1. Protein: 75 kg times 1.8 g gives 135 g. Since each gram has 4 kcal, that is 540 kcal.
  2. Fat: 25% of 1,800 kcal is 450 kcal. Divided by 9 kcal per gram, that is 50 g.
  3. 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 tool you open will run exactly these steps, just hidden behind a button. If you want to skip the mental math, use the macro calculator and come back here to check why each number looks like that.

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.

Meals built with macros spread across the day

You have your macros. Now snap a photo to track them

ContaCal turns a photo of your plate into protein, carbs and fat in seconds, so your macro targets stay on track.

Start Now
Macro target by photo in ContaCal

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.

GoalCaloriesProteinCarbohydrateFat
Lose fatBelow expenditure (deficit)High: 1.8 to 2.2 g/kgModerate, adjust to training20% to 30%
Gain muscleAbove expenditure (light surplus)High: 1.6 to 2.0 g/kgMore generous, fuels training20% 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.

How to calculate macros for each goal barely changes the order of the math. It changes the size of the cake. Protein stays the first number. Fat stays in range. Carbohydrate inherits the rest.

Salad bowl for a weight-loss diet with adjusted macros

Where the macro math misleads you

How to calculate macros with a population formula hands you a starting estimate, not an exact and final number. The formula uses population data, 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 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.

Kitchen scale used to weigh foods and calculate macros

When you only want the numeric result, the macro calculator closes protein, carbs and fat from calories and body weight. The guide stays the map. The tool only does the math.

🎯 Estimate that adjusts

Macros tracked without the math

Photograph each meal in ContaCal and watch protein, carbs and fat fill up against your daily targets.

Start Now
Macro tracking by photo in ContaCal

Frequently asked questions

Start with protein: multiply your weight in kilos by 1.8. Then fix fat at 25% of the day's calories and leave carbohydrate with everything that remains. If you want the result right away, use the free tool at contacal.com/calculadora/macros.

ContaCal

Count calories and macros with just 1 photo

Snap your meal and the AI instantly calculates calories, protein, carbs and fat.

Want the details first? See how the AI calorie counter works.

L

Written by

Lucas

Nutricionista e criador de conteúdo sobre saúde.