Skip to content
Blog

Nutrition

How to Track Macros: A Beginner's Guide

By LensNutra Team · 7 min read

Published June 30, 2026 · Updated July 9, 2026

Tracking macros means logging how much protein, carbohydrate and fat you eat, the three nutrients that make up all of your calories. You set a target for each based on your goal, then log your food and try to hit them. Do it consistently and you control not just how much you eat, but the quality and composition of it, which is what separates losing fat from losing muscle.

Here’s the beginner-friendly version, step by step.

Key takeaways

  • Macros are protein, carbs and fat. Protein and carbohydrate each supply 4 calories per gram; fat supplies 9. Add them up and you get your total calories.
  • Set protein first. A practical range is 1.6 to 2.2 grams per kilogram of body weight, well above the RDA of 0.8 g/kg, to protect muscle in a deficit or build it in a surplus.
  • The federal AMDR ranges are 10 to 35% protein, 45 to 65% carbohydrate, and 20 to 35% fat of total calories, per the Dietary Guidelines for Americans. Any split inside those ranges is scientifically defensible.
  • You don’t need to hit macros perfectly. Within 5 to 10 grams of each target, judged on a weekly average, is close enough to get results.
  • The calorie total drives fat loss or gain; the macro split shapes body composition. You can lose weight on many splits, but high protein is the constant across all of them.

What are macros?

“Macros” is short for macronutrients. There are three, and each carries a fixed amount of energy that never changes:

MacronutrientCalories per gramWhat it does
Protein4Builds and preserves muscle, keeps you full
Carbohydrate4Main energy source, especially for training
Fat9Powers hormones and vitamin absorption

Fiber is a type of carbohydrate worth tracking on its own because it aids digestion and fullness. Alcohol technically carries 7 calories per gram but isn’t a macronutrient your body needs.

Add up your macros and you get your calories, which is why tracking macros automatically tracks calories too. A chicken breast that’s about 165 calories in 100 grams is roughly 31 grams of protein and 3.6 grams of fat, and those grams are what add up to the number on the label.

How much of each macro should you eat?

Start with protein, then set fat, then let carbs fill the rest of your calorie budget. That order matters: protein and fat have jobs that carbs don’t, so you lock them in first.

The federal Acceptable Macronutrient Distribution Ranges (AMDR), published in the Dietary Guidelines for Americans and set by the National Academies, give the evidence-based boundaries for adults:

MacroAMDR (% of calories)
Protein10 to 35%
Carbohydrate45 to 65%
Fat20 to 35%

Those are wide ranges on purpose. There isn’t one “correct” split, so pick numbers inside these boundaries that fit your goal and preferences.

How many grams of protein per day?

The most important macro for body composition. The federal RDA is 0.8 grams per kilogram of body weight, but that’s the floor to prevent deficiency, not the amount that optimizes muscle. A better working range for active people is 1.6 to 2.2 g per kg, higher when you’re in a calorie deficit or building muscle, to protect lean mass. For a 150-pound (68 kg) person that’s roughly 110 to 150 grams a day.

Whole-food protein sources make this easy to hit: one large egg is about 6 grams of protein, a chicken breast can clear 40 grams, and Greek yogurt adds another 15 to 20 per cup.

How much fat?

Don’t go too low. Keep fat at roughly 20 to 35% of your calories, matching the AMDR, with a practical floor near 0.6 to 0.8 g per kg for hormone health. Fat is calorie-dense at 9 per gram, so small amounts of oil, nuts, or cheese add up fast, which is exactly why weighing them helps.

How many carbs?

Carbs are the flexible one. They get whatever calories are left after protein and fat. If you train hard, lean toward more carbs to fuel workouts; if you feel better on fewer, lean toward more fat instead. Both sit inside the AMDR and both work.

How to calculate your macros in grams

Percentages are easy to turn into daily gram goals. Here’s the math, using a 2,000-calorie day split 30% protein / 40% carbs / 30% fat:

  1. Protein: 2,000 × 0.30 = 600 calories ÷ 4 = 150 g
  2. Carbs: 2,000 × 0.40 = 800 calories ÷ 4 = 200 g
  3. Fat: 2,000 × 0.30 = 600 calories ÷ 9 = 67 g

Those three gram numbers are your daily targets. To get your own calorie figure to plug in, run a free TDEE and calorie calculator, then apply your goal adjustment (roughly minus 500 for loss, plus 250 for gain).

Macro splits by goal

The constant across every goal is high protein. Once that’s set, the carb-to-fat balance is mostly personal preference.

GoalProteinCarbsFatExample split
Fat lossHighModerateModerate35% / 35% / 30%
Muscle gainHighHighModerate30% / 45% / 25%
MaintenanceModerateModerateModerate30% / 40% / 30%

