Recipe Macro Calculator

See the protein, carbohydrate and fat in a recipe, per serving, and how its calories split between them.

This tool runs entirely in your browser. Nothing you enter is sent to us or anyone else.

How this is calculated

  1. Each line is split into amount, unit and food, then matched to USDA FoodData Central.
  2. 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.
  3. 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:

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

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.

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: