Unit Price Calculator

Find the unit price for one package, or compare up to 5 packages or multipacks. Check prices per oz, lb, 100 g or item and total purchase costs.

Find a unit price or compare packages

Compare the same quantity. Use one currency.

Item A

Price for the whole set.

Net weight in one pack.

Item B

Price for the whole set.

Net weight in one pack.

Multipacks, discounts and names

Use the same currency for all prices. No currency conversion is performed. Prices support up to two decimal places.

Item A

Up to 80 characters. Avoid personal information in saved comparisons.

Use 1 for a single pack.

1 × … oz; price for whole set.

Item B

Up to 80 characters. Avoid personal information in saved comparisons.

Use 1 for a single pack.

1 × … oz; price for whole set.

Estimated price after discount; store rounding may differ.

Result unit only; package quantities and prices stay as entered.

Preview · select Calculate to confirm

Complete every item to compare. Fill or remove an added item.

Save comparison on this device

Save stores the task and all item inputs in this browser, including items hidden in Find a unit price. Later changes are not saved automatically. Results are not saved. Reset keeps the saved comparison; Undo Reset lasts until the next edit or reload.

Buy enough whole packages

Your result

Enter your values and select Calculate, or use Try example.

Method & examplesReviewed · Sources

How to compare packages

Price per oz or lb · Multipacks · Unit savings vs checkout cost · Price per 100 g/kg

Choose Find a unit price to calculate Item A alone, or keep Compare packages for two to five options. Switching tasks keeps your inputs; hidden items do not affect the single-item result.

Enter each option’s total price, pack count, size per pack and unit. Price for whole set is the default. In Multipack details, choose Price per pack to multiply the entered price by pack count. Changing the price basis clears that option’s price; enter it again in the selected basis. For one bag, keep pack count at 1. For six 12 oz bags, enter 6 packs and size 12 oz.

Use the same currency for all prices. No currency conversion is performed. Prices support up to two decimal places.

Choose Item count in Compare by to compare counted products. Two packs of six items means pack count 2 and items per pack 6: 12 items altogether. For a single 12-item pack, enter 1 and 12. Count each item once.

The preview updates as you enter valid packages. Select Calculate to confirm the result and enable Copy. Choose an Example scenario, then Try example to fill the form and preview without confirming a result. Reset clears your prices and quantities.

Buying enough whole packages

Enable I need a specific quantity to enter an amount and a compatible unit. Each option is purchased separately in whole packages or sets: sets = ceil(required quantity ÷ quantity in one set). Multipacks cannot be split, even when their price is entered per pack. The result lists the checkout cost, total quantity bought and extra quantity for each option. The lowest unit price does not always give the lowest checkout cost.

Discounts repeat for each package/set using the existing price basis; one-time basket coupons are not included. Planning is off by default. Edits clear the confirmed result; select Calculate again before copying. Changing measurement type clears the requirement. Reset clears it, Undo Reset restores it, and explicitly saving/restoring a comparison includes this optional requirement. The required amount is limited to 1,000,000; the result rejects more than 1,000,000 sets or a checkout total above 1,000,000.

How the unit price is calculated

Total quantity = pack count × size per pack

Unit price = total price ÷ total quantity in the comparison unit

Quantities use the selected Price per unit, initially Item A’s unit. Choose 100 g, kg, oz, g or lb for mass, or item for counts. This selection does not change the entered quantities or purchase prices. Mass units can be mixed; item counts can only be compared with item counts. Choose Volume for mL, L or explicitly US fl oz. Mass, volume and item counts cannot be mixed. Changing measurement type requires confirmation before sizes are cleared.

The percentage compares B with A: (B unit price − A unit price) ÷ A unit price × 100. Negative means B costs less; positive means B costs more. If A is free, this percentage is undefined. Equal unit prices are a tie, even when the purchase totals differ.

Price per ounce: compare oz and lb

Prices in these examples are invented and use the same currency.

Choose Price per ounce: oz vs lb in the form. Item A is one 12 oz bag for 3.00 in your currency. Item B is one 1 lb bag for 3.60. Since 1 lb is 16 oz, A costs 0.25 per oz and B costs 0.225 per oz. B costs 10% less per ounce, but buying its larger bag costs 0.60 more.

To use this as a price per ounce calculator, select oz in Price per. Both rates will use ounces even if Item B is entered in pounds, grams or kilograms. For fluid ounces choose Volume and US fl oz.

Price per pound: compare lb and oz

Select lb in Price per to show the ounce example above per pound. The 12 oz bag for 3.00 costs 4.00 per lb; the 1 lb bag for 3.60 costs 3.60 per lb. The second bag still costs 10% less per unit and 0.60 more to buy.

For one package, choose Find a unit price. A 16 oz package for 3.60 costs 0.225 per oz, or 3.60 per lb when you change Price per to lb. A single result has no savings or winner until you compare another option.

