Counting macros means tracking grams of protein, fat and carbohydrates, not just total calories. For weight loss, it answers a question calorie counting leaves open: of the calories you eat, how many come from each source?
The method has four steps, and this guide runs all four for one example person, Jordan, with numbers from USDA FoodData Central:
Set a calorie target. Jordan's comes to 2,300 a day.
Set protein first, then fat, then let carbs fill the rest.
Track a full day and compare each macro with its target.
Fix the gaps with one or two swaps, not a new diet.
You can do this with labels and a notebook, or with an app like Dietfit that shows protein, carbs and fat for every meal you log.
Macros in one minute
Each macro carries a set number of calories per gram, which is how food labels turn grams into calories:
Macro | Calories per gram | Healthy adult range (share of calories) |
|---|---|---|
Protein | 4 | 10% to 35% |
Carbohydrate | 4 | 45% to 65% |
Fat | 9 | 20% to 35% |
Sources: FDA, 21 CFR 101.9 (calorie factors); National Academies, Dietary Reference Intakes (Acceptable Macronutrient Distribution Ranges).
Alcohol adds 7 calories per gram and counts toward your calories, though it is not a nutrient you need. For more on what each macro does, see what macros are and how to split them.
For weight loss, total calories still lead. In a two-year trial with 811 adults, four diets with different mixes of fat, protein and carbohydrates produced similar weight loss (Sacks et al., New England Journal of Medicine). Within that budget, protein matters: in a meta-analysis of 24 trials, higher-protein diets with the same calorie cut led to 1.9 lb (0.87 kg) more fat loss and 0.9 lb (0.43 kg) less loss of lean mass than standard-protein diets (Wycherley et al., American Journal of Clinical Nutrition).
Step 1: Set your calorie target
Macros sit inside a calorie budget, so start there. Estimate your TDEE (the calories you burn in a day), then subtract about 500; Mayo Clinic notes that a 500-calorie daily cut may lead to a loss of about ½ to 1 pound a week.
Jordan is 30, 5 ft 10 in and 185 lb, and lifts weights three times a week. The Mifflin-St Jeor equation gives a BMR of about 1,805 calories; times 1.55 for moderate activity, his TDEE is about 2,800. His target: 2,300 calories a day. A TDEE calculator does this math for you.
Step 2: Split the calories into grams
Set protein first, then fat, and give carbs whatever is left. Here is Jordan's split:
Macro | Rule used | Jordan's target | Calories | Share of 2,300 |
|---|---|---|---|---|
Protein | 1.6 g per kg of body weight (0.73 g per lb), rounded up | 140 g | 560 | 24% |
Fat | 25% of calories | 65 g | 585 | 25% |
Carbohydrate | The calories left over | 290 g | 1,160 | 50% |
Why 1.6 g per kg? In a meta-analysis of 49 trials of people doing resistance training, extra protein stopped adding muscle gains at about 1.62 g per kg a day (Morton et al., British Journal of Sports Medicine). If you carry a lot of extra weight, base protein on your goal weight instead, or the number gets very high.
All three land inside the healthy ranges for adults. If you would rather eat fewer carbs, trade about 2 g of carbs for each extra 1 g of fat (4 calories per gram versus 9), and keep protein where it is.
Step 3: Track a full day of macros
Log every food with its portion, then add up each macro. Here is Jordan's first logged day:
Meal | What Jordan ate | Calories | Protein | Fat | Carbs |
|---|---|---|---|---|---|
Breakfast | 3 scrambled eggs, 2 slices whole-wheat toast, 1 cup strawberries | 483 | 27 g | 23 g | 42 g |
Lunch | 6 oz roasted chicken breast, 1 cup brown rice, ½ cup black beans, ¼ cup salsa, ½ avocado | 745 | 67 g | 19 g | 76 g |
Snack | 1 container plain nonfat Greek yogurt, 1 medium banana | 205 | 19 g | 1 g | 33 g |
Dinner | 5 oz baked salmon, 1 medium baked potato, 1 cup broccoli, 1 tbsp olive oil | 627 | 39 g | 32 g | 48 g |
Day total | 2,060 | 152 g | 75 g | 199 g | |
Target | 2,300 | 140 g | 65 g | 290 g | |
Gap | -240 | +12 g | +10 g | -91 g |
Source: USDA FoodData Central, SR Legacy. FDC IDs: scrambled egg 172187, whole-wheat bread 172688, strawberries 167762, chicken breast 171477, brown rice 168875, black beans 173735, salsa 174524, avocado 171706, nonfat Greek yogurt 170894, banana 173944, salmon 175168, baked potato 170093, broccoli 169967, olive oil 171413.
Jordan's day shows a pattern worth watching for: protein lands on target because each meal was built around it, fat runs over from cooking oil and avocado, and carbs fall short.

Step 4: Fix the gaps with small swaps
You do not need a new menu, just two or three swaps. For Jordan:
Cook dinner with 1 tsp of oil instead of 1 tbsp: 79 fewer calories and 9 g less fat.
Add a second cup of brown rice at dinner: 218 calories and 46 g of carbs.
Add a second banana as a snack: 105 calories and 27 g of carbs.
The new day comes to 2,304 calories, 158 g of protein, 68 g of fat and 272 g of carbs: on calories, and within about 20 g of every macro target. That is close enough. Aim to land near your targets across the week, not to the gram every day.

