COST PER UNIT CALCULATOR

Cost Per Unit Calculator

Compare two products and instantly see which is the better deal per unit. Works for groceries, cleaning supplies, paper goods, anything sold in different sizes at different prices. The bigger size isn’t always cheaper — this calculator tells you which one actually is. 25 currencies, no signup.

HOW THIS CALCULATOR WORKS

Enter the price and size of two products you’re comparing. The calculator divides each price by its size to get the cost per unit, then shows you which is cheaper per unit and by how much. Use any unit you like (ounces, milliliters, grams, count, sheets) — just make sure both products use the same one. Works in any store, online or in-person.

Currency
PRODUCT A
$
What you’d pay at the register.
In any unit (oz, ml, g, sheets, count) — both products must use the same unit.
PRODUCT B
$
What you’d pay at the register.
Same unit as Product A.
Enter the price and size of two products, then click Calculate to see which is the better deal per unit.

How cost per unit is calculated

The math is straightforward: divide the total price by the total quantity to get the price per unit. Compare two products by their per-unit prices, and the cheaper one is the better deal. For a $5 bottle of shampoo containing 12 ounces: $5 ÷ 12 oz = $0.4167 per ounce. For a $7 bottle of the same shampoo with 20 ounces: $7 ÷ 20 oz = $0.35 per ounce. The 20-ounce bottle costs $0.0667 less per ounce, or about 16% cheaper per unit.

That percentage is the part that matters when comparing across very different product sizes. A 16% per-unit savings on shampoo you’ll use anyway adds up: over the typical 6 months a household uses a bottle of shampoo, that’s a few dollars in your pocket. Across a full grocery cart with 20-30 items where this same dynamic plays out, smart per-unit comparison shopping saves serious money — often 10-15% of total grocery spending without changing what you buy.

Why bigger isn’t always cheaper

Most shoppers assume bulk buying is always cheaper per unit. Often it is — bulk packaging genuinely costs less per item because of less material, less labor per unit, and better shipping density. But not always. Stores and brands deliberately use a few pricing tactics that exploit the “bulk is cheaper” assumption:

The decoy size

A common pattern: the medium size has an absurd per-unit price, making the large size look like a great deal compared to it — but the small size is actually cheaper per unit than both. The calculator helps you ignore the framing and just compare two specific options on per-unit cost.

Promotional small sizes

Smaller packages often run sales and coupons that bigger sizes don’t qualify for. A $2.99 small bottle of shampoo on sale at 30% off ($2.09) routinely beats the everyday-price large bottle on cost-per-ounce, even though “common sense” says the large is cheaper. Run the math before assuming.

“Family size” markup

Products specifically labeled “family size” or “value pack” sometimes carry a premium over their regular size on a per-unit basis. The packaging signals “good deal” but the per-unit price tells a different story. This is most common with cereal, paper goods, and snacks.

Single-use convenience pricing

Individually wrapped items (snacks, drinks, single-serving anything) routinely cost 2-4x as much per unit as the bulk equivalent. Convenience genuinely has value — sometimes that premium is worth it — but knowing it’s a premium lets you decide deliberately rather than by default.

Common comparison scenarios

Groceries and household staples

The classic case. Liquid soap, shampoo, dish detergent, laundry detergent, coffee, sugar, flour, oil, vinegar — anything sold in multiple sizes. Just enter price and size for both options and see which actually wins. The “size” can be weight (oz, g, lb, kg) or volume (ml, fl oz, l) — doesn’t matter as long as both products use the same unit.

Paper goods

Toilet paper, paper towels, tissues. The “size” here is usually number of sheets per roll or square footage. Be careful: a “double roll” pack of 12 isn’t equivalent to a regular roll pack of 24 — count the sheets, not the rolls. Many manufacturers exploit this with ambiguous labeling. Use sheet count or square feet for true comparison.

Wine, beer, and spirits

