Finance calculators

Unit Price Calculator

Updated Sep 23, 2026 By Infinity Calculator
Rate Formulas
Measurement Mode
Every item is converted to this unit so different package units compare fairly.
Clear All wipes every label, quantity and price and returns the calculator to two blank items. You will be asked to click once more to confirm.
Comparison Results
Unit price comparison for each item, including savings versus the best value item
Item Total Cost Effective Quantity Price per unit Savings vs. Best
Unit Price Comparison
Step-by-Step Solution

Introduction

The Unit Price Calculator shows the real cost of what you buy. Stores list prices in different sizes, so a big box and a small bag are hard to compare. This tool breaks each price down to a single unit and tells you which one is the better deal.

Just type in how many packages you are buying, the size of each one, and the total cost. You can compare two items or more. The calculator works with items, weight, volume, length, area, and time. It even mixes units, so you can compare ounces to grams or liters to gallons without doing any conversions yourself.

The results show a price per unit for each item, a chart, and a green "Best Value" tag on the cheapest choice. They also show how much more the other items cost, in dollars and in percent. A step-by-step section shows the math so you can see exactly how the unit price was found.

Use it while you shop for food, cleaning supplies, paper goods, fabric, flooring, or any service billed by the hour. Bigger packages are not always cheaper. This calculator shows which one truly costs less per unit, so you save money on every trip.

How to use our Unit Price Calculator

Enter the size and price of each product you want to compare. The calculator shows the price per unit for each item, marks the best value, and shows how much more the other items cost.

Measurement Mode: Pick how the product is sold: Items, Weight, Volume, Length, Area, or Time. This sets which units you can choose below.

Item label: Type a name for the product, like "Brand A Oats." This name shows up in the results table and chart.

Items purchased: Enter how many packages you are buying, such as 1 box or a 2-pack deal.

Units per item: Enter the size printed on one package, like 32 for a 32 oz box or 500 for a 500 g bag.

Unit of measure: Choose the unit that matches the package size you typed, such as oz, g, mL, or ft.

Total cost: Enter the full price you pay for all the packages you listed.

Show price per: Choose the unit you want all prices converted to, so items in different units compare fairly.

Add Item: Click this to compare more than two products. Click Remove on a card to take one out.

Calculate: Click to update your results. Click Clear All twice to wipe every entry and start over.

What Is a Unit Price?

A unit price is the cost of one single unit of a product: one ounce, one gram, one liter, one foot, or one piece. Store shelf tags often show it in small print. It is the fastest way to tell which package is really the better deal, because it strips away package size and brand tricks.

Why Unit Price Matters When You Shop

A bigger box is not always cheaper. A "sale" price is not always a saving. Two items can look close in price but hold very different amounts. When you break each one down to the price per unit, the real winner shows up right away.

How Unit Price Is Found

The math is simple:

Unit Price = Total Cost ÷ Total Units

Total units means how many packs you buy times the amount inside each pack. Example: you buy 2 bags, each holding 500 grams, for $5.29. That is 1,000 grams total. $5.29 ÷ 1,000 = $0.0053 per gram.

Comparing Different Units

Sometimes one product is listed in ounces and another in grams. You cannot compare those numbers until both use the same unit. Converting them first (grams to ounces, milliliters to fluid ounces, feet to meters) makes the comparison fair and honest.

Ways People Use Unit Pricing

  • Groceries: cereal, rice, coffee, meat, and drinks by weight or volume.
  • Household goods: paper towels, soap, and detergent by sheet, ounce, or load.
  • Building supplies: flooring, fabric, wire, and lumber by foot or square foot.
  • Subscriptions and services: cost per day, month, or year of a plan.

Smart Shopping Tips

  • Bulk usually costs less per unit, but only if you use it all before it spoils.
  • Watch for shrinkflation, where the price stays the same but the package gets smaller, so the unit price goes up.
  • Check coupons and club prices after you find the unit price, since they can flip the answer.
  • A slightly higher unit price can still be the right buy if you need less, have little storage, or want less waste.

Knowing the price per unit turns guessing into a clear choice. Over a year of shopping, those small savings on each item add up to real money.


Formulas used

