CiboStart free
← All articles

5 Steps to Calculate Accurate Macros, USDA Data and a Worked Example

Five evidence backed steps to calculate macros: find BMR/TDEE, set protein then fat, fill carbs. Includes a worked example and USDA data.

To calculate your macros, follow five steps in order: find your BMR with the Mifflin-St Jeor equation, multiply it by an activity factor to get your TDEE, pick a calorie target for your goal, set your protein first in grams per kilogram, then set a fat minimum and let carbs fill what’s left. Protein and carbs provide 4 calories per gram, and fat provides 9, so once you know your calorie split, converting to grams is simple math. A macro calculator or tracking app can do this instantly, but knowing the steps means you can check any number it gives you.


TL;DR:

  • Tracking accuracy depends heavily on weighing ingredients precisely and choosing a reliable USDA-based food database rather than estimating or using crowdsourced data.
  • Adjust macro targets every two to four weeks based on weekly average weight trends, rather than reacting to daily fluctuations, to ensure consistent progress.
  • Most resistance-trained adults should aim for around 1.6 grams of protein per kilogram of body weight daily, with higher amounts for older adults or during aggressive deficits.
  • Carbohydrates should fill the remaining calorie budget after setting protein and fat, with typical recommendations supporting 20-30% of daily calories from fat.
  • Using a macro calculator simplifies the process by automating BMR, TDEE, and gram conversions, allowing accurate tracking without manual calculations.

Track Macros Without Manual Math

Log meals by photo, voice, text, barcode or manual entry, then see calories and macros against your personal daily goal.

Get the App

Steps 1 through 3: find your BMR, TDEE, and calorie target

Your basal metabolic rate (BMR) is the number of calories your body burns at rest, and the Mifflin-St Jeor equation is the version most calculators use because it tends to track closely with measured values in healthy adults. For men, it’s 10 × weight in kg + 6.25 × height in cm − 5 × age + 5. For women, it’s 10 × weight in kg + 6.25 × height in cm − 5 × age − 161. If you’re used to pounds and inches, convert first: divide pounds by 2.2 to get kilograms, and multiply inches by 2.54 to get centimeters.

Once you have your BMR, multiply it by an activity factor to estimate your total daily energy expenditure (TDEE), the number of calories you burn in an average day including movement and exercise. These are the standard activity multipliers most calculators use:

  • Sedentary (1.2): little or no exercise, a desk job with minimal walking.
  • Light activity (1.375): light exercise one to three days a week.
  • Moderate activity (1.55): moderate exercise three to five days a week.
  • Very active (1.725): hard exercise six to seven days a week.
  • Extra active (1.9): physical job plus daily training, or two-a-day sessions.

With your TDEE in hand, you can set a calorie target. For fat loss, a conservative approach trims about 250 calories a day, while a more standard deficit removes around 500. If your goal is muscle gain, a small surplus of 200 to 350 calories a day gives your body raw material to build without packing on excess fat. Avoid cutting too aggressively: dynamic energy-balance models such as the NIH Body Weight Planner show that simple fixed math (like the old “3,500 calories equals a pound” rule) overpredicts actual weight loss, because your metabolism adapts as you lose weight. Your real-world results will usually land below what a static formula promises.

Because daily weight and intake naturally bounce around, track your weekly average rather than reacting to single-day numbers, and reassess your targets every two to four weeks based on how your trend is actually moving.

Step 4: set your protein first, pick a fat floor, then let carbs fill the rest

Protein comes before anything else, because it’s the macro most tied to keeping or building muscle while you’re in a deficit or surplus. A meta-analysis on resistance-trained adults found that gains plateau around 1.6 grams of protein per kilogram of body weight per day, which makes that figure a practical floor for most people lifting weights regularly. Some contexts call for more, such as an aggressive deficit or an older adult preserving muscle, where 1.8 to 2.2 g/kg can be worth considering.

Setting your macros in order:

  1. Multiply your body weight in kilograms by 1.6 (or up to 2.2 in specific cases) to get your protein target in grams.
  2. Set fat at roughly 20 to 30% of your total calories, and not below about 0.5 g/kg.
  3. Convert both protein and fat grams to calories, subtract that total from your calorie target, and divide the remainder by 4 to get your carb grams.

