BusinessMarch 29, 2026

Unit Price Calculator: How to Compare Prices & Find Best Value

By The hakaru Team·Last updated March 2026

Quick Answer

  • *Unit Price = Total Price ÷ Quantity. Use the same unit for every product you compare.
  • *A 32 oz bottle at $4.99 costs $0.156/oz. A 16 oz bottle at $2.99 costs $0.187/oz — the larger size is 17% cheaper per ounce.
  • *Bulk buying only saves money if you use the product before it expires and if warehouse membership costs are accounted for.
  • *Unit price comparison can save the average family $500–$1,000 per year on groceries.

What Is Unit Price?

Unit price is the cost of a single unit of a product — one ounce, one sheet, one count. It strips away package size and lets you compare products on equal footing.

Grocery stores are required by law to display unit prices in most U.S. states, but the shelf tags are often small and easy to miss. Knowing how to calculate unit price yourself puts the comparison power back in your hands.

The Unit Price Formula

The formula is simple:

Unit Price = Total Price ÷ Quantity

Quantity can be ounces, grams, milliliters, sheets, count — whatever the product is measured in. The unit you choose does not matter as long as you use the same unit for every item you compare.

Worked Example: Shampoo Bottles

You're looking at two bottles of shampoo:

  • Option A: 32 oz bottle for $4.99
  • Option B: 16 oz bottle for $2.99

At first glance Option B looks cheaper. But run the math:

ProductPriceSizeUnit Price (per oz)
Option A (32 oz)$4.9932 oz$0.156/oz
Option B (16 oz)$2.9916 oz$0.187/oz
DifferenceOption A is 17% cheaper per oz

Option A costs $0.156/oz vs $0.187/oz for Option B. The larger bottle is 17% cheaper per ounce. Over a year of buying shampoo, that difference adds up.

Common Unit Price Comparisons

Here's how unit price math plays out across common grocery categories. Prices are representative retail averages.

ProductSmall Size / PriceLarge Size / PriceSavings per Unit
Cereal (name brand)12 oz / $4.49 → $0.374/oz18 oz / $5.99 → $0.333/oz11% cheaper large
Laundry detergent50 fl oz / $6.99 → $0.140/fl oz100 fl oz / $11.49 → $0.115/fl oz18% cheaper large
Paper towels (6-roll)6 rolls / $7.99 → $1.33/roll12 rolls / $13.99 → $1.17/roll12% cheaper large
Canned tomatoes (28 oz)14.5 oz / $1.09 → $0.075/oz28 oz / $1.79 → $0.064/oz15% cheaper large

Price Per Unit vs Price Per Ounce

Choosing the right comparison unit matters. Use the unit that reflects actual consumption:

  • Beverages and liquids: price per fl oz or per ml
  • Paper goods (paper towels, toilet paper): price per sheet (not per roll — rolls vary by sheet count)
  • Canned and packaged goods: price per oz or per gram
  • Eggs, batteries, supplements: price per count
  • Meat and deli items: price per lb or per 100g

Never compare a price-per-roll to another price-per-roll without checking whether the rolls have the same number of sheets. A “double roll” can have anywhere from 110 to 165 sheets depending on the brand.

Metric vs Imperial: Price Per Gram vs Per Ounce

Some products are labeled in grams, others in ounces. To compare them, convert first.

1 oz = 28.35 g

Example: a 400g jar of peanut butter at $3.49 vs a 16 oz jar at $3.99.

  • 400g ÷ 28.35 = 14.1 oz. So $3.49 ÷ 14.1 = $0.247/oz
  • 16 oz jar: $3.99 ÷ 16 = $0.249/oz

Nearly identical in this case — but the math matters. Without converting, you'd be comparing apples to oranges.

If you prefer working in grams: $3.99 ÷ (16 × 28.35) = $3.99 ÷ 453.6 = $0.0088/g vs $3.49 ÷ 400 = $0.0087/g.

When Bulk Buying Doesn't Save Money

The unit price on a warehouse club's 5 lb bag of spinach might look great. But buying in bulk only saves money when several conditions are met.

Perishables You Won't Use in Time

If you throw away half the product before it spoils, you've effectively doubled your unit price. Bread, produce, dairy, and fresh herbs are common culprits. A $3.99 loaf of bread that you eat half of before it molds has a real cost of $7.98 for what you actually consumed.

Warehouse Club Membership Costs

A Costco Gold Star membership costs $65/year. A Sam's Club membership runs $50/year. That fee must be spread across every purchase you make there. If you spend $1,000/year at Costco, your membership adds 6.5% to every item's true cost. Compare that to the unit price savings before assuming you're ahead.

