How to Calculate Macros in a Recipe
Find each ingredient's protein, carbohydrate and fat per 100 g, scale them to the grams you used, add up each column, and divide by the number of servings. The recipe macro calculator does it automatically.
Step by step
- List each ingredient with its weight in grams.
- Look up protein, carbohydrate and fat per 100 g in USDA FoodData Central.
- For each ingredient: grams ÷ 100 × value per 100 g.
- Add up each column for the whole recipe.
- Divide each total by the number of servings.
Worked example: chicken, rice and broccoli for 4
USDA SR Legacy values per 100 g, then scaled to the amount used:
| Ingredient | Amount | Protein | Carbs | Fat |
|---|---|---|---|---|
| Chicken breast, skinless, raw | 500 g | 22.5 g → 112.5 g | 0 g → 0 g | 2.62 g → 13.1 g |
| Brown rice, long-grain, raw | 185 g | 7.54 g → 13.9 g | 76.25 g → 141.1 g | 3.2 g → 5.9 g |
| Broccoli, raw | 182 g | 2.8 g → 5.1 g | 6.6 g → 12.1 g | 0.4 g → 0.7 g |
| Olive oil | 13.5 g | 0 g → 0 g | 0 g → 0 g | 100 g → 13.5 g |
| Total | 131.5 g | 153.2 g | 33.2 g | |
| Per serving (÷ 4) | 32.9 g | 38.3 g | 8.3 g |
Turning grams into a calorie split
Using the general factors of 4 calories per gram for protein and carbohydrate and 9 for fat (the factors allowed on U.S. labels):
- Protein: 32.9 × 4 = 132 calories
- Carbohydrate: 38.3 × 4 = 153 calories
- Fat: 8.3 × 9 = 75 calories
That is about 360 calories per serving, roughly 37% from protein, 43% from carbohydrate and 21% from fat.
USDA’s own calorie figures use more exact factors for some foods, so a calculator’s calorie total may differ slightly from this sum.
Tips
- Weigh rice and pasta dry and meat raw, and use matching USDA entries.
- Do not forget cooking oil; it changes the fat figure a lot.
- To compare with what you need, see the protein intake calculator and the daily nutrition needs calculator.
Recipe Macro Calculator: get protein, carbs and fat per serving with a calorie split chart.