HandyTools Hub

Unit Price Calculator

Compare prices and find the best deal

Item A

Item B

Unit price is the price of one measurable unit — one gram, one ounce, one litre, one item. Dividing price by quantity strips away packaging tricks and lets two differently sized products be compared honestly. This calculator takes two products, computes each unit price, highlights the cheaper one, and reports the savings as a percentage.

How Unit Price Is Calculated

For each item the calculator performs one division: unit price = price ÷ quantity. It does not convert the unit, normalize packaging, or adjust for anything else. The result is displayed with four decimal places, and the two unit prices are compared to find the lower one. A bar chart scales each bar to the larger unit price, so the visual gap matches the numeric one.

Supported units are kilograms, grams, pounds, ounces, litres, millilitres, gallons, each, dozen, and pack. Quantity accepts decimals, so 2.5 kg or 0.75 L is fine.

Worked Example: Soda Packs

A 12-pack costs $6.99 and a 24-pack costs $11.49.

  • 12-pack: 6.99 ÷ 12 = 0.5825 per can.
  • 24-pack: 11.49 ÷ 24 = 0.47875 per can.
  • Savings: (0.5825 − 0.47875) ÷ 0.5825 = 0.1781, or 17.81% in favour of the 24-pack.

That is a large enough gap that buying two 12-packs would cost 2 × 6.99 = 13.98, about $2.49 more than the single 24-pack for the same 24 cans. The unit-price view makes the bulk discount visible without mental arithmetic.

The Unit-Conversion Trap

The single most common mistake is entering two different units. If item A is $5.00 for 1 kg and item B is $3.00 for 500 g, the calculator returns 5.0000 per kg and 0.0060 per g and declares item B the winner — a comparison that is meaningless because kilograms and grams are different scales. Normalise first:

  • Convert both to the smaller unit. 1 kg becomes 1000 g, so item A is $5.00 / 1000 g = 0.0050 per g versus item B at $3.00 / 500 g = 0.0060 per g. Now item A wins, saving (0.0060 − 0.0050) ÷ 0.0060 = 16.67%.
  • Or convert both to the larger unit. Item B is 0.5 kg, so $3.00 / 0.5 = 6.00 per kg versus 5.00, and item A wins again.

The same discipline applies to count units: a “pack” of four versus “each” are not interchangeable until you express both as the same thing.

Reading the Savings Percentage

The percentage is always relative to the more expensive option, so it answers “how much would I save by choosing the cheaper one?” If the higher unit price is 0.9000 and the lower is 0.7500, the saving is (0.9 − 0.75) ÷ 0.9 = 16.67%. A 50% saving means the cheaper unit price is exactly half the dearer one; you will not see a saving above 100%, because the cheaper price is always the denominator’s larger counterpart. Equal unit prices produce 0.00%.

It helps to translate the percentage into money. A 17.81% saving on an $11.49 pack is about 0.1781 × 11.49 = 2.05, so choosing the dearer option would cost roughly $2.05 more across the same 24 cans. For large-volume buying such as office supplies or event catering, even a small percentage gap becomes a meaningful budget line, which is where unit-price thinking pays off most.

Grocery Scenarios That Fool Shoppers

  • Shrinkflation. A box quietly drops from 500 g to 450 g at the same price; per-100-g maths reveals a 10% increase. Compare the current package to an older receipt or a competitor, not to your memory.
  • Per roll versus per sheet. A 12-roll pack can win on price per roll and still lose on price per sheet if the rolls are thinner or shorter. Choose the unit that matches the real consumption.
  • “Buy two, save” promotions. Enter the promotional total as the price and the combined quantity as the quantity; sometimes the multi-buy is no cheaper per unit than a single item.
  • Concentrates and dilution. A cheaper detergent per litre may require a larger dose, so compare per recommended load, not per litre, by treating a load as the unit.
  • Different pack formats. 473 mL, 16 oz, and 1 L bottles of the same drink need one common unit before any comparison is valid.

Accuracy and Limits

The calculator compares exactly two items, supports the ten listed units, and performs no conversion, no tax, no shipping, and no coupon handling. Its arithmetic is exact division rounded for display, so the verdict can differ from the displayed four-decimal values by a hair in rare ties. It is a comparison aid, not an accounting tool: for a formal price-per-unit label, follow your jurisdiction’s rounding rules.

Quantity has a minimum of 0.01 and an empty quantity falls back to 1, so the tool never divides by zero in normal use; the underlying formula would return Infinity for a zero quantity, but the interface makes that state unreachable, and negative prices are blocked by the number inputs.

Frequently Asked Questions

Does the calculator convert between kilograms and grams for me?

No. It divides the price by the quantity you type and labels the result with the unit you chose, but it never converts units. Enter both items in the same unit, or convert one yourself first: 1 kg is 1000 g, 1 L is 1000 mL, and 1 lb is 16 oz.

How is the savings percentage calculated?

It compares the two unit prices and expresses the gap relative to the more expensive one: (higher − lower) ÷ higher × 100, rounded to two decimals. If item A is 0.5825 per unit and item B is 0.47875, the saving is (0.5825 − 0.47875) ÷ 0.5825 = 17.81%.

What happens if both items cost exactly the same per unit?

The verdict reads that the items are the same, and the savings figure is 0.00%. The first card is still highlighted because the comparison uses a less-than-or-equal test, but there is no practical difference, so choose on quality or convenience instead.

Should I use each, dozen, or pack for a multipack?

Pick the unit that reflects what you actually compare. Use each when counting individual items, dozen when the pack is sold by the dozen, and pack when the pack itself is the purchase unit. Whichever you choose, apply the same unit to both items or the comparison will be misleading.

Why is the unit price shown with four decimals?

Small quantities produce very small prices — $4.50 for 500 g is $0.009 per gram — so four decimals keeps meaningful differences visible. It also means the displayed number is a rounded view, while the savings percentage is computed from the fuller underlying values.

Does it factor in shipping, coupons, or loyalty discounts?

No. It compares the two prices you enter. If shipping is not free or a coupon changes the effective cost, add those into the price field before comparing, or the cheaper sticker price may not be the cheaper delivered price.

Reviewed by the HandyTools Hub team · Last updated