arrow_backBack to Learning

How to Count Macros: A Beginner's Step-by-Step Guide

MyMacro Editorial Team|Published |Last updated

Quick answer

To count macros, set daily targets for protein, fat and carbohydrate, then weigh and log what you eat in a food-tracking app, using labels or a reliable database for the numbers. Protein and carbohydrate supply about 4 kcal per gram and fat about 9 kcal per gram. Weigh food in the same state as the entry you log, include oils and drinks, and judge your targets by your weekly trend.

Key takeaways

  • Macros are protein, carbohydrate and fat; food labels calculate energy using about 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat.
  • A kitchen scale is the single most useful tool, because portions on packets are often smaller than what people actually eat.
  • Raw and cooked foods have very different values per 100 g, so always log food in the same state you weighed it.
  • Label values are allowed some margin of error, so aim for consistency rather than perfection.
  • Research on self-monitoring consistently links regular food tracking with more weight loss, although the quality of that evidence is limited.

What does "counting macros" actually mean?

Macros, short for macronutrients, are the three nutrients that provide most of the energy in food: protein, carbohydrate and fat. Counting macros means tracking how many grams of each you eat, rather than tracking calories alone. Because each macro has a known energy value, your macros also add up to your calorie total.

US labelling rules allow manufacturers to calculate calories using general factors of 4, 4 and 9 calories per gram for protein, total carbohydrate and fat. The EU rules in Regulation 1169/2011, Annex XIV use the same 4, 4 and 9 kcal per gram, plus 7 kcal per gram for alcohol and 2 kcal per gram for fibre.

NutrientEnergy per gramCommon sources
Protein4 kcal (17 kJ)Meat, fish, eggs, dairy, tofu, legumes
Carbohydrate4 kcal (17 kJ)Grains, potatoes, fruit, legumes, sugar
Fat9 kcal (37 kJ)Oils, butter, nuts, seeds, cheese, fatty meat
Alcohol7 kcal (29 kJ)Beer, wine, spirits
Fibre2 kcal (8 kJ)Whole grains, legumes, vegetables, fruit (EU and UK labels list it separately)

A quick check: a meal with 30 g protein, 50 g carbohydrate and 15 g fat provides about (30 x 4) + (50 x 4) + (15 x 9) = 120 + 200 + 135 = 455 kcal.

Is counting macros better than counting calories?

Both rely on the same habit: writing down what you eat. Calorie counting tells you whether you are likely to lose, keep or gain weight. Macro counting adds detail about what those calories are made of, which matters most for protein if you train or want to keep muscle while dieting. Many people end up with a middle path: a calorie target plus a protein target, letting fat and carbs fall where they like.

The habit itself seems to matter. A systematic review by Burke and colleagues found a significant association between self-monitoring and weight loss across the studies it examined, although the authors rated the evidence as weak because of study limitations, such as samples that were mostly white and female and reliance on self-report.

How do you count macros, step by step?

  1. Set your targets. Start with a calorie target, then set protein, then fat, and give the rest to carbohydrate. Our guide to calculating macros for weight loss walks through the maths with examples in kg and lb, and how much protein you need a day covers the protein number in depth.
  2. Get a digital kitchen scale. One that weighs in 1 g steps and has a tare (zero) button is enough.
  3. Pick a tracking app and learn its database. Favour entries from food labels you can see, or from government databases such as USDA FoodData Central, over anonymous user entries.
  4. Weigh food before eating, in a consistent state. Raw or cooked both work, as long as the entry you choose matches (see the next section).
  5. Log as you go. Logging right after a meal is more accurate than trying to remember everything at night.
  6. Include the small things. Cooking oil, butter, sauces, milk in coffee and drinks all count.
  7. Review weekly, not daily. Look at your average intake and your weight trend over two to three weeks before changing targets.

The NHS gives a useful example of why weighing helps in its calorie counting guide: if a rice packet lists a 75 g portion as 260 calories and your actual portion is 150 g, you are eating 520 calories. The NHS also suggests weighing before cooking and says you do not have to do this forever; it is a way to learn what your usual portions look like.

Should you weigh food raw or cooked?

Either, but never mix them up. Cooking changes the water content of food, so the numbers per 100 g change a lot even though the food itself has not gained or lost much protein. These values come from USDA FoodData Central:

Food (per 100 g, 3.5 oz)Raw / dryCooked
Chicken breast, skinless120 kcal, 22.5 g protein165 kcal, 31.0 g protein (roasted)
White rice, long-grain365 kcal, 80.0 g carbohydrate130 kcal, 28.2 g carbohydrate
Lentils352 kcal, 24.6 g protein116 kcal, 9.0 g protein (boiled)

If you weigh 100 g of cooked rice but log it as dry rice, you would record 365 kcal instead of 130 kcal. The reverse mistake undercounts by the same margin. Weighing raw is usually the most consistent, because cooked weights vary with cooking time and how much water is absorbed.

How do you count macros in home-cooked recipes?

  1. Weigh and log every ingredient as you add it, including oil.
  2. Weigh the empty pot, then weigh it again with the finished dish, and subtract to get the total cooked weight.
  3. Divide the recipe's total calories and macros by the cooked weight to get values per gram.
  4. Weigh your portion and multiply.

