✓ USDA data · Grams and % of calories · No signup

Recipe Macro Calculator

Enter the ingredients and the number of servings. The calculator gives the grams of protein, carbs and fat in one serving, the share of calories that each macro supplies, and how much of your own daily macro targets one serving uses.

Updated 2026-10-28

Quick answer. The calculator gives the grams of protein, carbs and fat in one serving, the share of calories that each macro supplies, and how much of your own daily macro targets one serving uses. Protein and carbohydrate give about 4 kcal per gram and fat about 9 kcal per gram.

Ingredients

Pick each ingredient, then the amount and unit. Cooked rows (rice, pasta, chicken) take the cooked weight.

Paste an ingredient list instead

Quick answer: macros per 100 g of common ingredients

Grams per 100 g from the same USDA records the calculator uses. The last column is the share of calories from protein / carbs / fat, using 4, 4 and 9 kcal per gram.

Ingredient (100 g)kcalProtein gCarbs gFat g% kcal P / C / F
Chicken Breast Cooked1653103.679 / 0 / 21
Ground Beef 80 20 Cooked25425.8016.741 / 0 / 59
Tofu Firm14417.32.88.744 / 7 / 49
Whole Egg Raw14412.60.89.636 / 2 / 62
Greek Yogurt Lowfat Plain7310.193.940.468 / 26 / 6
Lentils Cooked116920.10.430 / 67 / 3
Black Beans Canned91616.60.326 / 71 / 3
White Rice Cooked1302.728.20.39 / 89 / 2
Pasta Cooked131525.11.115 / 77 / 8
Rolled Oats37913686.514 / 71 / 15
Peanut Butter59822225114 / 14 / 72
Cheddar Shredded40324.91.333.125 / 1 / 74
Olive Oil900001000 / 0 / 100
Almond Flour57121.421.645.415 / 15 / 70

How the macro calculator works

"Macros" are the three nutrients that supply calories: protein, carbohydrate and fat. A recipe's macros are the sum of the macros in each ingredient, and one serving gets an equal share. The calculator does this in four steps:

  1. Convert each amount to grams. Grams, ounces, pounds and kilograms convert directly. Cups, tablespoons, teaspoons and millilitres use the weight of that ingredient in the USDA record, for example 125 g for a cup of all-purpose flour and 13.5 g for a tablespoon of olive oil. "Each" uses a USDA whole-item weight, such as 50 g for a large egg.
  2. Scale the per-100-gram values. Protein in a row = grams ÷ 100 × protein per 100 g. Carbs and fat use the same formula.
  3. Add the rows and divide by servings. This gives grams of each macro per serving.
  4. Convert grams to calories. Protein and carbohydrate give about 4 kcal per gram and fat about 9 kcal per gram (the Atwater factors). The share of calories from a macro is its calories divided by the sum of all three.

Formulas

macro per serving (g) = Σ (grams × macro per 100 g ÷ 100) ÷ servings macro calories = protein g × 4, carbs g × 4, fat g × 9 % of calories = macro calories ÷ (protein × 4 + carbs × 4 + fat × 9) × 100 % of daily target = macro per serving ÷ your daily grams × 100

The total calories shown come from the USDA calorie value of each ingredient. They can differ by a few percent from 4-4-9 arithmetic, because USDA uses food-specific factors and fiber gives fewer calories than other carbohydrate. The percentages use 4-4-9, which is the method most macro apps and coaches use.

Worked example: chicken, rice and broccoli meal prep for 4

IngredientProtein gCarbs gFat g
600 g cooked chicken breast186.00.021.6
3 cups cooked white rice (3 × 158 g)12.8133.71.4
4 cups cooked broccoli (4 × 156 g)15.044.92.5
2 tbsp olive oil (2 × 13.5 g)0.00.027.0
Whole recipe213.8178.652.5

Divide by 4 servings: 53 g protein, 45 g carbs and 13 g fat per box, and 517 kcal from the USDA values. With 4-4-9 the macros give 511 kcal, so protein supplies 42% of the calories, carbs 35% and fat 23%. Protein is above the 10–35% adult range, which is normal for a high-protein meal prep box; the rest of the day can bring it back into range. This recipe loads in the calculator above by default.

Adult macro ranges

The Institute of Medicine sets Acceptable Macronutrient Distribution Ranges for adults: 45–65% of calories from carbohydrate, 20–35% from fat and 10–35% from protein. The ranges apply to a whole day of eating, not to one dish. A single recipe outside a range is not a problem by itself; use the column to see how a dish shifts your day.

Getting accurate macros

Weigh ingredients in grams when you can. A cup of flour can weigh 120 g or 150 g depending on how you fill it, and that changes the carbs by about 25%. Match the row to the state you weigh: the cooked chicken row needs the cooked weight, because meat loses water when it cooks and the same piece weighs less afterwards. If you only know the raw weight, convert it first with the raw to cooked weight calculator. For the calories of the whole dish with fiber and sodium, use the recipe nutrition calculator.

Frequently asked questions

How do I calculate the macros of a recipe by hand?

Look up protein, carbs and fat per 100 g for each ingredient, multiply by the grams you use and divide by 100, add the rows, then divide by the number of servings. The calculator does the same steps with USDA values.

What is a good macro split?

For adults, the Institute of Medicine ranges are 45–65% of calories from carbohydrate, 20–35% from fat and 10–35% from protein. Many diets choose a point inside those ranges, for example 30% protein, 40% carbs and 30% fat.

Why do the macro calories not match the total calories exactly?

The total comes from the USDA calorie value of each food. The percentages use the general 4-4-9 factors. The two methods usually agree within a few percent; foods high in fiber show the biggest difference.

Should I count net carbs or total carbs?

This page shows total carbohydrate. For fiber and net carbs per serving, use the recipe carb calculator.

Can I paste a recipe from a website?

Yes. Open "Paste an ingredient list", paste one ingredient per line and press "Read the list". Lines without a number, such as "salt to taste", are listed so you can add them by hand.

Sources

Estimates for home cooking, not medical or dietary advice. Brands, cuts and cooking methods change the real values.

Related tools

More calculators from RecipeTool that work with this one.