Effective quantity (package unit)
Q_{\text{eff}} = n_{\text{items}} \times u_{\text{per item}}
Unit conversion to output unit
Q_{\text{out}} = Q_{\text{eff}} \times \frac{f_{\text{in}}}{f_{\text{out}}}
Unit price
P_{\text{unit}} = \frac{C_{\text{total}}}{Q_{\text{out}}}
Extra cost per unit vs. best value
\Delta P = P_{\text{unit}} - P_{\text{best}}
Percent more expensive than best value
\%_{\text{more}} = \frac{P_{\text{unit}} - P_{\text{best}}}{P_{\text{best}}} \times 100
Percent saving of best vs. worst item
\%_{\text{saved}} = \frac{P_{\text{worst}} - P_{\text{best}}}{P_{\text{worst}}} \times 100

Frequently asked questions

Are stores required to show unit prices on shelf tags?

In the United States there is no national law. Only some states, such as New York, Massachusetts, Connecticut, New Jersey, Oregon, and Rhode Island, require unit price labels, and rules differ by store size.

In the UK and the European Union, unit pricing is required on most packaged food and household goods. If the tag is missing or hard to read, work out the price per unit yourself.

Why is the unit price on the shelf tag different from the one I work out?

Shelf tags often use a different unit. A tag may show price per 100 sheets, per 100 grams, or per quart while you are thinking in ounces or rolls.

Tags can also be out of date, or show the regular price instead of the sale price. Coupons, club discounts, and bonus packs are almost never included in the printed unit price.

Is buying in bulk always cheaper per unit?

No. Bigger packs usually cost less per unit, but not always. Small sizes on sale, with a coupon, or in a store-brand version can beat the big box.

Bulk also stops being a deal if food spoils, a product dries out, or you use more just because you have plenty. Only count what you actually use.

How do you compare toilet paper or paper towel prices?

Ignore words like mega, double, and jumbo, since brands define them differently. Compare price per sheet or price per square foot instead.

Use the sheet count and sheet size printed on the package. Formula: total price ÷ (rolls × sheets per roll) = price per sheet.

What is the difference between ounces and fluid ounces when comparing prices?

Ounces (oz) measure weight. Fluid ounces (fl oz) measure volume, or how much space something fills. They are not the same.

A 16 fl oz bottle of oil does not weigh 16 oz. Only compare weight to weight and volume to volume, or the price per unit will be wrong.

How do you compare concentrated products to ready-to-use ones?

Compare price per use, not price per ounce. A small bottle of concentrate can clean far more than a big bottle of pre-mixed spray.

For detergent, use price per load: total price ÷ loads listed on the label. For concentrate you dilute, count how many finished bottles or servings it makes.

How do I figure out cost per serving?

Divide the total price by the number of servings on the nutrition label. A $4.49 box with 30 servings is about $0.15 per serving.

Cost per serving is helpful for cereal, snacks, protein powder, and drinks, since serving size matters more than package weight when you plan meals.

How do you compare coffee pods to a bag of ground coffee?

Use price per cup. One pod makes one cup, so price per pod is the price per cup.

For ground coffee, a 12 oz bag makes roughly 60 cups at about 2 tablespoons each. So a $9 bag is about $0.15 per cup, while pods often run $0.40 to $0.80 each.

Does the unit price include sales tax or bottle deposits?

No. Shelf unit prices show the base price only. Tax, bottle deposits, and recycling fees are added at the register.

This usually does not change which item wins, because the same tax rate applies to both. It matters more when deposits are charged per container, since many small bottles cost more in deposits than one large one.

How do you compare a 2 for $5 deal to a single price?

Check if you must buy two to get the deal. If yes, use the full $5 and the total amount in both packages.

Many stores ring up half price on a single item anyway. If so, compare at $2.50 each. The math is the same: total money paid ÷ total units received.

How can I spot shrinkflation at the store?

Watch the net weight or count, not the box. Makers often keep the price and package size the same but put less inside.

The giveaway is the unit price. If price per ounce jumps while the shelf price stays flat, the package shrank. Common examples are chip bags, ice cream tubs, and paper towel rolls.

How do I compare a monthly plan to a yearly plan?

Turn both into cost per month or cost per day. Divide the yearly price by 12 for a monthly figure.

Example: $120 per year is $10 per month, which beats $14 billed monthly and saves $48 a year. Just be sure you will use the service the whole time, since yearly plans are paid up front.

How do you find the price per square foot for flooring or fabric?

Divide the box or roll price by the square feet it covers. A $45 box covering 20 sq ft is $2.25 per square foot.

Add 5% to 10% extra for cuts and waste when you plan how much to buy. Also check that one option is not sold by the square yard, which is 9 square feet.