Unit Price Explained: How to Find the Best Value
Unit price explained: divide price by quantity to compare anything on the shelf fairly. Covers mass, volume, and count units, cross-unit conversion (oz to g, fl oz to ml), and when unit price is misleading. With examples and a free calculator.
The sticker price tells you which box is cheapest. It almost never tells you which box is the best value. Unit price — the cost per gram, per milliliter, per item — is the one number that lets you compare anything on the shelf, and it is simple division.
What unit price is
Unit price is the price divided by the amount you actually get:
unit_price = price / quantity
If a 500 g box of cereal costs $4.00, its unit price is 4.00 / 500 = $0.008 per gram. A 750 g box costs $5.25, so its unit price is 5.25 / 750 = $0.007 per gram. The bigger box is cheaper per gram even though it costs more at the register. Lower unit price is the better value.
Why the cheapest box usually loses
Manufacturers know shoppers anchor on the total price. The "family size" looks expensive at $8, the "convenience" pack looks cheap at $3 — but per unit, the family size is often a third the cost. The same product in a smaller package can cost double per gram. Bulk is usually (not always) cheaper per unit, and the only way to know is to compute the unit price.
This is why many countries require grocery stores to show a unit price on the shelf tag. When the tags are there, the comparison is done for you. When they are not — or when packages use incompatible units — you have to do it yourself.
Comparing across different units
The hard part is that products come in different units. One toothpaste is priced per ounce, another per gram. One drink is a 12 oz can, another is a 750 ml bottle. You can't compare price-per-ounce to price-per-milliliter directly — you have to convert both to the same base unit first.
Units group into categories: mass (g, kg, oz, lb — convert to grams), volume (ml, l, fl oz, cup, gallon — convert to milliliters), and count (each). Inside a category the conversions are fixed: 1 oz = 28.35 g, 1 lb = 453.59 g, 1 fl oz = 29.57 ml, 1 gallon = 3785 ml. So a 12 oz can at $3.99 is $0.33 per oz, which is $3.99 / (12 × 28.35) = $0.0117 per gram. A 750 ml bottle at $5.49 is $5.49 / 750 = $0.0073 per ml — but those two numbers are still incomparable until you convert one: 750 ml = 25.36 fl oz, so the bottle is $5.49 / 25.36 = $0.217 per fl oz versus the can's $0.333 per fl oz. The bottle wins.
What you can never do is compare across categories. Price-per-gram and price-per-milliliter are different physical quantities — a gram of feathers and a milliliter of water are not the same thing. Mixing mass and volume only works if you know the density, which you usually don't.
Per-item pricing for things that aren't measured
For items sold by count — rolls of paper towels, packs of batteries, boxes of crayons — the "unit" is just one item. A 6-pack of socks for $18 is $3 per sock; a 10-pack for $25 is $2.50 per sock. The same division applies; the base unit is "each." This is also how to compare "buy 2 get 1 free" deals: divide the total you pay by the total number of items you receive.
When unit price is misleading
Unit price assumes the quality is the same, which is not always true. A cheaper-per-gram brand that you throw half of away because it tastes bad is not a better value. Bulk perishables that spoil before you finish them can cost more per gram actually consumed. And sale prices sometimes come in odd package sizes engineered to look competitive on unit price but with a worse actual deal after the "membership" or shipping cost. Unit price is the starting point of a smart comparison, not the whole answer.
Try it yourself
The Unit Price Comparison tool ranks several product options by price-per-unit so the best value jumps out. It handles mass, volume, and count categories with built-in unit conversions, so you can compare a 12 oz can against a 750 ml bottle directly. Pair it with the Sales Tax Calculator to add tax to the winner before you commit, or the Tip Calculator for the dining version of the same "split the total fairly" problem.