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

  1. List each ingredient with its weight in grams.
  2. Look up protein, carbohydrate and fat per 100 g in USDA FoodData Central.
  3. For each ingredient: grams ÷ 100 × value per 100 g.
  4. Add up each column for the whole recipe.
  5. 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

Recipe Macro Calculator: get protein, carbs and fat per serving with a calorie split chart.

Sources

  1. U.S. Department of Agriculture, Agricultural Research Service. FoodData Central: SR Legacy (April 2018) and Foundation Foods (October 2026) datasets. Accessed 2026-11-24.
  2. U.S. Food and Drug Administration. 21 CFR 101.9 Nutrition labeling of food (eCFR, current as of November 2026). Accessed 2026-11-24.

By Now Track Health Editorial Team · Last checked: