Recipe Cost Calculator

Find out what one batch of a recipe costs you to make. For each ingredient, enter the size and price of the package you bought and how much the recipe uses. Then enter how many servings it makes. A batch of 24 vanilla cupcakes is filled in as an example.

Ingredients

Use the same unit for the package size and the amount used, like grams and grams, ounces and ounces, or eggs and eggs. Grams are the easiest, because most US packages list a gram weight on the label.

    Yield
    servings
    Cupcakes, cookies, slices or loaves: whatever you sell it by.

    How the cost is worked out

    ingredient cost = package price ÷ package size × amount used

    Add up every ingredient for the recipe cost, then divide by the number of servings for the cost per serving.

    Worked example: 24 vanilla cupcakes (example prices)
    IngredientMathCost
    Flour$4.29 ÷ 2268 g × 300 g$0.57
    Sugar$3.99 ÷ 1814 g × 250 g$0.55
    Butter$4.79 ÷ 454 g × 226 g$2.38
    Eggs$3.49 ÷ 12 eggs × 4 eggs$1.16
    Milk$3.89 ÷ 3785 ml × 240 ml$0.25
    Vanilla extract$7.99 ÷ 59 ml × 10 ml$1.35
    Baking powder$2.99 ÷ 284 g × 8 g$0.08
    Recipe cost$6.35
    Per cupcake$6.35 ÷ 24$0.26

    These prices are examples to show the math, not current store prices. Frosting is a separate recipe here; cost it the same way and add it.

    How to cost a recipe

    Knowing what a recipe costs is the first step in pricing anything you bake. It sounds tedious, but you only do it once per recipe, and then you can reuse the number every time you quote.

    Work from the package, not the recipe

    The trick is to price each ingredient by what you actually paid for the package, then work out the share the recipe uses. If a 5 lb bag of flour cost $4.29 and the recipe uses 300 grams, you are paying for 300 of the bag’s 2,268 grams. Keep the receipt or look at the shelf tag, and note the package size printed on the label.

    Weigh if you can

    Cups and spoons vary a lot depending on how you scoop. Grams don’t. If you already bake by weight, this is easy: put the package weight in grams and the recipe amount in grams. If your recipe uses cups, weigh what you use once and write it on the recipe card. For things you count, like eggs, use count for both: a dozen eggs is a package size of 12.

    Count everything

    • Small amounts of expensive ingredients add up. In the example, two teaspoons of vanilla cost more than all the flour.
    • Include what is used up by the process: the butter or spray for greasing pans, the flour for dusting, the extra icing that stays in the bag.
    • Cost fillings, frostings and decorations as their own recipes, then add them to the cake or cookie they go with.
    • Pan liners, parchment and boxes are not ingredients. Count them as packaging or overhead in the pricing calculators.

    Yield is the number you sell

    Divide by what you actually end up with, not what the recipe promises. If a recipe says 24 cupcakes but you usually get 22 good ones, use 22. That small change shows up in your real cost per item.

    Keep it current

    Grocery prices change, sometimes quickly. When you notice butter, eggs or chocolate going up, update those rows and check your prices again. Buying in bulk can lower your cost a lot. Enter the bulk package size and price to see the difference, and decide whether it is worth the storage space.

    From cost to price

    Ingredient cost is only part of a fair price. You still need to add packaging, overhead, your own time and a profit margin. Take the cost per serving from here into the cake pricing calculator or the decorated cookie pricing calculator to finish the job.

    Cost every recipe from one ingredient list

    The Bakery Pricing & Profit Tracker is a spreadsheet for Excel and Google Sheets. Enter each ingredient’s price once, and every recipe that uses it is costed and priced for you.

    A paid template from the BatchAndBudget Etsy shop.

    Get the Bakery Pricing & Profit Tracker on Etsy

    Save this page to PinterestOpens Pinterest in a new tab.

    Questions bakers ask

    How do I work out the cost of one ingredient in a recipe?

    Divide the price you paid by the package size, then multiply by the amount the recipe uses. For example, a 5 lb bag of flour for $4.00 is $0.80 per pound, so 1.5 lb in the recipe costs $1.20. Use the same unit for the package size and the amount used.

    Should I include spices, vanilla and small amounts?

    Yes, at least once. Small amounts of vanilla, spices, chocolate or decorations can add up across a batch. After you have costed a recipe once, you will know which small items really matter.

    How do I get the cost per serving?

    Enter how many servings the recipe makes. The calculator divides the total cost by that number. For cupcakes, use the number of cupcakes. For cakes, use the number of slices you will cut.

    How often should I re-cost my recipes?

    Every few months, and whenever a big ingredient like butter, eggs or chocolate changes price. It only takes a minute if you keep your ingredient prices in one place.