On this page
Chicken, lentils, peanut butter and rice beside a blank notebook, with Yolko the egg mascot resting a hand on the page
Everyday foods beside a notebook show the ingredients whose protein, carbohydrate and fat can be added to a log.

How do you count macros?

Counting macros means writing down the grams of protein, carbohydrate and fat in what you eat and adding them up for the day. The steps are the same in an app, a notebook or a spreadsheet:

  1. Start with your protein goal. Find it with how much protein you need or the protein calculator.
  2. Pick one source for each food. Use the package label for packaged food and a USDA FoodData Central entry for plain ingredients, then scale protein, carbohydrate and fat to the grams you ate.
  3. Match the state of the food. Weigh raw food and use a raw entry, or weigh cooked food and use a cooked entry (how to count calories covers this). Add oil, sauces and drinks.
  4. Add the totals. Compare protein with your goal first, then read carbohydrate, fat and fiber.
  5. Save repeated meals. Work out a recipe once, divide by servings or by finished weight, and keep the per-serving line in a notes app, a spreadsheet or the free printable protein tracker. Scale it to the share you eat, and edit it when an ingredient, a brand or the oil amount changes. The recipe protein calculator adds ingredient protein and splits the batch by servings or portion weight.

Pick the lightest tracking scope that answers your question; you can move up or down later:

  • Energy only: log calories for each food or meal. It fits a calorie plan, but protein stays invisible. How to count calories covers the method.
  • Protein first: log protein grams for each meal, with calories optional. It fits a goal of eating enough protein, as in how to track protein without counting calories.
  • Three macros: log protein, carbohydrate and fat, with fiber optional. It fits when a dietitian or coach gave you carbohydrate or fat amounts, and it takes the most effort.

Any scope can be partial, and none is a requirement. How to keep a food diary shows what to record and how to review your entries.

What are macros in food?

Macros, short for macronutrients, are the nutrients that supply energy in food: protein, carbohydrate and fat. MedlinePlus lists carbohydrates, fats, protein and alcohol as the sources of food energy, and the USDA National Agricultural Library also groups fiber and water with macronutrients. Macro counting usually tracks protein, carbohydrate and fat, with fiber counted inside carbohydrate.

One food usually provides all three, in different proportions. The table shows three foods from USDA data.

FoodProteinCarbohydrateFatCalories
Chicken breast, roasted, meat only3 oz (85 g)26 g0 g3.0 g140 kcal
Lentils, boiled, no salt1 cup (198 g)18 g40 g0.8 g230 kcal
Peanut butter, smooth, no salt2 tbsp (32 g)7.1 g7.1 g16 g191 kcal
USDA FoodData Central, SR Legacy (2018), using the gram weights shown. Computed from unrounded values and rounded once: whole grams from 10 g, one decimal below, calories to the nearest whole number. Carbohydrate is USDA’s carbohydrate by difference, which includes fiber.

Which terms matter when you count macros?

Seven terms cover most of what a beginner meets on a label or in a log, listed A to Z.

TermWhat it means
Calories and kilojoulesCalories (kilocalories, kcal) are calculated from the grams: the Atwater general factors in FAO Food and Nutrition Paper 77 (2003) are 4.0 kcal per gram of protein, 4.0 per gram of carbohydrate and 9.0 per gram of fat.
Daily ValueDaily Values (%DV) are label reference amounts. The FDA bases them on 2,000 calories a day: for adults, 275 g of total carbohydrate, 78 g of fat, 28 g of dietary fiber and 50 g of protein (21 CFR 101.9(c)(9)).
Edible weightThe part of a food you eat. USDA SR Legacy gives nutrients per 100 g of edible portion and records refuse such as bone or seeds separately.
MicronutrientA vitamin or mineral. US labels give them separately, in milligrams or micrograms, rather than as macro grams.
Raw versus cookedUSDA SR Legacy lists raw and cooked forms of a food as separate entries with different values. Dry white rice has about 80 g of carbohydrate per 100 g; the cooked entry has about 28 g.
ServingThe amount people typically eat or drink, which is not a recommendation of how much to eat (FDA, 2024).
Total carbohydrate and fiberTotal carbohydrate includes dietary fiber, a type of carbohydrate found in plants (MedlinePlus). How to track fiber and protein shows how to record fiber next to protein.
Definitions follow the sources named in each row. The rice example uses USDA SR Legacy (2018) values.

How do you scale a food to the amount you ate?

Scaling means multiplying each nutrient by the share of the listed amount you ate. The FDA’s guide to the Nutrition Facts label (content current as of March 5, 2024) says every nutrient amount on a label, calories included, refers to the serving size. In its sample label, one 1-cup serving of lasagna lists 280 calories and 9 g of total fat, and eating 2 cups doubles those to 560 calories and 18 g of fat. Reading a nutrition label for protein covers serving sizes and claims.

For unpackaged food, USDA FoodData Central’s SR Legacy (April 2018 release) lists nutrients per 100 g of edible portion. To scale an entry, multiply each per 100 g value by your grams and divide by 100. Without a scale, how to estimate protein without a food scale explains the options.

