Free Unit Price Calculator

Find the best value per ounce, gram, or count — compare up to 4 items instantly.

Item A Best Value
Item B Best Value
Best value
Best unit price

What is a unit price calculator?

A unit price calculator is a free online tool that helps you compare the price per unit of different package sizes to find the best value. It runs entirely in your browser — no signup, no app, and no data is ever sent to a server.

A unit price calculator is a free tool that divides a product's price by its weight, volume, or count so you can instantly see which option gives you the most for your money. Instead of squinting at shelf labels or doing division in your head at the grocery store, enter the price and size of each item and the calculator highlights the best value in green.

The first time I actually compared unit prices systematically at the supermarket, I realized the "family size" box of cereal was more expensive per ounce than the regular size — a marketing trick I had fallen for my entire adult life. That is the moment you stop trusting package sizes and start trusting the math.

How it works

The formula is simple: unit price = total price ÷ quantity. The challenge is that a 12 oz bottle and a 750 ml bottle cannot be compared directly without a unit conversion. This calculator handles that automatically — select the unit for each item from the dropdown and everything normalizes to a common base before comparison. Enter up to four items at once. The item with the lowest unit price gets a green "Best Value" badge, and the bar chart makes the price gap visual: longer bar = worse value, so the cheapest always has the shortest bar.

Results update as you type, which is handy when you are at the register checking whether a sale price actually beats the regular price of a competing brand. I use this mostly for comparing store-brand versus name-brand at the grocery store, and for checking whether the bulk pack at the warehouse club is genuinely cheaper or just psychologically cheaper.

Common mistakes people make with unit pricing

Assuming bigger is always cheaper per unit. Stores know you assume this, and they price accordingly. Some manufacturers deliberately price their larger sizes at a higher unit price — called the "large-size penalty" — and rely on your assumption that bulk is always better. I have seen 64 oz laundry detergent priced higher per ounce than the 32 oz version of the same brand on the same shelf. Always check.

Comparing different units without converting. A store might display price per 100g for one product and price per oz for another, making direct comparison impossible. This calculator fixes that by normalizing everything, but if you are doing mental math, remember 1 oz = 28.35 g. A product at $0.50 per 100g is about $0.14 per oz — cheaper than something at $0.20 per oz.

Not checking whether the bigger package is returnable. Warehouse clubs like Costco have excellent return policies, but regular grocery stores usually do not accept returns on opened bulk items. If the giant jar of pickles goes bad before you finish it, the unit price savings are completely cancelled by the waste.

When to use a unit price calculator

The most common use is the grocery aisle: is the 12 oz bottle for $3.99 or the 24 oz bottle for $6.49 the better deal? (The 24 oz at $0.2704/oz — a savings of $0.062 per ounce.) But the calculator works for cleaning supplies, pet food, personal care, coffee, cooking oils, pasta, and canned goods. Many US states require stores to display unit prices on shelf labels, but those labels are often formatted in inconsistent units or hard to read. Bookmark this tool on your phone for the next time you are staring at a shelf wondering whether the bulk size is actually worth it.

How to use this calculator

  1. Enter item names and prices — Type a name for each item (e.g. 'Store Brand') and the price you pay at the shelf. Add up to 4 items with the Add Item button.
  2. Enter the quantity and choose a unit — Enter the package size — for example 24 — and select the unit from the dropdown (oz, lb, g, kg, fl oz, ml, L, or count). Mix units freely; the calculator converts everything to the same base.
  3. Read the best-value result instantly — The item with the lowest price per unit is highlighted green with a Best Value badge. The bar chart and savings line show exactly how much cheaper it is versus the other options.

Frequently asked questions

How do I calculate price per ounce?

Divide the total price by the number of ounces. For a 12 oz bottle priced at $3.99, the price per ounce is $3.99 ÷ 12 = $0.3325 per oz. This unit price calculator does the division automatically for any weight, volume, or count unit so you can compare products side by side instantly.

Is the bigger package always the better value?

Not always. Bulk items are often cheaper per unit, but not universally. Store brands in smaller sizes sometimes beat name-brand bulk packs. Club store multi-packs can expire before you use them, making the apparent savings illusory. Always compare unit prices rather than assuming size correlates with value — that's exactly what this calculator is for.

How do stores mislead shoppers with price-per-unit labels?

Some stores display unit prices in inconsistent units — one product shows price per ounce while a comparable product shows price per pound, making direct comparison impossible without conversion. Others use different base quantities (price per 100g vs price per oz). This calculator normalizes everything to the same base unit so you can compare apples to apples.

How do I compare price per gram vs price per ounce?

One ounce equals 28.3495 grams. To convert price per gram to price per ounce, multiply by 28.35. To convert price per ounce to price per gram, divide by 28.35. This calculator handles those conversions automatically — just select the unit each item is measured in and it normalizes the comparison for you.

What is the unit price formula?

Unit price = total price ÷ quantity. For example, if a 32 fl oz bottle costs $4.79, the unit price is $4.79 ÷ 32 = $0.1497 per fl oz. The same formula applies to weight (oz, lb, g, kg) or count (items, rolls, sheets). The item with the lowest unit price gives you the most product for each dollar spent.

Should I always buy the bulk size even if the unit price is lower?

Not necessarily. A lower unit price on a bulk item only saves money if you actually use all of it before it expires or goes stale. I have thrown away too many Costco-sized bags of rice and spices that cost less per ounce but sat in the pantry for two years. For non-perishables with long shelf lives — toilet paper, cleaning supplies, canned goods — bulk is almost always the right call. For fresh ingredients, spices, and anything that expires, smaller packages at a slightly higher unit price can be cheaper in practice because you waste less.

Related Tools & Guides