Unit Price Calculator — Which Is the Better Deal?

Compare package sizes by price per unit — per 100 g, ounce, liter or item — and see which one is the better deal and by how much.

Runs in your browserUpdated
$
$
$
$
Result
—

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Unit Price Calculator

  1. Pick the unit the sizes are in.
  2. Enter the price and size of each product.
  3. The cheapest per unit is highlighted with the saving.

Why unit price matters

Bigger packs are usually — but not always — cheaper per unit, and offers like “3 for $10” can hide a worse deal. Dividing price by size puts every option on the same scale. Watch out for different units on shelf labels (per 100 g vs per kg).

Also searched as: price per ounce calculator, price comparison calculator, which is cheaper, cost per unit, better buy calculator.

Tools that pair well with the Unit Price Calculator

  • Discount Calculator — Find the sale price and how much you save for any percent or amount off.
  • Percentage Calculator — Seven everyday percentage calculations on one page.
  • Split Bill Calculator — Split a restaurant bill or shared expense — with tip and tax — evenly or by custom shares, and copy who owes what.
  • Sales Tax Calculator — Work out the sales tax and total for a purchase — or the price before tax from a receipt — at your combined state and local rate.

Frequently asked questions

Is the bigger size always cheaper?
No. Promotions on smaller packs often make them cheaper per unit, and food waste can make a bulk buy cost more in practice.
Can I compare ounces with grams?
Convert first with the Unit Converter, then compare in one unit.
Is anything I enter saved or sent?
No. The calculation runs in your browser. Your last inputs are remembered on this device only, so the page opens where you left off.
Can I install Unit Price Calculator as a web app and use it offline?
Yes. Unit Price Calculator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools