Unit cost calculator
Find what each product really costs you to make. Add the cost of every material for a batch, the hours of labour and your hourly rate, and overhead as an amount or a percentage of direct costs. Enter how many units the batch makes and the share you expect to lose to waste or rejects, and the calculator gives the cost per good unit and the price you need for a target margin or markup.
Overhead as
Enter your costs and the number of units made.
How to use the Unit Cost Calculator
- 1
Add materials
The cost of each material for one batch.
- 2
Add labour
Hours for the batch and your hourly rate.
- 3
Add overhead
A fixed amount or a % of materials plus labour.
- 4
Enter units and waste
Units made and the % lost.
- 5
Set a margin or markup
Optional, for a selling price.
How unit cost is calculated
Waste reduces the number of sellable units, so the whole batch cost is spread over good units only.
- total = materials + labour + overhead
- good units = units × (1 − waste %)
- unit cost = total ÷ good units
- price at margin = cost ÷ (1 − margin)
- price at markup = cost × (1 + markup)
When to use it
- Price handmade products for a shop or market.
- Check the cost of a production run.
- See how waste changes your cost per unit.
Limits
- Overhead must be shared out sensibly; a percentage is a simple estimate.
- Taxes, selling fees and shipping are not included; add them with the marketplace fee calculator.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
What is the difference between margin and markup?
Markup is profit as a % of cost; margin is profit as a % of price. A 50% markup gives a 33.3% margin.
What counts as overhead?
Costs not tied to one batch, such as rent, equipment, software and utilities, shared across your output.
Should I pay myself in labour?
Yes. Use an hourly rate you would accept, or the price will not cover your time.
How does waste change the cost?
The batch costs the same but makes fewer sellable units, so each one costs more.
Can I enter one unit at a time?
Yes, enter the costs for one unit and set units to 1.
Related tools
People also use
- Discount CalculatorSale price, savings and stacked discounts.
- PayPal Fee CalculatorSee the fee and payout on a payment, or what to charge to receive an exact amount.
- Customer Lifetime Value CalculatorGross-profit lifetime value of a customer from purchases or from subscription churn.
- SKU GeneratorReadable, unique SKU codes for every combination of product variants, with CSV download.
Last updated November 22, 2026 · How we build and test our tools