UtilityBase logoUtilityBase

Calculators

Unit Price Calculator

Compare products by price per unit to find the better buy — even across pack sizes.

Updated July 13, 2026

How to use the unit price calculator

  1. 1Enter the first item's price, size, and unit.
  2. 2Add the competing items and their prices and sizes.
  3. 3Read the price per unit for each.
  4. 4The cheapest per unit is flagged as the best value.

Common uses

  • Deciding if the bigger package is really cheaper
  • Comparing a multipack to buying singles
  • Grocery shopping on a budget
  • Checking cost per ounce across brands

Frequently asked questions

How is unit price calculated?

It's the total price divided by the size — price per ounce, per fluid ounce, or per item. A $3.99 bag of 12 oz is $0.3325/oz, while a $5.49 bag of 20 oz is $0.2745/oz, so the bigger bag is cheaper per ounce even though it costs more. The tool computes this for each item and flags the lowest.

Can I compare different pack sizes or units?

Yes. Enter each item's size in whatever unit it's sold in — ounces, pounds, grams, milliliters, liters, or a count of items — and everything is normalized before comparing. So a 12-pack versus a single, or ounces versus pounds, all compare fairly, as long as they measure the same thing.

Why can't I compare a weight to a volume?

Because there's no fixed conversion between them — 100 grams of one product isn't 100 ml of another. The tool only ranks items measured the same way (all weight, all volume, or all count) and warns you when you've mixed types, so the 'best value' flag stays meaningful.

About this tool

The unit price calculator compares two or more products by their price per unit, so you can tell which is actually cheaper when the packages are different sizes. Enter each item's price and size and it works out the cost per ounce, per fluid ounce, or per item and flags the best value. Sizes are normalized internally, so you can compare ounces against pounds or a single item against a multipack. It's the quick math that supermarket shelf tags don't always make easy — and comparing different measurement types is called out so you don't compare weight to volume by mistake. Everything runs in your browser.

Like most tools on UtilityBase, the unit price calculator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more calculators here.

Was this tool helpful?

Related tools