The World Health Organization recommends keeping total fat at 30% or less of daily energy, with at least 15% needed to support normal body function, so staying inside that range gives you a reasonable floor without starving yourself of fat-soluble nutrients. Once protein and fat are locked in, carbohydrates simply absorb whatever calories remain, which is why athletes on higher-carb plans and people on lower-carb or keto-style plans can land on very different gram counts while still hitting the same protein and fat targets.

Protein intake plateaus near 1.6 g/kg/day for muscle-building purposes in resistance-trained adults, meaning more isn’t automatically better once you clear that bar.

Pro Tip: Spread protein across three or four meals at roughly 0.3 to 0.4 g/kg per sitting rather than loading it all into one meal, since this pattern supports muscle protein synthesis more evenly throughout the day.

If you want a shortcut for the math above, our protein target calculator runs these conversions automatically based on your body weight and goal.

The 4/4/9 rule: converting calories to grams

Every gram of protein and carbohydrate holds 4 calories, and every gram of fat holds 9, according to USDA FoodData Central’s energy factors. These three numbers are the entire conversion system behind every macro calculator you’ll ever use.

A few quick examples make this concrete:

  • 150 grams of protein × 4 = 600 calories.
  • 70 grams of fat × 9 = 630 calories.
  • If you have 2,000 calories and want 30% from fat, that’s 600 calories, divided by 9 equals about 67 grams of fat.

Here’s the full checklist for converting any calorie target into grams:

  • Decide your total daily calories.
  • Set protein in grams, then multiply by 4 for its calorie count.
  • Set fat in grams (or as a percent of calories), then multiply by 9.
  • Subtract protein and fat calories from your total, then divide what’s left by 4 for carb grams.

Keep a USDA-sourced database on hand when you look up specific foods, since that’s the reference point these energy factors come from.

Getting accurate numbers: scales, apps, and common tracking mistakes

The math only works if the inputs are honest, and most tracking errors come from the input side, not the formula. Eyeballing portions tends to undercount what’s actually on your plate, especially with calorie-dense foods like oils, nut butters, and sauces that hide a surprising number of calories in a small volume. Weighing food on a digital scale removes most of that guesswork, and staying consistent (always weighing raw, or always weighing cooked) prevents a quiet drift in your numbers, since cooking changes a food’s weight through water loss.

A few habits make a real difference:

  • Weigh ingredients on a digital food scale instead of estimating by eye.
  • Pick one method (raw or cooked) and stick with it for every entry.
  • Watch for hidden fats in cooking oil, dressings, and condiments, since these add up fast.
  • Use a database built on USDA FoodData Central values rather than crowd-sourced entries of unknown accuracy.

This is where a tracking app earns its keep. Features like barcode scanning, photo-based AI logging, and voice or text entry cut the friction of weighing and searching for every item, while manual entry stays available for homemade or uncommon meals. We built an app around exactly this problem: snap a photo, say what you ate, scan a barcode, or type it in, and get calories and macros back against USDA-sourced data, with a running daily balance against your personal goal. You can set your starting targets with our macro calculator.

Accuracy issue Fix
Eyeballing portions Weigh food on a digital scale
Raw vs. cooked confusion Pick one method and use it every time
Hidden fats in oils and sauces Measure condiments instead of pouring freely
Unreliable food database Choose a USDA FoodData Central-based app

A worked example: from body weight to grams on your plate

Here’s the full sequence for a 30-year-old man who weighs 80 kg, stands 180 cm tall, trains moderately, and wants to lose fat.

  1. BMR: 10 × 80 + 6.25 × 180 − 5 × 30 + 5 = 800 + 1,125 − 150 + 5 = 1,780 calories, using the Mifflin-St Jeor equation.
  2. TDEE: 1,780 × 1.55 (moderate activity) = 2,759 calories.
  3. Calorie target: subtract a standard 500-calorie deficit, landing at 2,259 calories a day.
  4. Protein: 80 kg × 1.6 g/kg = 128 grams, which is 128 × 4 = 512 calories.
  5. Fat: 25% of 2,259 = 565 calories, divided by 9 = about 63 grams (above the 0.5 g/kg floor of 40 grams).
  6. Carbs: 2,259 − 512 − 565 = 1,182 calories remaining, divided by 4 = about 296 grams.