Single bottles vs cases or multipacks. The case is usually cheaper per bottle, but not always — high-volume wines have varying per-bottle pricing depending on the retailer’s bulk discount agreements with the producer. Compare $X per 750ml bottle vs $Y per case ÷ number of bottles.

Pharmacy items

Over-the-counter medicine, vitamins, supplements. Pill counts and dose strengths matter — a 30-count bottle at 500mg is not the same product as a 60-count bottle at 250mg, even at the same total price. Use mg × count to get total active ingredient, then divide price by that.

Online shopping with shipping

Add shipping to each item’s price before entering. A “cheaper” online item with high shipping can lose to a slightly more expensive one with free shipping. Always include all-in cost (item + shipping + tax if asymmetric) as the “price” input.

Cleaning products with concentration variation

Concentrated vs ready-to-use formulas. A 24 oz bottle of concentrated cleaner that makes 10 bottles of dilute solution is competing with a 24 oz bottle of ready-to-use cleaner. Compare on “finished cleaning solution” basis — convert both to the same equivalent volume before entering size.

Matching units across products

The calculator doesn’t care what unit you use — only that both products use the same one. If Product A is in ounces and Product B is in grams, convert one to the other before entering. Common conversions for shopping:

  • Weight: 1 oz = 28.35 g, 1 lb = 16 oz = 453.6 g, 1 kg = 35.3 oz = 2.2 lb
  • Volume: 1 fl oz = 29.57 ml, 1 cup = 8 fl oz = 237 ml, 1 quart = 32 fl oz = 946 ml, 1 liter = 33.8 fl oz
  • Length / area: 1 sq ft = 0.093 m², 1 yard = 36 inches = 0.914 m
  • Count: just match — “rolls” vs “rolls” or “sheets” vs “sheets,” not one of each

The calculator just divides price by size — units don’t appear in the input. The unit you choose only affects how you interpret the resulting per-unit price. $0.35 “per ounce” or $0.0123 “per gram” describes the same shampoo. Use whichever your brain handles more easily.

Cost Per Unit Calculator FAQ

What’s the difference between “per unit” and “per ounce” or “per gram”?

None — they’re the same thing in different units. “Per unit” is shorthand for “per [whatever unit you used].” The calculator doesn’t ask which unit because the math is identical regardless. Just remember your unit when reading the result so the dollars-per-thing makes sense to you.

How big a difference matters?

Mathematically any difference matters. Practically, a 1-3% per-unit difference between two options of the same product is below the noise floor of weekly grocery shopping — pick whichever fits your storage or freshness preference and don’t sweat it. 5-15% differences are worth optimizing for on items you buy frequently. 20%+ differences usually indicate one option is being deliberately overpriced (or the other is on a real sale) — always take the cheaper one unless there’s a quality difference.

Should I always buy the cheaper-per-unit option?

Not necessarily. Buy the cheaper-per-unit option IF you’ll actually use the larger quantity before it expires, and you have storage for it, and the upfront price isn’t a problem for your budget. A bulk pack of milk that expires before you finish drinking it costs more per used ounce than a smaller pack you fully consume. Same for any perishable.

Does the calculator account for sales or coupons?

No — enter the actual price you’ll pay (post-coupon, post-discount). If Product A is $5 with a $1 coupon, enter $4. If Product B is “30% off $10,” enter $7. The calculator works on whatever prices you give it.

What if the two products are slightly different in quality?

Per-unit cost comparison assumes the products are equivalent in quality. If they’re not (premium brand vs store brand, organic vs conventional, etc.), the cheaper option may not be the better value for you. The calculator helps you isolate the pricing question; the quality question is yours to decide separately.

How do I compare three or more products?

Run the calculator twice — first comparing A vs B, then comparing the winner vs C. Or just calculate per-unit cost for each one mentally (price ÷ size for each) and pick the lowest. The calculator’s value is showing the percentage difference, which becomes less critical as the number of options grows — at that point you just want the cheapest per unit.

⚠️ DISCLAIMER

This cost per unit calculator is an educational utility tool for everyday shopping math. Last reviewed: May 2026. See full disclosure.