Macro Calculator: Protein, Carbs and Fat (2026)
calculadora de calorias

Macro Calculator: Protein, Carbs and Fat (2026)

Lucas

Lucas

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

02 Jun 20268 min· Updated on 16 Jun 2026

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.

🍽️ Macros on autopilot

Knowing the target is easy, hitting it daily is the challenge

Working out protein, carbs and fat takes five minutes. The hard part is tracking meal by meal. Snap a photo of the plate and ContaCal shows how much of each macro you have eaten today.

Try It Free →
Calorie and macro tracking by photo in ContaCal

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.

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 in the macro calculator

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.

  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 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.

Meals built with macros spread across the day

The spreadsheet disappears, the target stays

Ran the example math and froze when it was time to apply it to a real lunch? ContaCal reads the meal photo and adds up protein, carbs and fat on its own.

Try It Free →
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.

Salad bowl for a weight-loss diet with adjusted macros

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.

Kitchen scale used to weigh foods and calculate macros
🎯 Estimate that adjusts

The calculator gives the start, daily life makes the adjustment

No calculator nails it on the first try. ContaCal logs what you eat and shows whether the macro target should go up or down.

Try It Free →
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. Three short sums, and the 1,800 kcal example shows each one in detail.

ContaCal

Count calories and macros with just 1 photo

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

Lucas

Written by

Lucas

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