Labels differ by country. US labels state amounts per serving (FDA, 2024). EU labels state amounts per 100 g or 100 ml and may add a per-portion column (Regulation (EU) No 1169/2011, Articles 32 and 33), and there carbohydrate means carbohydrate metabolized by humans, with fibre as an optional extra line. If a label lists only kilojoules, divide by 4.184: 1 kcal equals 4.184 kJ (FAO, 2003). This does not mean US, EU, UK or Canadian labels are equivalent.

What does one meal and one day look like in macros?

A mixed meal is scaled one ingredient at a time and then added together. The bowl below uses SR Legacy values for weights chosen for the example, with no added salt. These are calculated estimates from USDA data, not a tested recipe.

IngredientProteinCarbsFatFiberCalories
Chicken breast, roasted4.2 oz (120 g)37 g0 g4.3 g0 g198 kcal
White rice, long-grain, cooked5.3 oz (150 g)4.0 g42 g0.4 g0.6 g195 kcal
Broccoli, boiled, drained2.8 oz (80 g)1.9 g5.7 g0.3 g2.6 g28 kcal
Olive oil1 tbsp (13.5 g)0 g0 g14 g0 g119 kcal
Whole bowl43 g48 g19 g3.2 g540 kcal
USDA FoodData Central, SR Legacy (2018). Each nutrient is scaled from the per 100 g entry, the bowl is summed from unrounded values, and everything is rounded once, so a total can differ by 1 g from the rounded rows above it.

The same approach builds a day. Each entry keeps its own protein, carbohydrate, fat and calories, and the day is their sum.

EntryProteinCarbsFatCalories
Breakfast: plain nonfat Greek yogurt and blueberries6.0 oz (170 g) yogurt, 2.6 oz (75 g) berries18 g17 g0.9 g143 kcal
Lunch: chicken, rice and broccoli bowlas above43 g48 g19 g540 kcal
Snack: peanut butter on bread2 tbsp (32 g) smooth peanut butter, 1 slice (32 g) whole-wheat bread11 g21 g18 g272 kcal
Total so far72 g86 g37 g955 kcal
USDA FoodData Central, SR Legacy (2018), untoasted whole-wheat bread entry. Dinner is not logged yet.

Against the 84 g low end of the protein goal for a 70 kg (154 lb) adult, about 12 g of protein remain for the rest of the day. The carbohydrate and fat totals have no target here; they describe what was eaten.

What happens to the totals when the portion changes?

Every nutrient changes in proportion to the weight you eat, so a new portion moves protein, carbohydrate, fat and calories together. The table scales the whole bowl from the example above.

Portion of the bowlProteinCarbsFatCalories
0.75 of the bowl32 g36 g14 g405 kcal
The bowl as logged43 g48 g19 g540 kcal
1.5 bowls65 g72 g28 g811 kcal
The multiplier is applied to every ingredient of the bowl, using the same SR Legacy entries (2018).

Changing one ingredient moves mostly its own nutrient. With 225 g of cooked rice in place of 150 g, carbohydrate rises from 48 g to 69 g, protein from 43 g to 45 g, and fat stays at about 19 g.

Why do carbohydrate, fiber and calories not add up exactly?

Calories worked out from macro grams land close to the listed calories, but not on them. Multiplying the bowl’s unrounded grams by 4, 4 and 9 kcal per gram gives about 531 kcal, while the USDA entries add up to 540 kcal, a gap of about 2%. Three things can explain gaps like this:

  • Total carbohydrate includes fiber. On a US label, total carbohydrate is calculated by subtracting protein, fat, moisture and ash from the weight of the food, and dietary fiber is listed beneath it (21 CFR 101.9(c)(6)). FAO (2003) reports energy values for dietary fiber of 0 to 1.9 kcal per gram in commonly eaten foods, below the 4 kcal general factor, so a fiber-rich food can have fewer calories than its carbohydrate grams alone suggest.
  • Different factors are allowed. The FDA lets labels calculate calories with specific Atwater factors, with the general 4, 4 and 9 factors, with general factors that leave out non-digestible carbohydrate, or with other listed methods such as food-specific factors and bomb calorimetry data (21 CFR 101.9(c)(1)(i)).
  • Rounding. US labels round calories to the nearest 5 calories up to 50 and the nearest 10 above that, and carbohydrate to the nearest gram, so adding rounded label values rarely reproduces the calorie line.

In practice, treat calories and macro grams as two estimates of the same food, not an equation to balance. How accurate calorie labels and apps are covers label tolerance, and hidden calories in oils, sauces and drinks covers entries that are easy to leave out of a log. The net carb calculator works through total carbohydrate and fiber on US labels.

Should you use gram targets or percentage splits?

Start with the protein goal, because the Dietary Guidelines for Americans, 2025–2030 (USDA and HHS, January 2026) state one: 1.2–1.6 grams of protein per kilogram of body weight per day, “adjusting as needed based on your individual caloric requirements.” For a 70 kg (154 lb) adult, that is about 84–112 g a day. The Recommended Dietary Allowance (RDA) of 0.8 g/kg a day (Institute of Medicine, 2005) is the minimum that covers nearly all healthy adults, not a goal.

