Recipe macro calculator
A recipe's macros are its ingredients' macros added up by weight, then divided by the servings.
Pick from 23 ingredients with USDA FoodData Central values, or enter your own label figures. The sample, chicken, rice and broccoli for four, works out to 381 calories, 30 g protein, 40.5 g carbs and 10.2 g fat a serving.
By Marko Visic, MPharm, Faculty of Pharmacy, University of Ljubljana, Slovenia · Updated
- 381kcalPer serving; recipe 1,525 kcal
- 30gProtein per serving
- 40.5gCarbohydrate per serving
- 10.2gFat per serving
| Ingredient | Weight | Calories | Protein | Carbs | Fat |
|---|---|---|---|---|---|
| Chicken breast, raw | 450 g | 540 | 101.3 g | 0 g | 11.8 g |
| White rice, long-grain, dry | 185 g | 675 | 13.2 g | 148 g | 1.2 g |
| Broccoli, raw | 182 g | 62 | 5.1 g | 12.1 g | 0.7 g |
| Olive oil | 27 g | 239 | 0 g | 0 g | 27 g |
| Garlic, raw | 6 g | 9 | 0.4 g | 2 g | 0 g |
| Recipe total | 850 g | 1,525 | 120 g | 162.1 g | 40.7 g |
USDA FoodData Central values per 100 g, raw or dry, times the weight. Weigh ingredients before cooking.
How the macro math works
Each ingredient's share comes from its weight, then the recipe total is split by the servings:
ingredient = value per 100 g × grams ÷ 100 · per serving = recipe total ÷ servings
| Ingredient | Amount | Weight | Calories | Protein | Carbs | Fat |
|---|---|---|---|---|---|---|
| Chicken breast, raw | 450 g | 450 g | 540 | 101.3 g | 0 g | 11.8 g |
| White rice, long-grain, dry | 1 cup | 185 g | 675 | 13.2 g | 148 g | 1.2 g |
| Broccoli, raw | 2 cup chopped | 182 g | 62 | 5.1 g | 12.1 g | 0.7 g |
| Olive oil | 2 tbsp | 27 g | 239 | 0 g | 0 g | 27 g |
| Garlic, raw | 2 clove | 6 g | 9 | 0.4 g | 2 g | 0 g |
| Recipe total | 850 g | 1,525 | 120 g | 162.1 g | 40.7 g | |
| Per serving, ÷ 4 | 381 | 30 g | 40.5 g | 10.2 g |
USDA values for 23 common ingredients
Per 100 g, from FoodData Central's SR Legacy data. Each name links to its USDA entry.
| Ingredient | Calories | Protein | Carbs | Fat | Fiber | Household measure |
|---|---|---|---|---|---|---|
| All-purpose flour | 364 | 10.3 g | 76.3 g | 0.98 g | 2.7 g | 1 cup = 125 g |
| Granulated sugar | 387 | 0 g | 100 g | 0 g | 0 g | 1 cup = 200 g; 1 tsp = 4.2 g |
| Butter, salted | 717 | 0.85 g | 0.06 g | 81.1 g | 0 g | 1 tbsp = 14.2 g; 1 stick = 113 g; 1 cup = 227 g |
| Olive oil | 884 | 0 g | 0 g | 100 g | 0 g | 1 tbsp = 13.5 g; 1 tsp = 4.5 g; 1 cup = 216 g |
| Egg, whole | 143 | 12.6 g | 0.72 g | 9.51 g | 0 g | 1 large egg = 50 g; 1 medium egg = 44 g; 1 extra large egg = 56 g |
| Whole milk | 61 | 3.15 g | 4.8 g | 3.25 g | 0 g | 1 cup = 244 g; 1 tbsp = 15 g |
| Heavy whipping cream | 340 | 2.84 g | 2.84 g | 36.1 g | 0 g | 1 cup = 238 g; 1 tbsp = 15 g |
| Cheddar cheese | 410 | 24.2 g | 2.13 g | 33.8 g | 0 g | 1 1-oz slice = 28 g |
| Chicken breast, raw | 120 | 22.5 g | 0 g | 2.62 g | 0 g | 1 4 oz = 113 g |
| Ground beef 85% lean, raw | 215 | 18.6 g | 0 g | 15 g | 0 g | 1 4 oz = 113 g |
| Salmon, Atlantic farmed, raw | 208 | 20.4 g | 0 g | 13.4 g | 0 g | 1 3 oz = 85 g |
| White rice, long-grain, dry | 365 | 7.13 g | 80 g | 0.66 g | 1.3 g | 1 cup = 185 g |
| Pasta, dry | 371 | 13 g | 74.7 g | 1.51 g | 3.2 g | 1 2 oz = 57 g |
| Rolled oats, dry | 379 | 13.2 g | 67.7 g | 6.52 g | 10.1 g | 1 cup = 81 g |
| Onion, raw | 40 | 1.1 g | 9.34 g | 0.1 g | 1.7 g | 1 medium onion = 110 g; 1 cup chopped = 160 g |
| Garlic, raw | 149 | 6.36 g | 33.1 g | 0.5 g | 2.1 g | 1 clove = 3 g |
| Tomato, raw | 18 | 0.88 g | 3.89 g | 0.2 g | 1.2 g | 1 medium tomato = 123 g; 1 cup chopped = 180 g |
| Carrot, raw | 41 | 0.93 g | 9.58 g | 0.24 g | 2.8 g | 1 medium carrot = 61 g; 1 cup chopped = 128 g |
| Potato, raw | 77 | 2.05 g | 17.5 g | 0.09 g | 2.1 g | 1 medium potato = 213 g |
| Broccoli, raw | 34 | 2.82 g | 6.64 g | 0.37 g | 2.6 g | 1 cup chopped = 91 g |
| Banana, raw | 89 | 1.09 g | 22.8 g | 0.33 g | 2.6 g | 1 medium banana = 118 g; 1 cup mashed = 225 g |
| Honey | 304 | 0.3 g | 82.4 g | 0 g | 0.2 g | 1 tbsp = 21 g; 1 cup = 339 g |
| Almonds | 579 | 21.2 g | 21.6 g | 49.9 g | 12.5 g | 1 oz = 28.35 g; 1 cup whole = 143 g |
Every entry is raw or dry, so weigh ingredients as they go into the pot.
Frequently asked questions
How do I calculate the macros in a recipe?
For each ingredient, multiply its value per 100 g by its weight in grams and divide by 100. Add the ingredients up, then divide by the number of servings.
How many calories are in a cup of all-purpose flour?
455. USDA FoodData Central weighs a cup of all-purpose flour at 125 g and lists 364 calories per 100 g.
How much protein is in a chicken breast?
22.5 g per 100 g of raw, skinless, boneless breast, according to USDA FoodData Central. 4 oz (113 g) raw holds 25.4 g.
How many calories are in a tablespoon of olive oil?
119. USDA weighs a tablespoon of olive oil at 13.5 g, at 884 calories per 100 g.
How many calories are in an egg?
72 in a large egg: USDA weighs it at 50 g out of the shell, at 143 calories per 100 g.
Should I weigh ingredients raw or cooked?
Raw, with these figures: every USDA entry in this calculator is raw or dry. Weigh ingredients as they go into the pot.
What if my ingredient isn't on the list?
Choose Other and type its calories, protein, carbs and fat per 100 g from the package label or from USDA FoodData Central.
Sources
- FoodData Central, SR Legacy foods (23 entries linked in the table above), USDA Agricultural Research Service