This profile’s final daily targets land at roughly 2,259 calories, 128 g protein, 63 g fat, and 296 g carbs, based on a standard moderate-activity TDEE calculation. Your own numbers will shift with your weight, height, age, activity level, and goal, but the sequence stays identical. If you’d rather skip the arithmetic, plugging these same inputs into a macro calculator gets you the same output in seconds.

Adjusting your macros as your body responds

Macros aren’t a one-time calculation. Check your weight trend over two to four weeks using weekly averages, since day-to-day fluctuations from water and food volume make single readings unreliable.

A few simple rules handle most situations:

  • If your training performance is slipping, shift 5 to 10% of your calories from fat to carbs to support energy for workouts.
  • If hunger is becoming hard to manage, raise protein by about 5% or add a small amount of total calories.
  • If your weight hasn’t moved in three to four weeks despite consistent tracking, trim 100 to 200 calories or add more daily movement (walking, standing, general activity) rather than cutting further.

Avoid pushing calories below what your body needs for basic function, and if you have a medical condition, are pregnant, or have a history of disordered eating, talk to a doctor or registered dietitian before making significant changes to your intake.

Why protein-first is easier to sustain

Setting protein first and tracking consistently is usually easier to stick with than chasing a perfect ratio from day one. Protein gives you a stable anchor while fat and carbs flex around your training, appetite, and schedule, and that flexibility is what keeps a plan sustainable past the first few weeks. An app that logs food quickly removes the biggest reason people quit tracking, which is simply the hassle of doing it by hand every day.

Let a calculator handle the math for you

Running BMR, TDEE, and gram conversions by hand works, but it’s slower than it needs to be when you’re adjusting targets every few weeks. Our macro calculator runs the same Mifflin-St Jeor and energy-factor math described above and hands you protein, carb, and fat targets in grams.

From there, logging meals by photo, voice, text, or barcode keeps your daily numbers against USDA-sourced data without manual entry for every item. Pricing runs on a 7-day trial, then subscription. Start with the calculator and see your numbers in under a minute.

FAQ

What is 40/30/30 macro weight loss?

A 40/30/30 split means 40% of calories from carbohydrate, 30% from protein and 30% from fat. It can work, but it isn’t based on individual body weight or training status, so a protein-first method using grams per kilogram tends to fit a wider range of goals more precisely.

How often should I recalculate my macros?

Reassess every two to four weeks, using your weekly average weight trend rather than single-day readings, since short-term fluctuations don’t reflect real progress. Recalculating sooner makes sense if your body weight, activity level, or goal changes significantly.

Do I need to track every single day?

Consistent tracking, even if not flawless every day, gives you the clearest picture of whether your calorie and macro targets match your actual intake. Many people find that logging most days, then reviewing weekly totals, is enough to catch drift before it becomes a bigger gap.

Can athletes use different macro targets than general guidelines?

Yes, athletes in heavy training often need higher carbohydrate intake to fuel performance and recovery, while still keeping protein in the 1.6 to 2.2 g/kg range depending on training intensity and deficit size. Fat typically stays near the floor described by WHO guidance so more calories can go toward carbs.

Sources

Not medical advice. Cibo is a nutrition-awareness tool, not a medical device. Read the full disclaimer.

Was this article helpful?
Share

Build healthier habits with Cibo

Nutrition made simpler for everyday life.

Download App →
Cibo mascot winking - small steps, big change

More to read

See all articles →
TogetherBest Calorie Tracker for Couples & Friends (2026): Track Together Without Watching Each Other7 min read›SwitchingCibo vs Cronometer vs MacroFactor: An Honest Comparison for 20267 min read›SwitchingMyFitnessPal Price Increase: What Changed and What $80 a Year Actually Buys8 min read›