Recipe Macro Calculator
See the protein, carbohydrate and fat in a recipe, per serving, and how its calories split between them.
Per serving
Split of calories using the general factors of 4 calories per gram of protein and carbohydrate and 9 per gram of fat (21 CFR 101.9). USDA's own calorie figure for each food is used for the calorie total, so the two can differ slightly.
| Ingredient (USDA match) | Grams | Protein | Carbs | Fat |
|---|
- Based on
- Estimate based on USDA FoodData Central. How we calculate. To change a match, use the recipe nutrition calculator.
- Cannot tell you
- Exact values for your brands or cooking method.
This tool runs entirely in your browser. Nothing you enter is sent to us or anyone else.
How this is calculated
- Each line is split into amount, unit and food, then matched to USDA FoodData Central.
- Amounts are converted to grams (cups and spoons with USDA's weight for that food), and protein, carbohydrate and fat are added up and divided by servings.
- The calorie split uses 4 calories per gram for protein and carbohydrate and 9 for fat, the general factors in 21 CFR 101.9.
Every number this tool uses is listed in our sources ledger:
- unit.volume.label: U.S. Food and Drug Administration (21 CFR 101.9, eCFR), 21 CFR 101.9 Nutrition labeling of food (current as of 2026-11-20)
- unit.lb_g: Federal Trade Commission (16 CFR 500.19, eCFR), 16 CFR 500.19 Conversion of SI metric quantities to inch/pound quantities
- fda.kcal_per_g: U.S. Food and Drug Administration (21 CFR 101.9, eCFR), 21 CFR 101.9 Nutrition labeling of food (current as of 2026-11-20)
- usda.fdc: USDA Agricultural Research Service, FoodData Central download datasets (SR Legacy CSV; Foundation Foods JSON)
Macros first
This tool runs on the same ingredient reader and USDA data as our recipe nutrition calculator. The difference is the focus: protein, carbohydrate and fat come first, with a bar showing how the calories split between them. That is useful if you are tracking macros or comparing two versions of a recipe.
If you need the full nutrient list or a Nutrition Facts panel, or want to change a food match, use the recipe nutrition calculator.
Reading the split
The split is worked out from grams, using 4 calories per gram for protein and carbohydrate and 9 for fat. These are the general factors the FDA allows on labels. The calorie total above it is USDA’s own figure for each food, which uses more exact factors for some foods. The two can differ by a few percent. That is normal.
Getting accurate macros
- Weigh raw meat, rice and pasta before cooking, and choose USDA’s raw or dry entries. If you weigh cooked food, the matching entry must be a cooked one too. See raw vs cooked weight.
- Count the oil. A tablespoon of oil is about 14 g of fat, and it is easy to leave out.
- Use exact servings. If a pot makes 5 portions rather than 4, the per-serving numbers change by 20%.
For a worked example by hand, see how to calculate macros in a recipe. For how much protein you might aim for in a day, try the protein intake calculator.
Related tools and guides
Recipe Nutrition Calculator
Paste an ingredient list and get calories, macros and a Nutrition Facts panel per serving.
How to Calculate Macros in a Recipe
A worked example of protein, carbs and fat per serving.
Protein Intake Calculator
Daily protein range from your body weight.
Recipe Scaler
Scale an ingredient list up or down by servings or by a factor.
Macro Calculator
Protein, carbohydrate and fat targets from your calorie needs.
Sources
- U.S. Department of Agriculture, Agricultural Research Service. FoodData Central: SR Legacy (April 2018) and Foundation Foods (October 2026) datasets. Accessed 2026-11-24.
- U.S. Food and Drug Administration. 21 CFR 101.9 Nutrition labeling of food (eCFR, current as of November 2026). Accessed 2026-11-24.