Smart Shopping · Math Guide

How to Calculate Unit Price per Ounce & Gram: The Complete Formula

Published 2026-10-27 · 5 min read · Grocery Price Scanner Research Series

When comparing two packages of olive oil, coffee beans, or laundry detergent in the supermarket aisle, package pricing is intentionally engineered to deceive you. A 14.5 oz box on sale for $4.29 might seem cheaper than an 18 oz box for $4.99, but without calculating the unit price, you have no idea which is the better deal.

Understanding unit pricing math is the single highest-return skill you can master to reduce your monthly household grocery bill by 15% to 25% without sacrificing food quality.

Example ItemPackage Price & Net WeightMathematical FormulaUnit Price ResultTrue Winner
Brand A Olive Oil$8.99 for 16.9 fl oz$8.99 ÷ 16.9$0.532 / fl ozSecond Place
Brand B Olive Oil$14.49 for 33.8 fl oz$14.49 ÷ 33.8$0.428 / fl ozWinner (20% Cheaper)
Cereal Standard$4.79 for 12.2 oz$4.79 ÷ 12.2$0.392 / ozOverpriced
Cereal Family Size$6.29 for 19.5 oz$6.29 ÷ 19.5$0.322 / ozWinner (18% Savings)

The Universal Unit Price Formula

The mathematical formula to calculate unit price is always:

Unit Price = Total Item Price ÷ Total Weight or VolumeFor example, if a 28 oz can of crushed tomatoes costs $2.49:
$2.49 ÷ 28 = $0.0889 per ounce (roughly 8.9 cents per oz).

How to Convert Ounces to Grams in Your Head

Many international foods, specialty items, and nutritional supplements list their net weight in grams rather than imperial ounces. Keep this fundamental conversion in mind:

  • 1 Ounce (oz) = 28.35 Grams (g)
  • 1 Pound (lb) = 16 Ounces = 453.6 Grams
  • 1 Kilogram (kg) = 1,000 Grams = 2.205 Pounds

3 Supermarket Traps That Distort Unit Prices

  1. The "Bulk Isn't Always Cheaper" Trap: Retailers know consumers assume larger packages are cheaper per ounce. In up to 18% of grocery categories, the "Family Size" or "Club Size" actually carries a higher unit price than two medium boxes on sale.
  2. Shrinkflation Packaging Tricks: Manufacturers quietly reduce weight from 16 oz to 14.2 oz while keeping the cardboard box footprint and price identical. Always inspect the net weight on the lower corner of the package.
  3. Inconsistent Shelf Tag Units: Supermarkets often list one brand at "Price per Pound" and the competing brand right beside it at "Price per Ounce" or "Price per 100g" to prevent direct visual comparison.

Compare unit prices instantly with your iPhone camera

Point your camera at shelf tags or package weights to see instant per-ounce and per-gram comparisons—no manual math required.

Compare Prices on App Store →

Frequently Asked Questions

What is the fastest way to calculate price per ounce?

Take the total shelf price and divide it by the number of ounces listed on the package label. For example, $5.00 for 20 oz equals $0.25 (25 cents) per ounce.

Why do supermarkets use different units on shelf tags?

Supermarkets often display inconsistent units (e.g. per quart vs per pint, or per pound vs per ounce) to introduce cognitive friction and discourage shoppers from calculating true cost differences between name-brand and generic items.

Is unit price the same as net price?

No. Net price is the total amount you pay at checkout for the container, while unit price is the normalized cost per standard unit of measurement (such as per ounce, per gram, or per fluid ounce).