Flexible dieting: counting macros without a meal plan
Flexible dieting, sometimes called "if it fits your macros", means any food can go in the day as long as the totals land near your targets. Nothing is banned; a slice of pizza simply uses up part of the fat and carb budget.
In a study of 223 adults, a flexible approach to dieting was linked with less overeating, lower body weight and lower depression and anxiety scores, while a pattern of strict calorie counting and conscious dieting was linked with overeating alone and higher body weight (Smith et al., Appetite). The study shows links, not cause and effect, but it is a good reason to treat your targets as a guide rather than a rule.
4 mistakes that throw off your macros
Skipping cooking fat. One tablespoon of olive oil is 13.5 g of fat and 119 calories, enough on its own to push Jordan's fat over target.
Mixing raw and cooked weights. Foods gain or lose water when cooked, so the calories per ounce change. Weigh food in the same state as the entry you log: raw chicken against a raw entry, cooked rice against a cooked entry.
Chasing exact grams every day. Daily totals will swing. Judge your macros by the weekly average and your weight trend over two to three weeks.
Letting protein slide on busy days. If protein runs low when meals are rushed, keep one quick option on hand, such as Greek yogurt, which gave Jordan 17 g in one container.
If tracking food makes you anxious or rigid about eating, or you have a history of an eating disorder, talk with your doctor or a registered dietitian before you start.
Where Dietfit fits
Dietfit sets your daily calorie goal from your BMR, TDEE, activity level and weight goal, and adds exercise calorie credit when you sync workouts. Each meal you log by photo, text or voice shows its calories, protein, carbs and fat, so your daily totals add themselves up.

Dietfit's Meal Score rates each meal on food quality, nutrient balance, nutritional completeness and your activity that day. That gives you a quick read on whether a meal fits your targets before the day is over, which is when a swap is still easy. See how Dietfit's macro tracking works.
Counting macros FAQ
What is counting macros? Tracking how many grams of protein, fat and carbohydrates you eat each day, against a target for each, instead of tracking calories alone.
What is a good macro ratio for weight loss? There is no single best ratio. Diets with different macro mixes led to similar weight loss when calories were cut by the same amount. Set protein first (about 1.6 g per kg of body weight if you lift), keep fat at 20% to 35% of calories, and let carbs fill the rest.
Should I count macros or calories? Calories drive weight loss; macros, protein most of all, help decide how much of the loss is fat rather than muscle. If tracking calories already feels like enough work, start there and add a protein target first.
Do I have to hit my macros exactly? No. Jordan's fixed day still missed carbs by 18 g and that is close enough; the weekly average matters more than any single day.
What is the easiest way to track macros? Use an app that totals the grams for you, log meals right after you eat, and save the meals you repeat so they take one tap next time.
References
U.S. Food and Drug Administration. 21 CFR 101.9, Nutrition labeling of food (calorie factors of 4, 4 and 9). https://www.ecfr.gov/current/title-21/chapter-I/subchapter-B/part-101/subpart-A/section-101.9
National Academies of Sciences, Engineering, and Medicine. "Dietary Reference Intakes: The Essential Guide to Nutrient Requirements" (Acceptable Macronutrient Distribution Ranges). https://nap.nationalacademies.org/read/11537/chapter/7
Food and Agriculture Organization. "Food energy: methods of analysis and conversion factors" (alcohol, 7 kcal per gram). https://www.fao.org/4/y5022e/y5022e04.htm
Sacks FM, Bray GA, Carey VJ, et al. "Comparison of weight-loss diets with different compositions of fat, protein, and carbohydrates." New England Journal of Medicine. https://pubmed.ncbi.nlm.nih.gov/19246357/
Mayo Clinic Staff. "Counting calories: Get back to weight-loss basics." Mayo Clinic. https://www.mayoclinic.org/healthy-lifestyle/weight-loss/in-depth/calories/art-20048065
Mifflin MD, St Jeor ST, Hill LA, Scott BJ, Daugherty SA, Koh YO. "A new predictive equation for resting energy expenditure in healthy individuals." American Journal of Clinical Nutrition. https://pubmed.ncbi.nlm.nih.gov/2305711/
Morton RW, Murphy KT, McKellar SR, et al. "A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults." British Journal of Sports Medicine. https://pubmed.ncbi.nlm.nih.gov/28698222/
U.S. Department of Agriculture, Agricultural Research Service. FoodData Central (SR Legacy). https://fdc.nal.usda.gov/
Smith CF, Williamson DA, Bray GA, Ryan DH. "Flexible vs. rigid dieting strategies: relationship with adverse behavioral outcomes." Appetite. https://pubmed.ncbi.nlm.nih.gov/10336790/
Wycherley TP, Moran LJ, Clifton PM, Noakes M, Brinkworth GD. "Effects of energy-restricted high-protein, low-fat compared with standard-protein, low-fat diets: a meta-analysis of randomized controlled trials." American Journal of Clinical Nutrition. https://pubmed.ncbi.nlm.nih.gov/23097268/