Unit Price Calculator
Calculate cost per unit
Enter the total price and quantity to get a clear unit price for quick comparisons.
Advanced (optional)
Unit price calculator for comparing pack sizes and finding the cheapest option
A unit price is the cost for one unit of something, like cost per gram, cost per millilitre, cost per litre, cost per kilogram, or cost per item. When you are deciding between two products that look similar but have different sizes or pack counts, the sticker price can be misleading. Unit price removes the confusion by putting everything on the same basis.
This Unit Price Calculator is built for one job: take the total price you will pay and the quantity you will receive, then calculate the cost per unit. That single figure is what you use to compare items fairly. If you want to compare Product A and Product B, run the calculator twice and compare the unit prices. The lower unit price is the better value for the same unit definition.
The calculator also shows a practical secondary view: the price per 100 units. For many everyday items (food, cleaning products, toiletries), cost per 100g or cost per 100ml is often easier to scan than cost per 1g or 1ml. You still get the true unit price first, but the extra view helps you make faster comparisons without doing mental scaling.
Assumptions and how to use this calculator
- The total price is the full amount paid for the pack, including any discounts already applied.
- The quantity is the amount per item, expressed in the unit you want (g, ml, kg, L, items, etc.).
- If you enter a pack count, the calculator assumes every item in the pack has the same quantity.
- The calculator does not convert between units (for example g to kg). Use one consistent unit for meaningful comparisons.
- Results are rounded to two decimals for readability. For very small unit prices, use the per 100 units figure for clarity.
Common questions
What should I type as the unit label?
Type the unit you want the result expressed in, like g, ml, kg, L, or items. The calculator uses this label only for display. The math depends on the number you entered as quantity, so keep your unit consistent across comparisons.
How do I use this to compare two products?
Calculate the unit price for the first product, then calculate the unit price for the second product using the same unit label and the same unit scale. Compare the unit prices. Lower cost per unit is better value, assuming quality and contents are comparable.
What if the pack has multiple items (like a 6-pack)?
Use the Advanced option and enter the number of items in the pack. Enter the quantity per item, not the total. The calculator multiplies quantity per item by the pack count to get total quantity, then computes cost per unit correctly.
Why does the calculator show price per 100 units?
Cost per 1g or 1ml can look tiny and hard to compare, even though it is accurate. Cost per 100 units is the same information scaled to a more readable number. It is especially useful for groceries, toiletries, and household liquids.
When does unit price not tell the full story?
Unit price is a value metric, not a quality metric. If products differ in quality, concentration, durability, or waste, the cheapest unit price may not be the best choice. Unit price is most reliable when the products are genuinely comparable and used in similar ways.