How to calculate macros: a plain-language guide
How to calculate macros in four steps: calories per gram, common protein, carb and fat splits, and a worked example you can copy. No jargon.
The Ramen team · · 4 min read
Macros sound technical, but the idea is small. Every calorie you eat comes from protein, carbohydrate, fat or (a little) alcohol. Calculating macros just means deciding how your daily calories are split between them, then turning that split into grams you can aim for. Here's how to do it by hand in a few minutes.
Quick answer: how do you calculate macros?
Start with a daily calorie target. Choose a split between protein, carbs and fat as percentages. Multiply your calories by each percentage, then divide by the calories per gram: 4 for protein, 4 for carbs, 9 for fat. The results are your gram targets. This is general information, not medical advice.
What are macros?
"Macros" is short for macronutrients, the three main nutrients that provide calories:
- Protein: 4 calories per gram. Found in meat, fish, eggs, dairy, tofu, beans and lentils.
- Carbohydrate: 4 calories per gram. Found in bread, rice, pasta, fruit, oats and potatoes.
- Fat: 9 calories per gram. Found in oils, butter, nuts, avocado and fatty meats.
Alcohol also provides calories, at about 7 per gram, but it isn't one of the three macros.
Fat has more than twice the calories per gram of the other two. That's why a small amount of oil or butter can change a meal's total so much.
Step 1: start with a calorie target
You need a daily calorie figure before you can split it. A commonly used way to get one is an estimate of maintenance calories, based on weight, height, age and activity. Our guide on how many calories you should eat walks through it, or you can use the calorie calculator.
Whatever number you use, treat it as a starting point. Your care team can help if there's a health reason to choose it differently.
Step 2: pick a split
There's no universal best ratio. These are common approaches people start with:
- Balanced: about 20 to 30% protein, 40 to 50% carbs, 25 to 35% fat.
- Higher protein: about 30 to 35% protein, 35 to 40% carbs, 25 to 30% fat.
- Lower carb: about 25 to 30% protein, 20 to 30% carbs, 40 to 50% fat.
Some people set protein first, as grams per kilogram of body weight, and let carbs and fat share the rest. If that appeals to you, see how much protein you need.
Fiber, food preferences, training and health conditions all affect what works. Pick a split that you can actually eat, because one you dread won't last.
Step 3: turn percentages into grams
For each macro, use this formula:
grams = (calories x percentage) / calories per gram
- Protein grams = calories x protein % / 4
- Carb grams = calories x carb % / 4
- Fat grams = calories x fat % / 9
Step 4: a worked example (illustrative)
These numbers are for illustration only, not a recommendation.
Say the daily target is 2,000 calories, with a split of 30% protein, 40% carbs and 30% fat.
- Protein: 2,000 x 0.30 = 600 calories, divided by 4 = 150 g
- Carbs: 2,000 x 0.40 = 800 calories, divided by 4 = 200 g
- Fat: 2,000 x 0.30 = 600 calories, divided by 9 = about 67 g
Check it: 600 + 800 + 603 = about 2,003 calories. The small gap is rounding, which is fine.
If you'd rather skip the arithmetic, the macro calculator does these steps for you.
Common mistakes
- Treating the grams as a pass/fail test. Macro targets are a guide. Landing within a range most days is plenty.
- Forgetting that fat is dense. A tablespoon of oil is a lot of calories in a small spoon.
- Setting protein too ambitiously. A very high protein target can be hard to hit and isn't right for everyone, especially with kidney conditions. Ask your care team.
- Ignoring fiber and food quality. Macros describe quantity, not how nourishing a meal is.
- Recalculating every week. Revisit your numbers when your weight, activity or goals change, not every few days.
Why the inputs matter more than the formula
A macro target is only as useful as your record of what you ate. Food numbers are estimates: labels are rounded, home cooking varies, and restaurant portions aren't standard. You'll never match your target to the gram, and you don't need to.
What helps most is a log that's honest and quick to keep. Notice which macro you tend to miss, and adjust in small ways. Add a protein source at breakfast. Swap a heavy sauce for a lighter one if you want to. Keep it practical.
Where Ramen fits
If you want macros without searching a database, this is what Ramen does. You type what you ate in plain words, one line per food, and calories and macros appear beside each line, usually in about 2 seconds. Every number has a plain-language explanation, and you'll see a "~" when it's less sure. Ramen works out calorie and macro targets from your goal, body and activity, and it writes calories and macros back to Apple Health.
Ramen doesn't rewrite your words, and there are no red numbers or streaks if you miss a target. If you care about the macro side in particular, take a look at the macro tracker app page. For the logging habit itself, calorie counting for beginners is a calm place to start.
Quick recap
- Choose a daily calorie target.
- Pick a split you can eat.
- Multiply calories by each percentage.
- Divide by 4, 4 and 9 to get grams.
- Treat the result as a range, and adjust slowly.
Track your macros by typing
If you want to see your macros appear next to what you actually ate, without hunting through food databases, Ramen is coming soon to iPhone. Join the waitlist and we'll send you one email when it's out.