Price Per Unit Calculator
Divide total price by quantity to find the cost per item, ounce, gram, litre, or any measurable unit. Optionally price out a target quantity and compare two options side by side — useful for shopping comparisons, supplier quotes, wholesale evaluation, and retail pricing decisions.
Enter your pricing details
Select a preset or enter the total price and total quantity for the pack, case, or lot you want to evaluate.
What you get
Cost per unit, estimated cost for your target quantity and comparison quantity, plus a full step-by-step calculation breakdown.
Use for
Grocery pack comparison, supplier quote evaluation, wholesale pricing, inventory cost planning, and retail margin analysis.
What to do next
Want to understand the formula in depth?
Step-by-step
What this calculator does
The Price Per Unit Calculator divides your total price by the total quantity to return the cost of one unit — whether that is one item, one ounce, one gram, one litre, or any measurable quantity. It then extends that unit price to estimate cost for any target quantity or comparison quantity you specify.
Use it for grocery pack comparisons, supplier quote evaluation, wholesale purchasing, inventory cost planning, and retail pricing. The optional comparison quantity field makes it easy to run two scenarios without switching between tools.
Price per unit formulas
Price Per Unit = Total Price ÷ Total Quantity
Target Cost = Price Per Unit × Target Quantity
e.g. $2.08/unit × 5 units = $10.41
Landed Cost = (Invoice + Shipping + Duties) ÷ Units
e.g. ($189.50 + $15.00) ÷ 96 = $2.13/unit
Sell Price = Unit Cost × (1 + Target Margin %)
e.g. $2.08 × 1.55 = $3.22 (at 55% margin)
How to use this calculator
- Select a preset or enter your own total price and total quantity.
- Choose the unit label that matches your product (items, oz, g, L, etc.).
- Optionally enter a target quantity and a comparison quantity to price those out.
- Use 3–4 decimal places for weight/volume comparisons where differences are small.
- Click Calculate — the unit price and all derived costs appear instantly in the result panel.
Example calculations
Price per unit = $24.99 ÷ 12 = $2.08/unit
Target qty (5 units) = 5 × $2.08 = $10.41
Comparison qty (10 units) = 10 × $2.08 = $20.82
Price per piece = $189.50 ÷ 96 = $1.974/piece
Target qty (24 pieces) = 24 × $1.974 = $47.38
Add $15 shipping → landed cost = $204.50 ÷ 96 = $2.13/piece
Price per serving = $59 ÷ 30 = $1.967/serving
Target qty (7 servings) = 7 × $1.967 = $13.77
Frequently asked questions
What is the price per unit formula?
Price Per Unit = Total Price ÷ Total Quantity. Divide the full price of a pack or order by the number of units, weight, or volume it contains. The result is the cost of one unit — one item, one ounce, one gram, or one litre.
How do I compare two different pack sizes?
Calculate the unit price for each pack separately (total price ÷ quantity), making sure both use the same unit of measure. The pack with the lower unit price is cheaper per unit. If units differ (e.g. oz vs g), convert to the same unit first — 1 oz = 28.35g.
Should I include shipping in the total price?
Yes — for procurement and supplier comparisons, always include shipping, duties, and handling fees in the total price. A supplier with a lower quoted unit price may become more expensive once freight is added. The resulting calculation is called the landed cost per unit.
How many decimal places should I use?
Use 2 decimal places for per-item pricing ($2.08/unit). Use 3–4 decimal places for weight or volume comparisons where the differences are tiny — e.g. $0.0382/g vs $0.0350/g. Rounding too early can make two products look identical when they are not.
Does a lower price per unit always mean better value?
Not always. A bulk pack may offer a lower unit price but require a larger cash outlay, more storage, or risk waste if the product expires before you can use it. Price per unit is the first filter — total cost of ownership, shelf life, and cash flow all matter too.
Can I use this calculator for manufacturing cost per unit?
Yes. Enter total production cost (materials + labor + allocated overhead) as the total price, and number of units produced as the quantity. The result is your cost per unit. Add selling price to the Margin Calculator to see gross margin at that unit cost.
Related tools
Disclaimer
This calculator is for educational and planning purposes only. It does not provide accounting, tax, business, or financial advice. Real unit economics may differ when discounts, taxes, shipping, spoilage, returns, or contract pricing are involved. Always verify supplier quotes and cost allocations with your own records.