Skip to content
PrimeCostHQ

Recipe Cost Calculator

Add ingredients (quantity × unit cost) and the number of servings the recipe yields. Use consistent units — the calculator does not convert.

Last reviewed: Last reviewed 2026-05-04

Calculator

Ingredients
Methodology & sources

Formula: total = sum(quantity × unit_cost); per_serving = total / servings.

If quantity is in grams, unit cost must be $/gram. The calculator does not convert.

Worked example: 500g flour @ $0.002/g + 200g butter @ $0.012/g + 150g sugar @ $0.001/g = $3.55 total ÷ 4 servings = $0.89/serving.

Source: ServSafe Manager textbook. See full methodology.