Guide

Macro Tracking Basics: The Complete Guide to Protein, Carbs & Fat

What macros are, how to set protein, carbohydrate, and fat targets, how accurate you need to be, and the best macro tracker apps for 2026.

“Macros”, short for macronutrients, are the three nutrients that supply energy: protein, carbohydrate, and fat. (Alcohol is a fourth energy source but not a nutrient.) Calorie counting tells you how much energy you ate. Macro tracking tells you what kind. For most body-composition goals, both matter, and the order in which you set them changes everything.

This guide explains what each macro does, how to set targets in the right sequence, how precise you actually need to be, and which of the best calorie counting apps are strongest for macros.

Key takeaways

  • Set macros in order: calories → protein → fat → carbohydrate fills the rest.
  • Protein (1.6–2.2 g/kg) is a floor; it preserves and builds muscle and controls hunger.
  • Fat has a floor too (~0.6 g/kg) for hormone health.
  • Carbohydrate is the performance and recovery fuel, and the flexible remainder.
  • Within ±5 g per macro per day is accurate enough for almost everyone.

What each macronutrient does

Protein, 4 kcal per gram

Protein supplies amino acids, the building blocks of muscle, enzymes, hormones, and immune cells. For anyone tracking body composition it is the most important macro: it preserves muscle in a deficit, supports muscle growth in a surplus, has the highest thermic effect (your body burns more energy digesting it), and is the most satiating of the three. Hit protein and a lot of other things fall into place on their own.

Carbohydrate, 4 kcal per gram

Carbohydrate is the body’s preferred fast fuel, especially for higher-intensity training. It is stored as glycogen in muscle and liver. It is not “fattening” in any special way, excess calories drive fat gain, from any macro, and for active people, carbohydrate fuels performance and recovery. It is also where dietary fibre comes from.

Fat, 9 kcal per gram

Dietary fat is essential: it supports hormone production (including sex hormones), the absorption of fat-soluble vitamins (A, D, E, K), and cell-membrane structure. Because it is the most energy-dense macro, it is also the easiest to over-consume by accident, which is why calorie-dense fatty foods deserve the scale.

Did you know?

The 4 / 4 / 9 calorie values for protein, carbohydrate, and fat are averages from the Atwater system, developed by chemist Wilbur Atwater in the late 1800s. They are approximations, fibre yields fewer usable calories than other carbohydrates, for instance, which is one more reason your daily totals are a well-calibrated estimate rather than a precise measurement.

Setting macros in the right order

The sequence matters more than any single number. Set them like this:

Step 1, Calories

Start from your goal: a deficit for fat loss, a surplus for muscle gain, maintenance otherwise. See the how to count calories guide for finding your maintenance.

Step 2, Protein (a floor)

Set protein at 1.6–2.2 g per kg of bodyweight per day. This is a floor, a minimum to clear, not a ceiling. At 4 kcal/g, an 80 kg person targeting 160 g of protein has allocated 640 kcal.

Step 3, Fat (a floor)

Set a minimum fat intake of roughly 0.6–1.0 g per kg of bodyweight for hormone health. Below about 0.5 g/kg sustained, some people see hormonal disruption. Many people sit comfortably above the floor , fat makes food palatable, and that is fine as long as calories fit.

Step 4, Carbohydrate (the remainder)

Whatever calories are left after protein and fat, fill with carbohydrate. For active people this is usually the largest macro, and that is exactly right, it fuels training.

The order is the whole lesson. People who set carbs first and protein last almost always end up short on protein. Set the floors first, and the flexible macro, carbohydrate, absorbs the day-to-day variation.

The Calorie Counter Standard editorial team

What does a worked example look like?

An 80 kg person, moderately active, targeting fat loss at 2,000 kcal/day:

MacroTargetCaloriesHow it was set
Protein160 g (2.0 g/kg)640 kcalFloor, set first
Fat65 g (~0.8 g/kg)585 kcalFloor, set second
Carbohydrate~194 g775 kcalRemainder
Total2,000 kcal

Change the goal and only the calorie number and the carbohydrate remainder move much, the protein and fat floors stay roughly put. That stability is the point of the method.

Are macros “clean” or “dirty” on flexible dieting?

The macro-tracking approach is sometimes called flexible dieting or IIFYM (“if it fits your macros”). The core idea: no food is inherently off-limits; what matters is whether your day’s foods add up to your targets.

This is liberating and accurate, but it is half the picture. Hitting your macros with mostly whole, minimally processed foods brings fibre, micronutrients, and satiety that an otherwise-identical macro split of processed foods will not. A useful working rule is the 80/20 guideline: aim for roughly 80% of intake from nutrient-dense whole foods, and let the remaining ~20% be whatever fits and keeps the diet enjoyable enough to sustain.

Pro tip

Fibre is technically a carbohydrate but behaves differently, it aids satiety, digestion, and metabolic health. Aim for roughly 14 g of fibre per 1,000 kcal. Many macro trackers let you set a fibre target alongside the big three; it is worth doing.

How accurate do your macros really need to be?

Less precise than most beginners assume. Within ±5 g per day on each macro is fine for almost every goal. The protein floor is the one worth being strict about, clear it. Carbohydrate and fat can flex around each other day to day without consequence, as long as total calories and protein land.

Chasing single-gram precision is wasted effort, because the underlying data, label values, database entries, your own absorption, already carries more error than that. Physique competitors in the final weeks of prep tighten the window; nobody else needs to.

Consistency beats precision. Someone who hits their macros within five grams every single day will out-progress someone who is perfect four days a week and unlogged for three.

The Calorie Counter Standard editorial team

The best macro tracker apps

See the full rankings; is a useful focused resource for macro-specific app comparisons.

What are the most common calorie counting mistakes?

Frequently asked questions about calorie counting apps

What are macros?

Macronutrients, protein, carbohydrate, and fat, the three nutrients that provide energy. Calorie counting tracks total energy; macro tracking tracks the split between the three.

In what order should I set my macros?

Calories first, then protein (a floor of 1.6–2.2 g/kg), then a fat floor (~0.6 g/kg), then carbohydrate fills the remaining calories.

How accurate do my macros need to be?

Within about ±5 g per macro per day is fine for nearly all goals. Be strict about clearing the protein floor; let carbohydrate and fat flex.

Do I have to eat “clean” to hit my macros?

No food is off-limits, what matters is the daily total. But aiming for roughly 80% whole foods brings fibre, micronutrients, and satiety a processed-food version of the same macros will not.

What is the best macro tracker app?

MacroFactor for adaptive target-setting, Welling for AI logging accuracy, Cronometer if you want micronutrients too.

How much protein should I eat?

1.6–2.2 g per kilogram of bodyweight per day for active adults pursuing a body-composition goal.

What external research supports this?


Written by Marcus Chen, AI Evaluation Lead. Editorial review by Hugo Lindqvist, Editor in Chief. Last updated May 30, 2026. See our methodology.