Toolvito

Works on this device

Recipe Cost Calculator

Find what a recipe costs to make. Enter each ingredient, how much the recipe uses, and the size and price of the package you buy. The tool adds up the cost of the recipe and of one serving, and can work out a selling price.

Enter the recipe

List the ingredients with the size and price of the package you buy. The tool works out what the recipe uses.

Your values

Ingredients

One row for each ingredient: how much the recipe uses, and the size and price of the package you buy. The amount used can be a fraction such as 1 1/2. Use a weight with a weight, a volume with a volume, or a count with a count.

More options

Packaging, energy or labour for one batch, if you want them in the cost. Leave 0 for ingredients only.

A label only. No amount is converted.

This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Add your ingredients, then choose Calculate. Or choose Try an example.

How to use this calculator

  1. Add one row for each ingredient. Type its name and the amount the recipe uses, for example 300 g or 1 1/2 cups.
  2. Type the size of the package you buy and its price, for example a 2 kg bag for 3.20.
  3. Enter the number of servings or pieces the recipe makes.
  4. To get a selling price, choose from a food cost percent or from a markup percent and type your percent.
  5. Choose Calculate. Tick Save my entries on this device to keep the recipe in this browser, or download your entries as a file. Try an example fills in a cookie recipe.

The formulas

  • Cost of an ingredient = package price × amount used ÷ package size.
  • Recipe cost = the sum of all ingredient costs, plus other costs if you enter them.
  • Cost for one serving = recipe cost ÷ servings.
  • Selling price from a food cost percent = cost ÷ (food cost percent ÷ 100). With 30 %, the cost is 30 % of the price.
  • Selling price from a markup = cost × (1 + markup percent ÷ 100). With 200 %, the price is three times the cost.
  • Food cost percent = cost ÷ price × 100. Markup = (price − cost) ÷ cost × 100. Gross margin = (price − cost) ÷ price × 100.

Units the tool can match

The amount used and the package can have different units, as long as they are the same kind. The tool changes one into the other with fixed sizes.

Units for each kind of amount
Kind Units Sizes used
Weight g, kg, oz, lb 1 oz = 28.349523125 g, 1 lb = 453.59237 g
Volume mL, L, tsp, tbsp, fl oz, cup, pint, quart, gallon US customary sizes: 1 cup = 236.5882365 mL, 1 tbsp = 14.78676478125 mL, 1 tsp = 4.92892159375 mL, 1 fl oz = 29.5735295625 mL, 1 gallon = 3785.411784 mL
Count each, dozen 1 dozen = 12

The tool does not change a weight into a volume. A cup of flour and a cup of honey do not weigh the same. If your recipe uses cups and your package is sold by weight, first change the cups into grams with the Ingredient Measurement Converter.

Worked example

A cookie recipe uses 300 g of flour from a 2 kg bag that costs 3.20. The flour costs 3.20 × 300 ÷ 2000 = 0.48. It uses 2 eggs from a dozen that costs 3.60, so the eggs cost 3.60 × 2 ÷ 12 = 0.60. It uses 8 oz of chocolate chips from a 1 lb bag at 4.80, which is 4.80 × 8 ÷ 16 = 2.40.

With butter (2.475), sugar (0.38), milk (0.1656) and vanilla (0.5417) the recipe costs 7.04. It makes 24 cookies, so one cookie costs 7.04 ÷ 24 = 0.29.

With a food cost percent of 30 %, the selling price is 0.2934 ÷ 0.30 = 0.98 for one cookie.

Saving and privacy

  • The recipe is worked out in this browser. It is not sent to a server.
  • Saving is off unless you tick Save my entries on this device. Saved entries stay in this browser. Untick the box to delete them.
  • You can download your entries as a file and open it here later. Download CSV gives a table you can open in a spreadsheet.

Limits you should know

  • The tool has no prices of its own. Every price is the one you type.
  • It does not change weight into volume, or volume into weight.
  • Cups, spoons, pints, quarts and gallons are the US customary sizes. For metric or UK cups, enter the amount in millilitres.
  • It does not count waste, trimming or cooking loss. If you lose part of an ingredient, enter the amount you buy for the recipe, not the amount that ends up in the dish.
  • Money is added up exactly and rounded once to 2 decimal places. The table shows each line to 4 decimal places.
  • A food cost percent or a markup is your own choice. The tool does not tell you what to charge, and it does not include tax.
  • The currency label is only a label. No amount is converted.

Related tools