Price per fluid ounce

Choose Volume and US fl oz to compare liquid packages. Fluid ounces measure volume; weight ounces measure mass. Imperial fluid ounces are not supported. The existing Equal price: US fl oz vs mL example converts quantities exactly before comparing their rates.

Metric examples: grams, kilograms, millilitres and litres

Price per 100 g and kg

For mass, compare 500 g for 3.00 with 750 g for 4.20. Choose 100 g in Price per: the rates are 0.60 and 0.56 per 100 g. The larger pack costs about 6.67% less per unit, but 1.20 more to buy. Choosing kg shows the same rates as 6.00 and 5.60 per kg.

Price per litre and a worked conversion to 100 mL

For volume, compare 750 mL for 3.00 with 1 L for 3.50. Choose L in Price per: the rates are 4.00 and 3.50 per L. The second option costs 12.5% less per unit, but 0.50 more to buy. These rates equal 0.40 and 0.35 per 100 mL; that is a worked conversion, not a separate Price per option. Use the same currency throughout each comparison.

Multipack vs single pack

Choose Multipack vs single pack. For A, enter a total price of 6.00, pack count 2, size 6, and unit items. For B, enter 7.20, 1 pack, size 12, and items. Each option contains 12 items. A costs 0.50 per item and B costs 0.60 per item. Buying A saves 1.20 for the same quantity.

In this whole-set example, the total price covers all packs. Entering 12 as both the pack count and the items per pack would mean 144 items.

Lower unit price, higher purchase total

Choose Lower unit price, higher purchase total. A is one 16 oz package for 4.00. B is one 32 oz package for 6.00. A costs 0.25 per oz; B costs 0.1875 per oz, or 25% less per ounce. B still adds 2.00 to the purchase total because you buy twice as much.

The unit rate compares the same quantity from each option. It does not promise a smaller checkout total. If you will use only 16 oz, consider whether the remaining amount will go to waste. Use None, Percent off or Amount off in Multipack details and discounts. The discount applies to the entered price basis, rounded HALF_UP to cents before multiplying pack count. Estimated price after discount; store rounding may differ.

Assumptions and limits

No tax, shipping, fee or discount is added automatically; include relevant charges consistently in the entered prices. Compare products of similar quality and think about how much you will use. A lower unit price can still mean buying more than you need or wasting part of the package.

Mass conversion uses international avoirdupois units: 1 lb = 16 oz = 453.59237 g and 1 kg = 1000 g. The exact pound conversion is specified in NIST footnote 22; the NIST weight table confirms 16 ounces per pound. Troy ounces are not supported. US fluid ounces measure volume: 1 US fl oz = 29.5735295625 mL exactly; 1 L = 1000 mL. Imperial fluid ounces, density conversions and nutrition-label 30 mL approximations are not supported.

Entered prices and computed purchase totals may be 0 to 1,000,000 in your currency with two decimal places. Pack counts must be whole numbers from 1 to 100,000. Sizes must be greater than zero and at most 1,000,000, with up to six decimal places for mass or twelve for volume; items must be whole numbers. Zero quantities are invalid. Prices accept 3.60, 3,60 or $3.60. For thousands, enter 1234 or 1,234.00; an ambiguous 1,234 needs clarification. One leading or trailing $, €, £ or ¥ symbol is treated as a label, without currency conversion. Sizes use decimal points.

Ranking uses exact normalized rates after rounding the discounted price on its selected basis. Unit prices and their differences show up to six decimal places; smaller positive values are shown as “less than 0.000001.” Percentage differences are rounded to two decimals, with tiny positive magnitudes identified as less than 0.01%. Nearly equal displayed rates may still have a winner.

Collecting Halloween buckets? The Boo Bucket Calculator totals purchases and travel, then shows spending per different design.

More items and saved comparisons

Add item compares up to five options. Optional names stay with each item when another is removed. A blank or invalid item blocks the overall comparison; fill it or remove it. Exact equal rates share the lowest rank, while prices that only look equal after display rounding do not.

Save comparison stores one snapshot on this device only, including the task and all item inputs, even items hidden in Find a unit price. Restore saved returns to that task; older saved comparisons open Compare packages. Later changes are not saved automatically. Restore saved never runs automatically; replacing changed inputs asks for confirmation. Reset returns to empty Compare packages and keeps saved data; Undo Reset restores the previous task and working inputs until the next edit or reload. Delete saved keeps the current form. Avoid personal information in product names.

Switching volume units preserves the original physical quantity until you manually edit size. A converted display may be rounded, but the comparison uses the exact original quantity.

Convert a quantity with the Weight Converter or Volume Converter before comparing prices.

Sources and model

Method version 1.2.0. Reviewed .

Maintained by Aleksandr Pervukhin. Report a calculation error.