Carbohydrate and fat then sit beside the protein number. The macro calculator turns your calories and protein into carbohydrate and fat grams, with the arithmetic shown. In practice, a few days of untargeted totals show what you usually eat, and whether a carbohydrate or fat number would help.

A gram target is a fixed weight of a nutrient, and a percentage split is a share of your calories, so the same grams give a different percentage at a different calorie level. You can convert with the 4, 4 and 9 kcal factors. For example, 84–112 g of protein is about 17–22% of a 2,000-calorie day and about 13–18% of a 2,500-calorie day. The FDA calls 2,000 calories a day a general guide for nutrition advice, not a target for you.

Health Canada’s dietary reference intakes table (updated November 3, 2026) lists adult Acceptable Macronutrient Distribution Ranges of 45–65% of energy from carbohydrate, 10–35% from protein and 20–35% from fat. The ranges are wide, so many splits fit inside them. This suggests there is no single ideal ratio. The 10:1 protein-to-calorie rule shows what one popular shortcut does and does not support. These ranges describe healthy adults, so ask your care team if a medical diet sets your numbers.

Who should skip counting macros or ask first?

People with a history of an eating disorder or disordered eating should skip counting macros, calories and other food numbers, and talk to a clinician before tracking. Is counting calories healthy? reviews the research and the warning signs, and tracking protein without counting calories describes gentler options. Pause too if logging makes you anxious or you skip meals to stay under a number.

Some readers should ask their care team before they change what they eat or start tracking:

How does YolkPal fit in?

YolkPal is an iPhone protein tracker where calories are optional. Besides protein, each entry can hold carbs, fat and fiber, Home shows daily totals for them, and changing an entry’s amount rescales its figures. Saved foods keep meals you repeat. You can log by typing, photo, barcode, label or voice, and AI results are estimates you check and edit before saving. It is coming soon to the App Store.

What should you do next?

Pick one meal you eat often, scale each ingredient to your portion with the oil included, and keep the finished line. Then compare your day’s protein with your goal first. If you also want an energy estimate, the calorie calculator gives a starting point, and how to count calories explains the rest.

Sources

  1. Panel on Macronutrients, Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. National Academies Press, 2005. doi:10.17226/10490
  2. USDA and HHS. Dietary Guidelines for Americans, 2025–2030. January 2026, PDF page 3 (printed page 2), “Protein serving goals.” realfood.gov/documents/DGA.pdf
  3. U.S. Food and Drug Administration. How to Understand and Use the Nutrition Facts Label. Content current as of March 5, 2024. fda.gov/food/nutrition-facts-label/how-understand-and-use-nutrition-facts-label
  4. Code of Federal Regulations, Title 21, section 101.9, “Nutrition labeling of food”: paragraphs (c)(1), (c)(6) and (c)(9). eCFR text current to November 6, 2026, checked November 11, 2026. ecfr.gov, 21 CFR 101.9
  5. Food and Agriculture Organization of the United Nations. Food energy: methods of analysis and conversion factors. FAO Food and Nutrition Paper 77, Rome, 2003, sections 3.1, 3.5.1, 3.5.2 and 3.5.6. fao.org/4/y5022e/y5022e04.htm
  6. USDA FoodData Central, SR Legacy (April 2018 release): chicken, broilers or fryers, breast, meat only, cooked, roasted (171477); lentils, mature seeds, cooked, boiled, without salt (172421); peanut butter, smooth style, without salt (172470); rice, white, long-grain, regular, enriched, cooked (168878); rice, white, long-grain, regular, raw, enriched (168877); broccoli, cooked, boiled, drained, without salt (169967); oil, olive, salad or cooking (171413); yogurt, Greek, plain, nonfat (170894); blueberries, raw (171711); bread, whole-wheat, commercially prepared (172688). fdc.nal.usda.gov
  7. USDA Agricultural Research Service. USDA National Nutrient Database for Standard Reference, Legacy Release: documentation. April 2018. ars.usda.gov, SR Legacy documentation (PDF)
  8. USDA National Agricultural Library. Macronutrients. Checked November 11, 2026. nal.usda.gov, macronutrients
  9. MedlinePlus, National Library of Medicine. Definitions of Health Terms: Nutrition. Checked November 11, 2026. medlineplus.gov/healthdefinitions/nutritiondefinitions.html
  10. Health Canada. Dietary reference intakes tables: Reference values for macronutrients. Updated November 3, 2026; Table 2, Acceptable Macronutrient Distribution Ranges. canada.ca, reference values for macronutrients
  11. Regulation (EU) No 1169/2011 of the European Parliament and of the Council on the provision of food information to consumers, Articles 30 to 33 and Annex I. eur-lex.europa.eu/eli/reg/2011/1169/oj

This article is general information, not medical advice. If you have a health condition, are pregnant, or follow a diet set by your doctor, talk to them or a registered dietitian before changing how you eat.