Two packages, one clear comparison
Grocery Unit Price Calculator — Online or In-Store
See the price per equal amount for two comparable packages from an online listing or a store shelf, alongside what each package costs.
To compare unit prices online, divide each package’s price by its size in the same unit — for example, price per 100 g or per fluid ounce. Convert first when one listing uses ounces and another uses grams, and compare weight only with weight and volume only with volume. Then look at the checkout cost too: a lower unit price can still mean paying more today, and delivery or service fees are not part of the unit price.
Use prices in the same currency and compare similar products. Weight can be compared with weight, volume with volume, and item counts with comparable item counts. Weight oz is not fluid oz.
See an example with online grocery prices
Two hypothetical online listings show the same dry ingredient: $4.20 for 14 oz and $5.60 for 20 oz. Enter the prices and package sizes as Options A and B, choosing oz (weight) for both. The calculator converts both amounts to the same measure: about $1.06 per 100 g for A and $0.99 per 100 g for B. B has the lower unit price, but costs $1.40 more at checkout. These are sample prices; this page does not fetch live store prices or check promotions, taxes or delivery fees.
Want to understand the comparison before you calculate? Read our step-by-step grocery unit-price guide.
Enter the price and size of both packages.
Your comparison
Option A
- Unit price
- Total checkout cost for one package
Option B
- Unit price
- Total checkout cost for one package
Unit prices are rounded for display. A lower unit price does not mean a lower checkout cost, better quality or the right package for you. Consider the amount you will use.
Calculation stays in this page. No product names are requested, and no prices or sizes are saved, submitted or sent to analytics.
Frequently asked questions
Why don’t online grocery listings always show a unit price?
Some online listings do not show a price per unit, and a multipack may be priced per pack rather than per item. When it is missing, divide the price by the total amount in the listing yourself or enter both listings in the calculator.
Can I compare ounces with fluid ounces?
No. An ounce (oz) measures weight and a fluid ounce (fl oz) measures volume. Compare weight with weight and volume with volume; the calculator keeps the two separate.
How do I compare packs listed by count, like 12 eggs vs 18 eggs?
Use “items” for both options so the result is a price per item. Only compare counts when the items are similar in size.
Is the package with the lower unit price always the better buy?
Not always. It may cost more at checkout, and it only saves money if you will use the extra amount before it spoils.
Does the calculator use live store prices?
No. You type the prices and sizes yourself; the page does not connect to any retailer, and nothing you enter is saved or sent.
