How to calculate the macros of a recipe
- Weigh every ingredient in grams, ideally raw.
- Add up the calories, protein, carbs and fat of each ingredient.
- Divide the totals by the number of servings.
The calculator does steps 2 and 3 for you. For meal prep, divide the finished food into equal containers, and every box will match the per-serving numbers.
Raw or cooked weight?
Meat loses water when it cooks and rice and pasta absorb it, so their weight changes a lot. Using raw weights is the most accurate method. If you only have cooked weights, pick the “cooked” version of the ingredient.
How much protein should a meal have?
Many healthy adults spread their protein over 3–4 meals, often around 25–40 g each. Needs depend on body size, activity and health, so a registered dietitian or nutritionist can give you a personal target.
Worked example: chicken burrito bowls for 4
Press “Load example” above to see this recipe in the calculator. All weights are raw, before cooking:
| Ingredient | Grams | kcal | Protein | Carbs | Fat |
|---|---|---|---|---|---|
| Chicken breast, raw | 800 | 960 | 180 g | 0 g | 21 g |
| White rice, uncooked | 300 | 1,095 | 21 g | 240 g | 2 g |
| Black beans, canned, drained | 240 | 317 | 21 g | 57 g | 1 g |
| Sweet corn | 150 | 129 | 5 g | 29 g | 2 g |
| Salsa | 200 | 72 | 3 g | 14 g | 0 g |
| Greek yogurt, nonfat | 200 | 118 | 21 g | 7 g | 1 g |
| Per bowl (÷ 4) | 473 | 673 | 63 g | 87 g | 7 g |
That is a high-protein, low-fat lunch: about 37% of its calories come from protein. To lower the calories, swap part of the rice for extra beans or vegetables; to raise them for a training day, add avocado or a little olive oil.
How to split a batch into equal portions
Raw weights give accurate macros, but you portion cooked food. The easiest method: weigh the empty pot, weigh it again with the finished food, and subtract. Divide that cooked weight by the number of servings, and fill each container to that weight. Every container then matches the per-serving numbers above, even though the chicken shrank and the rice grew.
As a rough guide, rice ends up 2.5–3 times heavier than its dry weight, and chicken breast loses about a quarter of its raw weight.
Where the calories come from
Protein and carbohydrates provide about 4 kcal per gram and fat about 9 kcal per gram. That is why a tablespoon of oil (14 g, about 120 kcal) can matter as much as a whole cup of vegetables. Totals from the calculator may differ slightly from 4-4-9 math because food values include fiber and are rounded.
Frequently asked questions
Are these macro values exact?
No. They are averages for generic foods. Brands and varieties differ, so for exact numbers use the nutrition label of the product you buy.
Why use raw weight for chicken?
Chicken loses about 25% of its weight as water when cooked, so 100 g cooked chicken has more protein than 100 g raw. Logging raw weight avoids that confusion.
How do I count oil used for cooking?
Add it as an ingredient. One tablespoon of olive oil is about 14 g and 120 kcal.
Can I save my recipe?
Not yet. Bookmark this page and keep a note of your ingredient weights.
More kitchen calculators
Last updated November 2026.