About the Cost Per Unit Calculator
This cost per unit calculator finds the full cost of producing one unit of a product. It spreads your fixed costs for a production run or period across the number of units made, then adds the variable cost of materials, direct labor and other per-unit expenses such as packaging or shipping.
Makers, small manufacturers, food producers, print shops and e-commerce brands use unit cost to set prices, compare suppliers and decide order sizes. Because fixed costs are shared across more units as volume grows, the chart shows how your unit cost falls as you produce more — the economies of scale behind bulk runs.
Enter a target markup to see a suggested selling price. Use the same period for fixed costs and units (for example, one month of rent and one month of output) so the allocation is fair.
With the default inputs, the total cost per unit is $15.00. Change any value above to recalculate instantly.
How to use the cost per unit calculator
- 1Enter the fixed costs that apply to this production run or period.
- 2Enter materials, direct labor and other variable costs for one unit.
- 3Enter how many units you produce in that same run or period.
- 4Set a target markup to see a suggested selling price.
- 5Use the chart to see how larger runs would lower your unit cost.
Formula and method
Fixed costs are divided evenly across all units produced in the same run or period to get the fixed cost per unit. The variable cost per unit is the sum of materials, direct labor and other costs that are incurred for each unit. Adding the two gives the full (absorption) cost of one unit.
Because the fixed portion shrinks as volume grows while the variable portion stays constant, unit cost always falls toward the variable cost as you produce more. The suggested price applies your markup to the full unit cost; markup is measured on cost, so a 40% markup produces a margin of about 28.6% of price.
- FC
- Fixed costs for the period or run
- Q
- Units produced
- M, L, O
- Materials, direct labor and other variable cost per unit
Worked examples
2,000-unit production run
Spreading $12,000 of fixed costs over 2,000 units adds $6 to each unit, on top of $9 of materials, labor and packaging — $15 per unit and $30,000 in total. A 40% markup gives a $21 selling price.
Larger manufacturer, 5,000 units
Fixed costs of $50,000 over 5,000 units are $10 each, plus $20 of variable cost, for $30 per unit. A 60% markup sets the price at $48.
Small craft batch
In a small batch, fixed costs dominate: $3,000 ÷ 600 = $5 per unit versus only $1.50 of materials and packaging. Doubling the price with a 100% markup gives $13.
Frequently asked questions
How do you calculate cost per unit?+
Add total fixed costs to total variable costs for a period, then divide by the number of units produced in that period. Equivalently, divide fixed costs by units and add the variable cost per unit.
What is the difference between fixed and variable costs?+
Fixed costs such as rent, equipment leases and salaried staff stay the same regardless of how many units you make. Variable costs such as materials, piece-rate labor and packaging rise in proportion to output.
Why does unit cost fall as volume increases?+
The same fixed costs are shared across more units, so each unit carries a smaller slice. This is economies of scale — although at very high volumes you may need extra equipment or staff, which adds a new layer of fixed cost.
Should I price based on cost per unit?+
Cost per unit sets your price floor: below it you lose money on each sale. Final prices should also reflect competitor prices and what customers are willing to pay, so treat cost-plus pricing as a starting point.
Results are estimates for educational purposes and are not financial advice. Rates, fees and terms vary — confirm with your lender or a licensed advisor before making decisions.