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 · · 5 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 splitting your daily calories between them, then turning that split into grams you can aim for. You can 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.*
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. You can get one from your weight, height, age and activity. Our guide on how many calories you should eat walks through it, or you can use the calorie calculator.
Treat it as a starting point.
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.
Pick a split 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: an example
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.
Want your macros set for you, and tracked as you eat? Join the waitlist.
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 high. A very high target is hard to hit and isn't right for everyone, especially with kidney conditions.
- 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.
Your log matters more than the formula
A macro target is only as useful as your record of what you ate. 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
Ramen skips the arithmetic. Pick lose, hold or build, and it sets your daily calories and macros, protein included, along with a pace. The plan never changes on its own. Then you log by typing:
chicken burrito bowl, rice, black beans, guacamole
Calories, protein, carbs and fat appear beside the line as soon as you pause. Every line carries a short note on what Ramen counted and what it assumed, and a "~" tells you when it's a rougher guess. Fix a number in a sentence if it's off, like no sour cream.
Your macro targets move only when you move them. To see whether they suit you, type a weigh-in now and then. Each one is a dot on a journey chart, and a weekly Progress screen reads the week back to you as a verdict with three numbers. Reach your goal and a sticker marks it. Miss a target and there's no streak to break. 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.
See your macros as you eat
A target on paper does nothing until you can see how your day compares with it. Ramen shows that beside every line, for $29.99 a year (under $2.50 a month, with a 3-day trial) or $4.99 a month. Join the waitlist and let the arithmetic run itself.
* This is general information, not medical advice. Food numbers are estimates: labels are rounded and home cooking varies. Ask your care team if there is a health reason to choose different targets.