Dough Calculator

Recipe Cost Calculator

Enter what you paid for each ingredient and how much the recipe uses. The calculator converts grams, ounces, pounds, cups and spoons, then shows the cost of the batch, the cost per serving and a selling price for your target margin.

Batch
Ingredients
Paste a recipe from our dough calculators

Press Copy recipe on the pizza dough or sourdough calculator, or Copy formula on the baker's percentage calculator, then paste the text here.

Labor, packaging and other costs (optional)
Pricing

Cost per serving

How to use the recipe cost calculator

  1. Set the batch. Enter how many servings the recipe makes: rolls, slices, cookies, loaves or dough balls. Count what a batch really gives you.
  2. Add one row per ingredient. Enter the price you paid for the pack, the pack size and the amount the recipe uses. The pack and the recipe can use different units of the same kind, so a 5 lb bag of flour and 500 g in the recipe work together.
  3. Leave a price blank if you don't know it yet. That ingredient counts as zero, and the result says how many prices are missing. Enter 0 for tap water.
  4. Add your time and packaging if you sell. Hands-on hours at an hourly rate, packaging per serving, and other batch costs such as market fees.
  5. Choose a target margin. The result shows the price per serving that keeps that share of the price as profit. Copy cost sheet puts the result on your clipboard as a table that pastes into a spreadsheet.

Already worked out a dough on this site? Press Copy recipe on the pizza dough calculator or the sourdough calculator, or Copy formula on the baker's percentage calculator, then open Paste a recipe from our dough calculators above, and paste. An ingredient with the same name as an existing row keeps the price you already entered.

How the cost is calculated

Each row puts the pack size and the amount used in the same unit, then charges for the amount used at the pack's price:

Ingredient cost = pack price ÷ pack size × amount used

A 5 lb bag of flour that costs $4.49 holds 2,268 g, so 500 g of it costs 4.49 ÷ 2,268 × 500 = $0.99. The rest follows from there:

  • Batch cost = ingredients + hands-on hours × hourly rate + packaging per serving × servings + other costs
  • Cost per serving = batch cost ÷ servings
  • Suggested price = cost per serving ÷ (1 − target margin)

The last line comes from the definition of gross margin. Investopedia defines it as net sales minus the cost of goods sold, divided by net sales. Solve that for the price and you divide the cost by one minus the margin. A 40% margin is not a 40% markup: dividing by 0.60 adds 66.7% to the cost. The result shows both.

Weight converts to weight, volume to volume and count to count; a pack priced by the pound and flour measured in cups can't be compared without the flour's weight per cup, so that row asks you to weigh it instead. Weights use the exact definitions in NIST Handbook 44: 1 lb = 453.59237 g, and 1 oz is a sixteenth of that, 28.349523125 g. Volumes use US measures: 1 gallon = 16 cups = 3.785 L, 1 cup = 236.6 mL, and 1 tablespoon = 3 teaspoons = 14.8 mL. Eggs and anything else sold by count use each and dozen.

Example: what does a dinner roll cost?

The calculator opens with a batch of 12 dinner rolls. The flour, milk, butter, sugar and egg prices are the October 2026 US city averages from the Bureau of Labor Statistics average price data, rounded to the cent. The yeast and salt prices are examples.

Ingredient Used Price paid Cost
All-purpose flour 500 g $0.54 per lb $0.60
Whole milk 1 cup $4.10 per gallon $0.26
Butter 2 oz $3.98 per lb $0.50
Sugar 50 g $1.00 per lb $0.11
Eggs 1 $2.32 per dozen $0.19
Instant yeast 7 g $6.49 per 4 oz $0.40
Salt 9 g $1.49 per 26 oz $0.02
Ingredients $2.07

That is $0.17 of ingredients per roll. Add one hands-on hour at $17.86, the 2025 median hourly pay for bakers, and $0.15 of packaging per roll, and the batch costs $21.73, or $1.81 a roll. At a 40% margin the suggested price is $3.02 a roll.

The hour of work is 82% of the batch cost. Even three times the ingredient cost, $0.52 a roll, would not pay for it. If you bake for friends, set the hours to zero. If you sell, count every hands-on session, but only the hands-on part: dough rising on the counter does not need you. Egg and butter prices change from month to month, so update the pack prices from your receipts when you restock.

Recipe Cost FAQ

How do you calculate the cost of a recipe?

Divide each pack price by the pack size, multiply by the amount the recipe uses, and add up the ingredients. Add labor, packaging and other costs if you sell what you bake.

How do I find the cost per serving?

Divide the batch cost by the number of servings the batch really makes. A $21.73 batch of 12 rolls costs $1.81 a roll.

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A roll that costs $1.81 and sells for $3.02 has a 40% margin and a 66.7% markup.

How much should I charge for baked goods?

Start from the full cost per serving, including your time and packaging, and divide by one minus the margin you want. There is no official margin, so pick one that also covers unsold items and equipment, then compare the result with local prices.

Can I enter flour in cups?

Yes, if the pack size is also a volume. If the pack is priced by weight, enter the flour by weight instead. King Arthur Baking lists a cup of all-purpose flour at 120 g, so 2 cups is 240 g.

Is my recipe saved?

No. The calculator runs in your browser, and the ingredients and prices you type are not sent anywhere or stored. Use Copy cost sheet or Print to keep a copy.