How to use the Unit Price Calculator
- Choose whether packages are measured by mass, volume or item count.
- Enter the price, quantity and unit for each package. Units must describe the same kind of quantity.
- Compare the normalized cost per gram, milliliter or item and the savings from the lower unit-price option.
Normalized package unit price
Where:
- = conversion to grams, milliliters or individual items
- = the other package quantity expressed in the same base unit
Show as plain text
Normalized quantity = package quantity × unit conversion factor Unit price = package price ÷ normalized quantity
Package quantities are converted to a shared base unit: grams for mass, milliliters for volume or items for count. Each package price is divided by its normalized amount.
The equivalent-quantity saving compares what the larger unit price would cost for the cheaper package's quantity. It is not a discount from a store's listed price.
Assumptions and limitations
- Both packages contain the same product and are compared using the same quantity type. Mass cannot be compared directly with volume without a product density.
- Volume factors use US customary fluid ounces, cups and gallons. US fluid ounces are not mass ounces.
- Taxes, quality, waste, coupons and promotions are not considered; entered prices are compared as given.
Example: Compare 500 g for $4.99 with 1 kg for $6.99
- Package A costs $4.99 ÷ 500 = about $0.00998 per gram.
- Package B is 1,000 grams and costs $6.99 ÷ 1,000 = about $0.00699 per gram.
- Package B has the lower unit price; compare its cost for the same 500 g quantity to estimate the difference.
When to use the Unit Price Calculator
- Comparing different package sizes of the same product at a grocery store.
- Comparing bulk and smaller package costs after converting weight or volume units.
- Check percentage savings with the discount calculator or convert package measurements with the unit converter.
Unit Price Calculator FAQs
Can I compare grams directly with milliliters?
No. Grams measure mass and milliliters measure volume. Comparing them requires the product's density, which varies by ingredient or material and is not assumed here.
Why does the calculator use milliliters or grams as the base?
A shared base unit makes package quantities comparable even when labels use different units, such as kilograms and ounces or liters and cups.
Does the cheaper unit price always mean the better buy?
It means the entered package costs less per normalized amount. Product quality, freshness, waste, taxes and whether you can use the full package are not modeled.
How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.