How to Calculate Unit Price and Find the Better Deal

Unit price is the price divided by the quantity, such as cents per ounce. Learn to convert units, compare sizes and deals, and avoid common traps.

Unit price is the price divided by the quantity, expressed per a standard unit such as per ounce, per pound or per item. To compare two products, convert both to the same unit, divide each price by its quantity, and pick the lower result. An 18-ounce cereal box for $4.49 costs 24.9 cents per ounce, while a 12-ounce box for $3.29 costs 27.4 cents per ounce, so the larger box is the better value by about 9%.

The formula

Unit price = Price ÷ Quantity

To express it in cents, multiply by 100. The unit rate calculator compares several items at once.

Step 1: Use the same unit

Convert Factor
Pounds to ounces × 16
Gallons to fluid ounces × 128
Quarts to fluid ounces × 32
Liters to fluid ounces × 33.814
Kilograms to pounds × 2.2046
Ounces to grams × 28.35

Watch for fluid ounces (volume) versus ounces (weight). Liquids are sold by volume, solids by weight; do not compare across the two. The ounces to grams converter helps with metric labels.

Step 2: Divide

Example: package sizes

Product Price Size Unit price
Cereal, small $3.29 12 oz 27.4¢/oz
Cereal, large $4.49 18 oz 24.9¢/oz
Coffee, bag $9.99 12 oz 83.3¢/oz
Coffee, 2-lb bag $21.49 32 oz 67.2¢/oz
Milk, half gallon $2.49 64 fl oz 3.89¢/fl oz
Milk, gallon $3.89 128 fl oz 3.04¢/fl oz
Detergent, small $12.97 92 fl oz 14.1¢/fl oz
Detergent, large $19.97 150 fl oz 13.3¢/fl oz

In every case here the larger size wins, but by very different margins: about 22% on milk and 19% on coffee, and only about 6% on detergent.

Comparing deals and promotions

Multi-buy offers

A “3 for $5” deal is $5 ÷ 3 = $1.67 each. If the single price is $1.79, the deal saves 12 cents per item. Many stores apply the sale price even if you buy just one; check the shelf tag’s fine print.

Coupons and discounts

Apply the discount before computing unit price. A $1-off coupon on the 18-ounce $4.49 cereal makes it $3.49, or 19.4 cents per ounce. A percentage discount works the same way; the discount calculator finds the sale price. Sales tax usually applies equally to both options, so it rarely changes which one is cheaper, but it matters for your total; see how to calculate sales tax.

Count-based products

For paper towels, diapers and similar items, compare per sheet or per count, and check that the sheets are the same size:

Pack Price Total sheets Price per sheet
6 rolls × 102 sheets $11.99 612 1.96¢
12 rolls × 78 sheets $19.99 936 2.14¢

Here the smaller pack is cheaper per sheet, because each of its rolls has more sheets. “Double roll” and “mega roll” labels are not standardized, so count sheets rather than rolls.

Pizza: price per square inch

Pizza is the classic case where size misleads, because area grows with the square of the diameter:

Area = π × (diameter ÷ 2)2 · Price per sq in = Price ÷ Area
Pizza Price Area Price per sq in
12-inch $12.99 113 sq in 11.5¢
16-inch $18.99 201 sq in 9.4¢

The 16-inch pizza is only 4 inches wider but has 78% more area, and costs about 18% less per square inch. Two 12-inch pizzas total 226 square inches, less than a single 18-inch pizza at 254. The pizza size calculator compares up to three pizzas, including crust width.

Unit price for services and subscriptions

The same idea works for things you pay for over time. Divide the cost by how much you actually use:

  • Cost per use: a $45 monthly gym membership used 6 times a month costs $45 ÷ 6 = $7.50 per visit. If a drop-in class costs $15, the membership pays off after 3 visits a month.
  • Monthly vs. annual plans: a service at $9.99 a month costs $119.88 a year. An annual plan at $99 works out to $8.25 a month, about 17% less, but only if you would have kept the service all year.
  • Per-unit data and phone plans: divide the bill by gigabytes or lines to compare plans of different sizes.

Cost per use is a good check on memberships and subscriptions that quietly renew while going unused.

Spotting shrinkflation

When a product shrinks but the price stays the same, the unit price rises. A $3.99 bag that goes from 16 ounces to 14.5 ounces moves from 24.9 to 27.5 cents per ounce, a 10.3% price increase hidden in the package size. Comparing unit prices over time is the easiest way to catch it.

When the lowest unit price is not the best buy

  • Waste: a gallon of milk at 3.04¢ per ounce is no bargain if a third of it spoils.
  • Storage and cash flow: bulk packs tie up money and space.
  • Quality differences: compare equivalent products, or decide whether a store brand is good enough.
  • Use-by dates: perishables and products like sunscreen lose quality over time.
  • Concentration: for cleaners and detergents, compare cost per load or per use, not per ounce, if concentrations differ.

Shelf tags and the law

Many US grocery stores show unit prices on shelf tags. Requirements come from state and local laws, often modeled on uniform unit pricing guidance in a NIST handbook, and some states do not require unit pricing at all. Tags occasionally use different units for similar products (per ounce versus per count), so check that you are comparing like with like.

Quick method in the aisle

  1. Find the price and quantity on each label.
  2. Convert to the same unit if needed.
  3. Divide price by quantity; round to a tenth of a cent.
  4. Factor in coupons, waste and quality.

For running costs at home, the same per-unit thinking applies to electricity; see how to calculate electricity cost. When buying in bulk for a gathering, how to scale a recipe helps you figure out quantities.

Frequently asked questions

How do you calculate unit price?

Divide the price by the quantity. An 18-ounce box of cereal for $4.49 costs $4.49 ÷ 18 = about 24.9 cents per ounce. Compare items using the same unit, such as per ounce, per pound or per count.

Is the bigger package always cheaper per unit?

Usually, but not always. Sales, coupons and store brands often make a smaller size cheaper per unit, and sometimes stores price large sizes higher per unit. Always compare unit prices rather than assuming.

How do I compare items sold in different units?

Convert to a common unit first. There are 16 ounces in a pound, 128 fluid ounces in a gallon and about 33.8 fluid ounces in a liter. Then divide each price by its converted quantity.

Is a large pizza a better deal than two mediums?

Often. Pizza area grows with the square of the diameter, so one 18-inch pizza (about 254 square inches) has more pizza than two 12-inch pizzas (about 226 square inches combined). Compare price per square inch.

Why do shelf unit prices sometimes use different units?

Unit pricing rules come from state and local laws, many based on a model regulation published by the National Institute of Standards and Technology (NIST), and not every store or state follows them identically. One product may show price per ounce and another per count, so check the units before comparing.