Get protein right and the rest is fine-tuning. If you’re deciding how big your calorie deficit should be in the first place, see how many calories to lose weight, because the deficit, not the exact split, is what moves the scale.

How to actually track macros day to day

Knowing your targets is the easy part. Hitting them consistently is where most people quit. Here’s the workflow that sticks:

  1. Set your calorie target using a TDEE calculator and your goal adjustment.
  2. Set protein first (1.6 to 2.2 g/kg), then fat (20 to 35% of calories), then carbs as the remainder.
  3. Log everything you eat and watch the running totals across the day.
  4. Weigh or estimate portions. Use a kitchen scale in grams for dense foods, rice, pasta, oils, and meats, where eyeballing is least accurate. For packaged items, follow the label serving.
  5. Review weekly. Compare your average intake to your body-weight trend and adjust calories by 100 to 200 if progress stalls.

The catch is steps 3 and 4. Manually entering macros and weighing every meal is exactly why people burn out. A photo tracker fixes it: snap your plate and LensNutra’s macro tracker breaks it into protein, carbs, fat and fiber automatically, rolling each into your daily targets with no math or database searching. For packaged food, the barcode scanner pulls exact label macros in a second, and the AI food scanner handles home-cooked plates the barcode can’t.

How accurate does macro tracking need to be?

Close enough to steer, not laboratory-perfect. Portion estimates and label rounding introduce real error, so chasing a flawless daily score is wasted effort. Aim to land within 5 to 10 grams of each target and judge yourself on the weekly average, not any single day.

The bigger accuracy question is usually your calorie total, since being off by 20% on portions compounds over a week. Weighing your densest foods removes most of that error, and if you’re curious how photo estimates stack up against a scale, we break it down in how accurate AI calorie counters are.

Do you have to track macros forever?

No. Most people track for a few months to learn what balanced portions actually look like, then loosen up while keeping an eye on protein. The education sticks even when the logging stops. Many people cycle back into tracking only when a goal changes, such as a fat-loss phase or prepping for an event.

If you want the deeper mechanics of choosing gram targets and reading nutrition labels, the macro tracker feature walks through it, and the broader calorie reference hub lists exact protein, carb, and fat numbers for common foods.

The bottom line

Macros are just protein, carbs and fat. Prioritize protein at 1.6 to 2.2 g/kg, keep fat in the 20 to 35% AMDR range, fill the rest with carbs, and log consistently. Stay inside the federal AMDR ranges and any split you choose is defensible. A photo-based tracker removes the tedium so you’ll actually keep it up long enough to see results.

Start tracking your macros with LensNutra, one photo per meal.

Medical disclaimer. This article is for general educational purposes only and is not medical or nutritional advice. Calorie and macro targets are estimates that vary by individual. Consult a qualified healthcare professional or registered dietitian before making significant changes to your diet, especially if you have a health condition, are pregnant or nursing, or take medication.

Ready to put this into practice?

Get LensNutra free

FAQ

Frequently asked questions

What are macros in a diet?

Macros, short for macronutrients, are the three nutrients that supply all your calories: protein, carbohydrate, and fat. Protein and carbs each provide 4 calories per gram, and fat provides 9. Tracking how many grams of each you eat controls both the amount and the composition of your diet.

How do I calculate my macros?

First set a calorie target with a TDEE calculator. Set protein at 1.6 to 2.2 grams per kilogram of body weight, put fat at 20 to 35 percent of calories, and assign the remaining calories to carbs. Multiply calories by each percentage, then divide by 4 for protein and carbs or 9 for fat to get grams.

What is the best macro split for weight loss?

For fat loss, prioritize protein to protect muscle in a calorie deficit, keep fat moderate for hormone health, and adjust carbs to taste. A common starting split is roughly 30 to 40 percent protein, 30 to 40 percent carbs, and 25 to 30 percent fat, but the calorie deficit is what actually drives the loss.

Do I have to hit my macros exactly every day?

No. Getting within about 5 to 10 grams of each target is close enough for results. Protein is the one worth hitting most consistently. Aim for the weekly average rather than a perfect daily score, since a single high or low day rarely changes your trend.

How many grams of protein per day do I need?

The federal RDA is 0.8 grams per kilogram of body weight to prevent deficiency, but active people and those losing weight benefit from more. A practical range is 1.6 to 2.2 grams per kilogram, which is roughly 110 to 150 grams a day for a 150-pound person.

Is tracking macros better than just counting calories?

They work together. Counting calories controls how much you eat, while tracking macros also controls the balance of protein, carbs, and fat. Since macros add up to your calories, tracking macros counts calories automatically while giving you better control over muscle retention and fullness.

4.9 · Loved by 500,000+ people

Claim your 3-day free trial

Start scanning your meals in seconds. No ads, cancel anytime.