A wooden table displays fresh fruits and vegetables alongside a nutrition facts sheet and a measuring tape, emphasizing the theme of counting macros for weight loss.

Counting macros means tracking grams of protein, carbohydrate, and fat instead of (or alongside) calories. It is also called flexible dieting or IIFYM, "if it fits your macros." This guide explains how macros work, how to set targets for weight loss, and how to keep tracking simple.

Key takeaways

  • Macros are protein, carbohydrate, and fat. Protein and carbs have 4 calories per gram, fat has 9, and alcohol has 7.
  • Weight change still depends on calorie balance. Macros add structure around food quality and fullness.
  • Start from a calorie estimate, then split it into protein, carb, and fat targets you can follow.
  • Tracking can backfire for some people. Skip it if it triggers stress about food, and talk to a professional if you have a history of disordered eating.

What are macros?

Macronutrients are the nutrients you need in large amounts that supply energy.

  • Protein (4 calories per gram): builds and repairs tissue and tends to be filling.
  • Carbohydrate (4 calories per gram): your body's main fuel. Includes sugar, starch, and fiber.
  • Fat (9 calories per gram): supports hormone production and the absorption of vitamins A, D, E, and K.

Older articles, including earlier versions of this one, sometimes list fat at 8 calories per gram. The standard figure is 9.

Counting macros vs. counting calories

Both approaches work through calorie balance: weight loss requires eating fewer calories than you use over time. Calorie counting treats a doughnut and a chicken-and-vegetable plate the same if the calories match. Macro counting nudges you to ask where the calories come from, and many people find protein and fiber-rich carbs help them stay full.

The tradeoff is effort. You need to log protein, carbs, and fat, not one number. Some people only track the macro that matters most to them, such as protein or net carbs.

How to calculate your macros for weight loss

Step 1: Estimate your calorie target

An online calculator or a registered dietitian can estimate the calories you need. Aim for a moderate deficit you can sustain. Very low calorie targets can leave you short on nutrients and are not suitable for everyone.

Step 2: Set protein first

The Recommended Dietary Allowance for protein is 0.8 g per kilogram of body weight, which is a minimum for most healthy adults. Active people, older adults, and people losing weight are often advised to eat more to help protect muscle. Ask your clinician or dietitian what fits you. Bariatric surgery patients usually follow a protein goal from their surgical team.

Step 3: Split the rest between carbs and fat

The National Academies' Acceptable Macronutrient Distribution Ranges are 45 to 65 percent of calories from carbohydrate, 20 to 35 percent from fat, and 10 to 35 percent from protein. For overall food choices, see the Dietary Guidelines for Americans. Many low-carb plans go below the carb range, and a clinician can advise whether that suits you.

Worked example

Take a 1,600-calorie day split 40 percent carbs, 30 percent protein, and 30 percent fat.

  • Carbs: 640 calories, divided by 4, is 160 g
  • Protein: 480 calories, divided by 4, is 120 g
  • Fat: 480 calories, divided by 9, is about 53 g

This is an illustration, not a prescription. Your numbers depend on your size, activity, health, and goals.

Which macros should you track?

  • Low-carb or keto: track net carbs and protein. Our guide to net carbs and the keto macro ratio go deeper.
  • Higher protein: track protein and let the rest follow.
  • Diabetes: carbs matter for blood sugar. Set targets with your care team, especially if you take insulin or other glucose-lowering medicine.
  • GLP-1 medications: appetite can drop a lot, so protein and fiber often become the priority. Follow your prescriber's advice.

Eat well within your macros

The "if it fits" idea means no food is banned, but nutrition quality still counts. Hitting your numbers with only ultra-processed food can leave you low in fiber, vitamins, and minerals. Build most meals from vegetables, fruit, beans, whole grains, lean proteins, nuts, and olive oil, and use treats as extras. You can look up the macros in common foods in USDA's FoodData Central.

Easy swaps that help you hit targets

Always check the label for serving size and the macros per serving.

Simple ways to track without burning out

  • Use a food-logging app with a barcode scanner.
  • Repeat meals you like so logging gets faster.
  • Weigh foods when you can, since eyeballing portions is often off.
  • Aim for a weekly average, not perfection every day.
  • Try the plate method: half non-starchy vegetables, a quarter lean protein, a quarter fiber-rich carbs.

Frequently asked questions

What does IIFYM mean?

IIFYM stands for "if it fits your macros." You set daily protein, carb, and fat targets and may eat any foods that fit them.

Do I need to count calories if I count macros?

Not separately. Macro grams add up to calories, so hitting your macros sets your calories too.

How many macros should I eat to lose weight?

There is no single answer. Start with a calorie estimate, set protein, then divide the rest. A dietitian can personalize it.

Is counting macros better than counting calories?

Neither is better for everyone. Macro tracking adds information on food quality and fullness, but it takes more effort. Choose what you can keep doing.

Is counting macros safe?

It is fine for many healthy adults, but not for everyone. Talk to a clinician first if you have diabetes, kidney disease, are pregnant, or have a history of disordered eating.

This article is for general information and isn't medical advice. Talk with your doctor or a registered dietitian before changing your diet, especially if you take medication or manage a health condition.