Unit Price Calculator
Compare package prices by usable unit with multipacks, shared discounts or fees, waste assumptions, and break-even shelf price checks.{{ summaryTitle }}
Current result
| Package | Effective price | Normalized size | Unit price | What it tells you | Copy |
|---|---|---|---|---|---|
| {{ row.package }} | {{ row.effectivePrice }} | {{ row.normalizedSize }} | {{ row.unitPrice }} | {{ row.note }} |
| Signal | Action | Reason | Copy |
|---|---|---|---|
| {{ row.signal }} | {{ row.action }} | {{ row.reason }} |
| Scenario | Size | Shelf price | Limit price | Note | Copy |
|---|---|---|---|---|---|
| {{ row.scenario }} | {{ row.size }} | {{ row.shelfPrice }} | {{ row.limitPrice }} | {{ row.note }} |
{{ jsonPretty }}
A low shelf price is not always the better buy. Package sizes, multipacks, shrinkflation, sale labels, and waste can make two prices hard to compare until both options are reduced to the same unit price.
Unit pricing answers a narrow value question: how much does one comparable amount cost? A 16 oz jar, a 28 oz jar, a 500 g bag, and a 2-pack can be compared only after price, quantity, pack count, and measurement unit are put on the same basis. The comparison is strongest when the products are close substitutes and the entered prices already use the same currency.
Compatible units matter more than the package shape. Weight can be converted to weight, volume to volume, and count to count. Ounces and grams can be normalized because both measure weight. Fluid ounces and ounces cannot be treated as the same thing because one measures volume and the other measures weight; converting between them requires product density, not a shelf-label shortcut.
Unit price is also useful when the label is technically true but the purchase still deserves a second look. A case may be cheaper per count and still cost more today. A larger bag may look better per 100 g until half of it spoils. A discount may be fair to include only if it applies to both options in the same way.
| Situation | Why the shelf price can mislead | Fair comparison basis |
|---|---|---|
| Different package sizes | The larger package costs more at checkout but may cost less per usable amount. | Normalize both prices to the same weight, volume, or count unit. |
| Multipacks and cases | The printed size may describe one item while the price covers several identical items. | Multiply the printed size by pack count before dividing price by quantity. |
| Sales, coupons, or delivery fees | A discount or fee can change the effective price, especially when one option is much larger. | Apply only adjustments that affect both options in the same way. |
| Waste or spoilage | A low rate can disappear when part of the product expires, dries out, trims away, or sits unused. | Compare the price against the quantity you expect to use. |
A unit price is a value clue, not a full purchasing decision. Quality, freshness, concentration, ingredients, warranty, storage space, and cash outlay still matter. The strongest comparisons use like-for-like products, compatible measurement families, and a realistic estimate of how much of the purchase will actually be used.
How to Use This Tool:
Use the two package labels first, then add advanced adjustments only when they apply fairly to both options.
- Enter Package A price, Package A size, the Package A unit, and Package A pack count. The price should cover the whole package or multipack.
- Enter Package B price, Package B size, the Package B unit, and Package B pack count. Keep Package B in the same measurement family as Package A: weight, volume, or count.
- Set Compare as. Match Package A shelf unit chooses a compatible display basis from Package A, while a specific target such as per 100 g, per oz, or per count keeps every result on that unit.
- Open Advanced for optional labels, Shared discount, Shared checkout fee, Usable amount, Currency symbol, and Unit price decimals. Use shared adjustments only when the same rule applies to both packages.
- Read the summary and Unit Price Ledger. If the summary says Unit mismatch or a row says Not comparable, change the units or convert the label outside the calculator before relying on a winner.
- Use Buying Signals, Shelf Price Limits, Unit Price Ladder, and Break-Even Shelf Price only after both packages are valid and compatible.
A ready comparison names the lower unit price, shows the normalized spread, and fills the ledger rows without a mismatch warning.
Interpreting Results:
The lower Unit price wins only among comparable rows. If one row is a weight unit and the other is a volume or count unit, the comparison is blocked instead of guessing a density, serving size, or conversion that was not entered.
A small spread is not a command to buy the larger package. Buying Signals treats a savings spread of 8% or more as material; smaller gaps can be outweighed by freshness, brand preference, storage limits, or a higher checkout price.
| Output | Meaning | Check before deciding |
|---|---|---|
| Effective price | Shelf price after the shared discount and shared checkout fee are applied. | Make sure those adjustments really apply to both packages. |
| Normalized size | Printed size multiplied by pack count, converted to the comparison unit, and reduced by usable amount. | Confirm the printed size describes one package and the pack count covers the whole price. |
| Buying Signals | Highlights the lower rate, savings spread, upfront spend, unit consistency, waste assumption, and shelf-label audit. | Pay attention when the lower unit price also costs more at checkout. |
| Shelf Price Limits | Shows the highest shelf price a package size can have while matching the current lower unit rate. | Read it as a break-even limit, not as a price forecast or quality judgment. |
| Unit Price Ladder | Charts the comparable unit prices side by side. | Use it only after both package rows are valid and compatible. |
The result is strongest when it checks a narrow value question: which comparable package costs less per usable unit under the same assumptions. It does not measure taste, reliability, nutrition, product performance, or whether buying extra quantity fits your budget.
Technical Details:
A unit price is a ratio between adjusted price and usable quantity. The price side starts from the entered shelf or quote price, applies one shared discount percentage, and adds one shared checkout fee. The quantity side multiplies printed size by pack count, converts compatible units to a family base unit, and applies the usable-amount percentage.
The conversion model is linear inside each measurement family. Grams, kilograms, ounces, and pounds share a weight base; milliliters, liters, fluid ounces, and gallons share a volume base; count-like units share a direct count base. Cross-family comparisons are blocked because weight, volume, and count need product-specific information before they can be converted into one another.
Formula Core:
The calculation divides effective price by usable base quantity, then scales that base rate to the selected comparison unit.
Here d is the shared discount as a decimal, f is the shared checkout fee, q is printed package quantity, n is pack count, c is the conversion factor to the family base unit, u is usable amount as a decimal, and Qtarget is the selected display unit such as 100 g, 1 oz, or 1 count.
With 4.79 for 16 oz and 7.99 for 28 oz, no discount, no fee, and 100% usable amount, the rates are about 0.2994 per oz and 0.2854 per oz. The 28 oz package is lower by about 0.0140 per oz, which is roughly 4.7% below the 16 oz package.
| Family | Accepted source units | Base unit | Common comparison targets |
|---|---|---|---|
| Weight | g, kg, oz, lb | gram | per 100 g, per kg, per oz, per lb |
| Volume | ml, L, fl oz, gal | milliliter | per 100 ml, per L, per fl oz, per gal |
| Count | count, servings, sheets, pieces | count | per count, per 10 count, per 100 count |
The shelf price limit reverses the same equation. Starting from the best base-unit rate, it calculates the highest shelf price that another package size can have after the same discount, fee, and usable-amount assumptions.
| Input | Boundary | Effect |
|---|---|---|
| Price | Negative values are treated as zero. | A package needs a positive shelf price before it produces a valid unit-price row. |
| Size | Must be greater than zero. | Zero size produces a needs-size note instead of a comparable rate. |
| Pack count | Rounded to at least 1. | Multipacks multiply the printed package quantity. |
| Shared discount | Clamped from 0% through 100%. | The same percentage is applied to each package price. |
| Shared checkout fee | Negative values are treated as zero. | The same absolute fee is added to each option before unit price is calculated. |
| Usable amount | Clamped from 1% through 100%. | Lower usable quantity raises the unit price because the same cost is spread over less usable product. |
| Unit price decimals | Rounded from 2 through 6 decimal places. | Display precision changes, but the underlying comparison still uses numeric rates. |
Currency symbols change display and exports only. The arithmetic assumes every entered price is already in the same currency, so exchange rates, taxes that differ by item, loyalty rewards, and product-specific fees must be handled before entering the comparison.
Advanced Tips:
- Use Package A label and Package B label when comparing receipt names, quote lines, or shelf tags that would otherwise be easy to mix up.
- Keep Shared discount at 0% unless the same sale rate applies to both package choices.
- Use Shared checkout fee for a fee attached to each option, not for a mixed-cart delivery fee spread across many unrelated items.
- Lower Usable amount when spoilage, trimming, evaporation, or breakage means only part of the purchase will be used.
- Increase Unit price decimals for tiny unit rates, such as price per sheet, per fl oz, or per gram, where two decimals may hide the spread.
- Check Shelf Price Limits before buying a larger pack; it shows the highest shelf price that can match the current lower unit rate under the same assumptions.
Worked Examples:
Two jars with ounce labels
A 16 oz jar at 4.79 gives about 0.2994 per oz. A 28 oz jar at 7.99 gives about 0.2854 per oz. Unit Price Ledger marks the 28 oz jar as the lower normalized rate, while Buying Signals shows a spread of about 4.7%, which stays below the 8% material-gap cue.
Metric bags with expected waste
A 500 g bag at 6.00 and a 750 g bag at 8.50 compare at 1.20 and about 1.13 per 100 g when all of each bag is usable. With Usable amount set to 80%, the rates rise to about 1.50 and 1.42 per 100 g, and Buying Signals records that a waste factor has been applied.
Break-even shelf check
Using the 28 oz jar rate of about 0.2854 per oz, Shelf Price Limits shows that a 32 oz package would need to cost about 9.13 or less before discounts and fees to match the current lower rate. A higher shelf price may still be worth paying for quality or convenience, but it is not the lower unit-price choice.
Unit mismatch correction
A 16 oz jar and a 500 ml bottle cannot be compared directly. The summary shows Unit mismatch and Unit Price Ledger marks the volume row as Not comparable. Convert the label to a compatible unit only when you know the product-specific density, or compare two packages from the same measurement family.
FAQ:
Can I compare ounces with grams?
Yes. Ounces, pounds, grams, and kilograms are all weight units, so the calculator can normalize them to one weight target such as per oz, per lb, per 100 g, or per kg.
Why are fluid ounces and ounces not interchangeable?
Fluid ounces measure volume, while ounces measure weight. The comparison is blocked because converting between them requires density for the exact product, not a simple unit factor.
What does the 8% savings spread cue mean?
Buying Signals labels a savings spread of 8% or more as material. A smaller spread can still matter, but it is easier for quality, waste, brand preference, or checkout cost to outweigh it.
Should I include shipping or delivery fees?
Use Shared checkout fee only when each option carries the same fee on its own. Leave it at zero for normal shelf tags or when the fee belongs to a mixed cart rather than to either package choice.
Does the lowest unit price always mean I should buy it?
No. The lower rate answers only the price-per-usable-unit question. Storage space, freshness, product quality, upfront spend, and whether you will use the extra quantity can change the real purchase decision.
What should I fix when a row says Not comparable?
Check the selected package units first. Both packages must be weight, volume, or count before the calculator can name a lower unit price; otherwise, convert the package label outside the calculator with product-specific information.
Glossary:
- Unit price
- Price expressed per comparable amount, such as per oz, per 100 g, per L, or per count.
- Shelf price
- The displayed package price before optional shared discounts or checkout fees are applied.
- Effective price
- Shelf price after the shared discount and shared checkout fee are included.
- Normalized size
- Package quantity converted to the selected comparison unit after pack count and usable amount are applied.
- Usable amount
- The share of the purchased quantity expected to be usable before waste, spoilage, trimming, or evaporation.
- Measurement family
- A compatible group of units, such as weight, volume, or count.
- Break-even shelf price
- The highest shelf price another package size can have while matching the current lower unit rate.
References:
- NIST SP 1181 - Unit Pricing Guide - A Best Practice Approach to Unit Pricing (2025 Ed.), National Institute of Standards and Technology, July 9, 2025.
- Uniform Unit Pricing: Tools for Consumers to Fight Shrinkflation, National Institute of Standards and Technology.
- Unit prices for groceries, Australian Competition and Consumer Commission.