Tracking macros means logging the grams of protein, carbohydrates, and fat you eat each day, then adjusting those numbers to match a specific goal like fat loss or muscle gain. It’s more precise than calorie counting alone because two diets with identical calories can produce very different results depending on where those calories come from. The process boils down to three steps: figure out how many grams of each macro you need, log your food accurately, and review your numbers over time.
What Macros Are and Why They Matter
The three macronutrients, protein, carbohydrates, and fat, each supply a different amount of energy. Protein and carbohydrates both provide 4 calories per gram, while fat provides 9 calories per gram. This is why a tablespoon of olive oil has more than double the calories of a tablespoon of sugar, even though the volume is the same.
Tracking macros gives you control over body composition in a way that calorie counting alone doesn’t. Eating 2,000 calories mostly from carbs and fat will affect your muscle mass, energy, and hunger very differently than eating 2,000 calories with a high proportion of protein. By setting targets for each macro, you’re essentially steering where your calories go and how your body uses them.
How to Calculate Your Daily Calories
Before you can split calories into macro targets, you need a reasonable estimate of how many total calories your body burns in a day. The most widely used method starts with the Mifflin-St Jeor equation, which estimates your resting metabolic rate based on weight, height, age, and sex:
- Women: (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) − 161
- Men: (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) + 5
That gives you the calories your body burns at complete rest. To account for movement and exercise, multiply the result by an activity factor:
- Sedentary (desk job, little exercise): × 1.2
- Lightly active (exercise 1–3 days per week): × 1.375
- Moderately active (exercise 3–5 days per week): × 1.55
- Very active (hard exercise 6–7 days per week): × 1.725
- Super active (physical job plus intense training): × 1.9
The final number is your total daily energy expenditure, or TDEE. To lose fat, you’ll eat below that number (a common starting deficit is 300 to 500 calories). To gain muscle, you’ll eat above it by a similar margin. To maintain weight, you eat right around it. This number is always an estimate, so treat it as a starting point and adjust based on what the scale and mirror show you after two to three weeks.
Setting Your Macro Targets
Once you have a calorie target, you divide it among protein, carbs, and fat. There’s no single perfect ratio. The right split depends on your goal, your activity level, and how your body responds. That said, a few starting templates work well for most people.
General Health and Maintenance
A solid baseline for most active adults is roughly 30% of calories from protein, 40% from carbs, and 30% from fat. This provides enough protein to support muscle, enough carbohydrate to fuel workouts and daily activity, and enough fat for hormone production and nutrient absorption.
Fat Loss
When cutting calories, protein becomes even more important because it protects muscle mass and keeps you feeling full. Bumping protein to 30 to 35% of your (reduced) calories is a common approach. The remaining calories get split between carbs and fat based on personal preference. If you’re younger and active, leaning toward more carbs (around 40%) and less fat (around 30%) tends to support training performance. Peri- or postmenopausal women often do better with a higher fat intake, something closer to 35% protein, 40% fat, and 25% carbs.
Muscle Gain
The macro split for building muscle looks similar to fat loss in terms of protein priority: 30 to 35% of calories from protein. A reasonable starting point for the rest is 40% carbs and 30% fat. Carbohydrates fuel the intense training that drives muscle growth, so cutting them too low can work against you.
Keto or Very Low-Carb
Ketogenic diets flip the standard ratio dramatically: 55 to 60% fat, 30 to 35% protein, and only 5 to 10% carbs. This typically works out to under 50 grams of carbohydrate per day for most people.
Converting Percentages to Grams
To turn these percentages into grams you can actually track, use the calorie-per-gram values. Say your target is 2,000 calories with a 30/40/30 split (protein/carbs/fat). That means 600 calories from protein, 800 from carbs, and 600 from fat. Divide the protein and carb calories by 4 and the fat calories by 9: 150 grams of protein, 200 grams of carbs, and 67 grams of fat. Those gram targets are what you’ll log each day.
How to Log Your Food Accurately
The biggest source of error in macro tracking isn’t the math. It’s the food measurement. A few habits make a real difference in accuracy.
Use a Food Scale
Weighing food in grams is significantly more precise than using measuring cups or eyeballing portions. Volume measurements are inconsistent because how tightly you pack a cup of rice or how generously you scoop peanut butter changes the actual amount dramatically. A digital kitchen scale that reads in grams costs around $10 to $15 and is the single most impactful tool for accurate tracking. Place your plate or bowl on the scale, zero it out, add the food, and log the weight.
Read Nutrition Labels Carefully
Packaged food labels list protein, carbs, and fat per serving, but serving sizes are often smaller than what you’d naturally eat. Always check the serving size first and scale your numbers accordingly. If you eat one and a half servings, multiply every macro by 1.5.
One label detail worth knowing: net carbs. If you’re counting net carbs (which excludes fiber and some sugar alcohols), the standard approach for sugar alcohols is to subtract half of the sugar alcohol grams from total carbohydrates. So a bar with 29 grams of total carbs and 18 grams of sugar alcohols would count as 20 grams of net carbs (29 minus 9). Fiber is fully subtracted.
Log as You Go
Trying to remember everything you ate at the end of the day is a recipe for missed items and inaccurate portions. Log each meal right after you eat it, or better yet, plan and log meals in advance so you know exactly what fits your targets before you start cooking.
Apps That Make Tracking Easier
Most people track macros with a smartphone app that has a food database, barcode scanner, and a dashboard showing daily progress. The landscape of options ranges from free to fairly expensive, and the best choice depends on what features matter to you.
For a free starting point, MyFitnessPal offers basic calorie and macro logging at no cost, though features like barcode scanning and custom macro goals require a premium subscription ($19.99/month or $79.99/year). Cronometer has a free tier that includes both macro and micronutrient tracking, with a paid version ($49.99/year) that removes ads and adds advanced charts. Lose It! is free for calorie tracking but puts macro tracking behind its $39.99/year premium plan.
If you want more sophisticated features, MacroFactor ($71.99/year, no free tier) uses an algorithm that adjusts your calorie targets based on your actual weight trend, removing a lot of the guesswork around TDEE. Carb Manager is popular for low-carb and keto diets, with a free version for basic net carb tracking and a premium tier starting at $3.33/month that adds meal planning and carb cycling tools. MyMacros+ is a budget-friendly option with a free base app and a pro subscription at $2.99/month.
For people who dislike manual logging, SnapCalorie uses AI photo recognition to estimate macros from a picture of your plate. The free version allows a few scans per day, with unlimited scans at $89.99/year. It’s less precise than weighing and logging manually, but it lowers the barrier enough that some people track more consistently.
Tracking Alcohol
Alcohol throws a wrench into macro tracking because it doesn’t fit neatly into protein, carbs, or fat. Pure alcohol contains about 7 calories per gram, and most tracking apps don’t have a dedicated “alcohol” macro. The practical workaround is to log alcohol calories as either carbs or fat. To log as carbs, divide the drink’s total calories by 4. To log as fat, divide by 9. You can also split the difference: take half the calories and divide by 4 (logging as carbs) and the other half divided by 9 (logging as fat). This approach makes sense biologically because when your body is processing alcohol, it puts fat and carbohydrate metabolism on pause, so those calories functionally behave like a mix of both.
A 150-calorie glass of wine logged as carbs, for example, would use up about 38 grams of your carb budget. The same glass logged as fat would use about 17 grams. Either way, the calories are accounted for.
Don’t Ignore Fiber
One thing macro tracking tends to overlook is fiber, which technically falls under carbohydrates but deserves separate attention. The U.S. Dietary Guidelines recommend 14 grams of fiber per 1,000 calories you eat, so someone on a 2,000-calorie diet should aim for at least 28 grams daily. Most Americans fall well short of that. When selecting your carb sources, prioritizing vegetables, fruits, legumes, and whole grains over refined carbs will help you hit your fiber target without needing to think about it too much.
Tips for Sticking With It
Macro tracking has a learning curve. The first week or two will feel tedious as you weigh portions and search for foods in your app. This gets dramatically faster once you’ve built a library of meals you eat regularly, since most apps let you save frequent foods and full meals for one-tap logging.
Perfection isn’t the goal. Hitting your protein target within 5 to 10 grams and your calories within 50 to 100 is close enough to see results. Obsessing over exact numbers to the gram creates stress that makes the whole process unsustainable. Many people find it helpful to prioritize protein first (since it has the biggest impact on body composition), let fat and carbs fall roughly into place, and fine-tune only if progress stalls.
Batch cooking also simplifies tracking considerably. If you make a big pot of chili, you can calculate the macros for the entire recipe once, divide by the number of servings, and log the same entry every time you eat a portion. Most tracking apps have a recipe feature that does this math for you.

