Unit Price Calculator

$
units
$
units
Formula
Unit Price = Price / Quantity

Divide the price of each item by its quantity (in the same units) to get the price per unit. The item with the lower price per unit is the better value. The savings percentage shows how much cheaper the better option is relative to the more expensive one.

Loading calculator…
TL;DR

Enter the price and quantity of two items to see which is cheaper per unit and how much you save.

Compare two products by price and quantity to find the better value instantly. See the exact cost per unit for each item, how much you save per 100 units, and which product gives you more for your money. Works for groceries, cleaning supplies, and any packaged goods.

Supermarkets are designed to make comparisons hard. The 500g pack sits next to the 1kg pack, prices differ, and the shelf tag unit price is easy to miss. A unit price calculator cuts through that by reducing every product to a single number: cost per unit. The math is simple division, but doing it mentally for several products in a busy aisle is slow and error-prone. This calculator handles two items at once and immediately tells you which is cheaper per unit, how much you save per 100 units, and by what percentage. Unit price comparisons are most useful for shelf-stable items where you can buy any size without worrying about waste. The bigger pack is usually (but not always) cheaper per unit. Some stores charge a premium for bulk sizes when stock is low. Always check.

A familiar scenario

Walking through an example

Example: 500g cereal at $2.99 vs 1kg cereal at $4.49

  1. 1Item 1: $2.99 for 500g, unit price = $2.99 / 500 = $0.00598 per gram
  2. 2Item 2: $4.49 for 1000g, unit price = $4.49 / 1000 = $0.00449 per gram
  3. 3Difference: $0.00598 - $0.00449 = $0.00149 per gram
  4. 4Savings per 100g: $0.00149 x 100 = $0.149
  5. 5Percentage cheaper: (0.00149 / 0.00598) x 100 = 24.9%
Result: Item 2 (1kg) is the better value, 24.9% cheaper per gram.

When this comes up

Where you would actually use this

  • Grocery shopping: Compare different pack sizes of the same product: pasta, rice, canned goods, cleaning products. The larger package is usually cheaper per unit, but not always. This calculator confirms it in seconds.
  • Brand vs store brand comparison: Name brands and store brands often come in different sizes. A direct price comparison is misleading. Divide both by quantity to see whether the price difference per unit justifies a brand preference.
  • Online vs in-store pricing: Bulk packs online often appear expensive at first glance. Reduce both prices to cost per unit to see whether the bulk purchase is actually worth it, including any shipping costs.
  • Wholesale club evaluation: Membership warehouse stores sell large quantities at potentially lower unit prices. Check a few items you regularly buy to see whether the per-unit savings justify the annual membership fee.

Where it trips people up

Things people get wrong

  • Comparing different units: Entering 500 grams for Item 1 and 1 pound for Item 2 makes the unit price comparison meaningless. Make sure both quantities use the same unit (both in grams, both in ounces, etc.) before comparing.
  • Ignoring perishables: A larger pack might be cheaper per unit but more than you can use before it spoils. Factor in likely waste. The cheapest unit price on a product you throw half of is not actually cheaper.
  • Forgetting store loyalty discounts: If one item is discounted only for cardholders or loyalty members, use the price you actually pay. Comparing a loyalty price to a regular price skews the result.
  • Assuming the bigger pack is always better: Warehouse clubs and bulk retailers sometimes charge a higher unit price than a regular supermarket on sale. Always calculate rather than assume size equals value.

The math

The formula, formally

  1. 1Enter the price of Item 1 and how many units (grams, ounces, sheets, or any consistent unit) it contains.
  2. 2Add a label for Item 1 so results are easy to read (for example, 500g or 12-pack).
  3. 3Repeat for Item 2.
  4. 4The calculator divides each price by its quantity to get a price per unit.
  5. 5It compares the two unit prices and flags the cheaper option.
  6. 6Savings per 100 units and the percentage difference let you judge whether the better deal is worth a larger upfront purchase.

Terms to know

Glossary

TermDefinition
Unit priceThe cost of a single unit of a product, calculated by dividing the total price by the quantity. Retailers in many countries are required to display unit prices on shelf tags, though the units used vary.
Price elasticityHow much consumer demand changes when the price changes. Products with low elasticity (basics like bread or milk) see little demand change with price increases. Understanding this helps you decide when to buy in bulk.
ShrinkflationWhen manufacturers reduce the size or quantity of a product without lowering the price, effectively increasing the unit price. Comparing unit prices across purchases over time can reveal shrinkflation.
Loss leader pricingA retail strategy where one item is priced at or below cost to attract shoppers. Loss leaders often appear as great unit-price deals but are limited to specific sizes or quantities.

Expert advice

Pro tips

  • Use the same base unit consistently: If you shop in metric, stick to grams and milliliters for all comparisons. Mixing ounces and grams in one session introduces conversion errors. Pick one system for a shopping trip.
  • Screenshot the result for in-store use: Calculate at home when you know what you need, then screenshot the result. In a noisy store, reading your notes is faster than recalculating on a phone with a shopping cart in your hands.
  • Factor in coupons before comparing: Subtract any coupon or instant discount from the price before entering it. A coupon on the smaller pack might make it the better deal even if the larger pack has a lower base unit price.
  • Check the shelf label before trusting your memory: Prices change. If you memorized the price from a previous trip and it has since increased, your comparison will be wrong. Always read the current shelf tag.

Common questions

Frequently asked questions

For related calculations, try the Discount Calculator, Tip Calculator, or Fuel Cost Calculator. Browse all Calculator Online calculators for the full catalog.

Methodology

This calculator uses the standard unit price calculator formula. Results match those from established financial, scientific, and health references.

Reviewed by

Calculator Online Editorial Team. All formulas verified against authoritative sources before publication.

Last updated

2026-05-24

Sources & References