💰 Finance calculator

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.

⚡ Quick preset
🟢 Package details
💲
Full price for the pack or order
🔢
Items, oz, g, lbs, ml, L, etc.
🏷️
Label for results
✦ Optional — quantity estimates
🎯
How many units do you need?
⚖️
Second quantity to price out
🔍
Precision for unit price

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.

Tip: For weight/volume comparisons (oz vs g, fl oz vs L), convert both options to the same unit before entering — the unit price comparison is only valid when units match. Use 4 decimal places for small-unit comparisons like per-gram pricing.
This calculator is for educational and planning purposes only. Results do not include tax, shipping, spoilage, minimum order fees, or discounts unless reflected in your total price input.

What to do next

Want to understand the formula in depth?

📖
How to Calculate Price Per Unit — Formula, Steps and Examples Covers the 3 sub-formula types (per item, weight, volume), unit conversion guide, landed cost for procurement, and worked examples across retail, wholesale, and manufacturing.
Read guide →

Step-by-step

No calculation yet — enter your values and click Calculate.

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

Core formula (all types)
Price Per Unit = Total Price ÷ Total Quantity
Cost for a target quantity
Target Cost = Price Per Unit × Target Quantity
e.g. $2.08/unit × 5 units = $10.41
Landed cost per unit (procurement)
Landed Cost = (Invoice + Shipping + Duties) ÷ Units
e.g. ($189.50 + $15.00) ÷ 96 = $2.13/unit
Cost-plus selling price
Sell Price = Unit Cost × (1 + Target Margin %)
e.g. $2.08 × 1.55 = $3.22 (at 55% margin)

How to use this calculator

  1. Select a preset or enter your own total price and total quantity.
  2. Choose the unit label that matches your product (items, oz, g, L, etc.).
  3. Optionally enter a target quantity and a comparison quantity to price those out.
  4. Use 3–4 decimal places for weight/volume comparisons where differences are small.
  5. Click Calculate — the unit price and all derived costs appear instantly in the result panel.

Example calculations

Grocery pack preset — 12-pack at $24.99
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
Bulk supply preset — 96 pieces at $189.50
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
Subscription preset — 30 servings at $59
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.