For example, if a pot of chilli adds up to 2,400 kcal and 160 g protein and weighs 2,000 g (70.5 oz) when cooked, each gram has 1.2 kcal and 0.08 g protein. A 350 g (12.3 oz) bowl is 420 kcal and 28 g protein. Most tracking apps let you save this as a recipe so you only do the maths once.

How do you use food labels when counting macros?

Labels are the fastest source of reliable numbers for packaged food, but they work differently by country. US labels show values per serving, while UK and EU labels must show values per 100 g or 100 ml. US "Total Carbohydrate" includes fiber, while EU and UK "carbohydrate" does not. Our guide to reading nutrition labels in the US, UK and EU covers these differences in detail.

Labels also are not exact. Under US rules, a food is considered misbranded if its calories or fat are more than 20 percent above the declared value, as set out in 21 CFR 101.9. In the EU, the European Commission's tolerance guidance allows, for example, plus or minus 20 percent for protein, carbohydrate and fat in foods containing 10 to 40 g per 100 g. That is one more reason to judge your targets by results over weeks, not by single days.

How do you count macros when eating out?

Restaurant food is the hardest to log, because portions and cooking fats vary. A few habits help:

  • Use the restaurant's published nutrition information if it has any.
  • Otherwise, break the meal into parts (protein, starch, vegetables, sauce) and log each with a reasonable estimate.
  • Assume some added fat for anything fried, sauteed or dressed. Oil is energy-dense: USDA FoodData Central lists one tablespoon of olive oil (13.5 g) at 119 kcal.
  • Do not skip logging just because you are unsure. An estimate is far more useful than a blank.

Sauces, dressings and drinks are where most people lose track. Our article on the calories AI counters miss goes through the usual suspects.

Which way of logging food should you choose?

MethodStrengthsWeaknesses
Kitchen scale + appThe most precise option at homeTakes time; not practical everywhere
Barcode scanningFast and uses label dataOnly covers packaged food; you still need the portion size
Hand or cup portionsNo equipment; works anywhereRough; easy to drift over time
Photo or voice loggingLow effort, so easier to keep upPortion and hidden-fat estimates can be off

The best method is the one you will keep using. Many people weigh food for a few weeks to calibrate their eye, then switch to faster methods. MyMacro AI, which is not yet released, is designed around low-effort logging: you will be able to say a meal in a normal sentence, snap a photo or scan a barcode and get a structured entry with macros. If that sounds useful, you can join the MyMacro waitlist.

How close to your macro targets do you need to be?

Close enough, consistently. Given the error margins in labels, databases and portion estimates, hitting a target to the exact gram is false precision. A practical priority order is: calories first, protein second, and fat and carbohydrate as flexible. If your weekly average lands near your targets and your weight trend is moving the way you want, the system is working.

Common mistakes when counting macros

  • Mixing raw and cooked entries. The biggest single source of large errors.
  • Skipping cooking fats and drinks. They are easy to forget and energy-dense.
  • Trusting the packet portion. Weigh what you actually eat.
  • Logging later from memory. Details disappear quickly.
  • Changing targets after a few days. Daily weight swings with water; give it two to three weeks.
  • Letting tracking take over. If logging food makes you anxious or feeds restrictive habits, stop and talk to a doctor or registered dietitian. The same applies if you are pregnant, under 18, have diabetes or kidney disease, or take medication that affects appetite or weight.

Frequently asked questions

What are macros?

Macros, or macronutrients, are protein, carbohydrate and fat. They provide most of the energy in food: about 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat.

Do I need a food scale to count macros?

It is not essential, but it is the most accurate way to learn your real portion sizes. Many people weigh food for a few weeks, then estimate more confidently.

Should I log food raw or cooked?

Either works if the database entry matches the state you weighed. Raw weights are usually more consistent, because cooked weights change with cooking time and water.

How accurate do I need to be when counting macros?

Labels and databases carry error margins, so aim for consistency rather than perfection. Focus on calories and protein and judge progress by your trend over two to three weeks.

How do I count macros in a homemade meal?

Log every ingredient, weigh the finished dish, divide the totals by the cooked weight, then weigh and log your portion.

Sources

  1. 21 CFR 101.9 - Nutrition labeling of food, Legal Information Institute, Cornell Law School (US Code of Federal Regulations) (2026)
  2. Regulation (EU) No 1169/2011, Annex XIV: Conversion factors, legislation.gov.uk (2011)
  3. Calorie counting, NHS Better Health (2026)
  4. FoodData Central, U.S. Department of Agriculture, Agricultural Research Service (2026)
  5. Self-monitoring in weight loss: a systematic review of the literature, Journal of the American Dietetic Association (Burke et al.) (2011)
  6. Guidance document tolerances: simplified summary table, European Commission (2012)

Not medical advice. This article is general information for healthy adults and is not a substitute for advice from a doctor or registered dietitian. Talk to a qualified professional before changing your diet, exercise or supplements, especially if you are pregnant, under 18, have a medical condition such as diabetes or kidney disease, take medication, or have a history of disordered eating. See our health disclaimer.

MyMacro AI is coming soon

An AI nutrition app built to log meals by voice or photo, sync your wearables and adjust targets to your cycle phase and context. It isn't released yet. Join the waitlist to hear when it opens.

Join the waitlist