Storage Space and Opportunity Cost

Buying 48 rolls of paper towels at once ties up cash and requires storage space. For households with limited space, the convenience cost is real. Money locked in inventory is money not earning returns elsewhere.

Store Brand vs Name Brand

According to the Private Label Manufacturers Association (PLMA), store brands (also called private labels or generic brands) save consumers an average of 20–30% compared to name brand equivalents. Consumer Reports testing has consistently found store brand products comparable in quality across most categories.

CategoryName Brand Unit PriceStore Brand Unit PriceTypical Savings
Ibuprofen (200mg, 100ct)$0.12/tablet$0.04/tablet67%
Shredded cheddar cheese (8 oz)$0.37/oz$0.27/oz27%
Bleach (64 fl oz)$0.09/fl oz$0.05/fl oz44%
Pasta (16 oz)$0.12/oz$0.07/oz42%

The FDA requires generic medications to have the same active ingredients, strength, and dosage form as name brand equivalents. For OTC medications, there is no quality difference — only price.

Sale Price Math: When “Deals” Aren't Deals

Sales can be misleading if you're not running the unit price math.

Scenario: crackers are on sale “2 for $5.” The regular price is $2.49 each. Run the numbers:

  • Sale price: $5 ÷ 2 = $2.50 each
  • Regular price: $2.49 each

Buying one at the “sale” price costs you a penny morethan the regular price. This is a common tactic — the “2 for $X” framing creates the illusion of a deal. Always divide to check.

Coupon Math: Stack Unit Prices After Discounts

Coupons change the unit price equation. You need to apply the discount before comparing.

Example: you have two options for pasta sauce:

  • Name brand (24 oz): $3.99, with a $1.00 coupon → net price $2.99 → $2.99 ÷ 24 = $0.125/oz
  • Store brand (24 oz): $2.99, with a $0.75 coupon → net price $2.24 → $2.24 ÷ 24 = $0.093/oz

Even with the larger coupon, the name brand still costs 34% more per ounce. But if the name brand had a $1.50 coupon instead, it would flip: $2.49 ÷ 24 = $0.104/oz vs $0.093/oz — close, but the store brand still wins.

The lesson: always recalculate unit price after applying coupons. Never assume the bigger coupon makes a product the better deal.

How Much Can Unit Price Comparison Save You?

According to the USDA Economic Research Service, American households spend an average of 8.5% of their disposable income on food. For a median household income of $74,580, that's roughly $6,339/year on groceries.

Consistently applying unit price comparison — choosing the better value size, switching to store brands where quality is equivalent, and avoiding misleading sale pricing — can realistically reduce that grocery bill by 8–16%. That translates to $500–$1,000 per year for the average family, without changing what you eat or where you shop.

Compare any two products in seconds

Use our free Unit Price Calculator →

Frequently Asked Questions

How do you calculate unit price?

Unit price is calculated by dividing the total price by the quantity: Unit Price = Total Price ÷ Quantity. For example, a 32 oz bottle of shampoo for $4.99 has a unit price of $4.99 ÷ 32 = $0.156 per ounce. Use the same unit (ounces, grams, sheets) for all items you're comparing so the numbers are meaningful.

How do I compare prices between different sizes?

Divide each product's price by its quantity to get a unit price, then compare. A 32 oz bottle at $4.99 costs $0.156/oz, while a 16 oz bottle at $2.99 costs $0.187/oz — the larger size is 17% cheaper per ounce. Make sure both products use the same unit before comparing. Our unit price calculator does this automatically.

Is buying in bulk always cheaper?

Not always. Bulk buying only saves money if you actually use the product before it expires, if the warehouse membership cost is accounted for, and if you have storage space. For perishables like produce, bread, or dairy, bulk purchases often lead to waste that eliminates any savings. Calculate the true cost by dividing membership fees across every purchase you make at that store.

What is the best unit to compare food prices?

Use the unit that best reflects how you consume the product. For beverages and liquid goods, use price per ounce or milliliter. For paper goods (paper towels, toilet paper), use price per sheet or per roll. For canned goods, use price per ounce. For items sold by count (eggs, batteries), use price per unit. The key is consistency — always use the same unit when comparing two products.

How do I calculate price per ounce?

Divide the product's total price by its weight in ounces. Price per ounce = Total Price ÷ Total Ounces. A 28 oz can of tomatoes for $1.79 costs $1.79 ÷ 28 = $0.064 per ounce. If a product is labeled in grams, convert first: 1 oz = 28.35 grams. So 400g = 14.1 oz, and $2.49 ÷ 14.1 oz = $0.177 per ounce.