HomeGuides › How to Calculate Price Per Unit: Formula, Conversions, and Worked Examples

How to Calculate Price Per Unit: Formula, Conversions, and Worked Examples

To calculate price per unit, divide the total price by the quantity in the package: price per unit = total price ÷ quantity. A $4.99 bag that weighs 32 ounces costs $0.156 per ounce ($4.99 ÷ 32 = $0.1559, rounded to $0.156). Once every option is expressed in the same unit — per ounce, per pound, per 100 grams, or per item — the cheapest choice is simply the one with the lowest price per unit.

That one-line formula is the most reliable money-saver in any grocery aisle, hardware store, or online cart. The catch: products are sold in mismatched sizes and units on purpose, so you have to convert, handle coupons, and round carefully before the numbers mean anything. This guide centers the exact price per unit calculation with worked examples in cents per ounce, dollars per pound, per 100 grams, and per count, plus multipack and coupon math. Drop your own numbers into our unit price calculator at any point to skip the arithmetic.

The price per unit formula

The formula has just two inputs:

Price per unit = Total price ÷ Quantity

"Total price" is what you actually pay — after coupons, before tax in most U.S. stores. "Quantity" is the package size measured in a single standard unit: ounces, pounds, grams, fluid ounces, or a count of items. The result tells you what one unit costs, which is the only fair way to size up a small package against a giant one.

Three rules keep the answer trustworthy:

  • Pick one unit and stick to it. Never compare a price per ounce against a price per pound directly. Convert one side first (16 oz = 1 lb).
  • Use the price you will really pay. Subtract coupons and instant discounts before dividing, and add sales tax on taxable items if you want a true head-to-head.
  • Keep enough decimal places. Price per ounce often lands in fractions of a cent, so round to three or four decimals so a real difference doesn't vanish.

For how businesses define the term, see Investopedia's explanation of unit cost. For the broader walkthrough on shelf tags and shopping strategy, see our companion guide on how to calculate unit price.

How to calculate price per unit step by step

Here is the exact sequence for any two products you want to compare.

  1. Read the real package size. Find the weight, volume, or count printed on the label (16 oz, 2 lb, 750 g, 60 capsules). Ignore marketing words like "family size."
  2. Convert both items to the same unit. If one is in pounds and the other in ounces, multiply pounds by 16. If one is in grams, decide whether you're comparing per gram or per 100 grams.
  3. Subtract any coupon or discount. Use the net price you'll hand over at the register, not the sticker.
  4. Divide price by quantity. Price per unit = net price ÷ quantity.
  5. Round to three or four decimals. This keeps a penny-per-ounce gap visible instead of rounding it away.
  6. Compare the unit prices, not the package prices. The lowest number wins, no matter which box is bigger or carries the lower sticker.

Worked example: cents per ounce

Cents per ounce is the standard way to compare snacks, cereal, oil, and detergent. A 24-ounce jar of peanut butter costs $7.49. Work it out:

  • Total price = $7.49
  • Quantity = 24 oz
  • Price per unit = $7.49 ÷ 24 = $0.312 per ounce

To read it in cents, multiply by 100: $0.312 × 100 = 31.2 cents per ounce. Now any rival jar reduced to cents per ounce compares instantly. A 40-ounce jar at $11.49 works out to $11.49 ÷ 40 = $0.287 per ounce (28.7 cents), so here the bigger jar is the cheaper price per ounce — about 8% less.

Worked example: dollars per pound (with a unit conversion)

Meat, produce, coffee, and nuts are often priced per pound, but the package may be labeled in ounces. This is where conversions matter most. Compare two coffee bags:

  • Bag A: 12 oz at $8.99
  • Bag B: 2 lb at $21.99

First put both in the same unit. There are 16 ounces in 1 pound, so:

  • Bag A: 12 oz = 0.75 lb → $8.99 ÷ 0.75 = $11.99 per pound
  • Bag B: 2 lb → $21.99 ÷ 2 = $11.00 per pound ($10.995, rounded)

Bag B is cheaper per pound by about $0.99, roughly 8% less. Prefer cents per ounce? Divide each price by its ounces: Bag A is $8.99 ÷ 12 = $0.749 per ounce, and Bag B is $21.99 ÷ 32 = $0.687 per ounce. Either unit names the same winner, as long as both products use it.

Worked example: price per 100 grams

Imported foods, supplements, and many online listings use grams. Price per gram produces tiny numbers, so most shoppers compare price per 100 grams (often labeled cost per 100g) to keep things readable. Take a 250-gram block of cheese at $5.49 and use one formula every time:

Price per 100 g = Price ÷ grams × 100

  • Price per gram = $5.49 ÷ 250 = $0.02196 per gram
  • Price per 100 g = $0.02196 × 100 = $0.878 per 100 g

Or do it in one line: $5.49 ÷ 250 × 100 = $2.196… no. That order of operations is the trap most people fall into. Dividing then multiplying by 100 on the per-gram figure is correct ($0.02196 × 100 = $0.878); multiplying the whole price by 100 is not. Anchor on price ÷ grams × 100, run the division before the ×100, and the answer ($0.878 per 100 g) lands right every time.

Worked example: price per count (items)

Batteries, eggs, K-cups, diapers, and paper rolls are sold by count, so the "unit" is one item. A 12-pack of AA batteries at $9.99 is simply:

  • $9.99 ÷ 12 = $0.8325 per battery (about 83 cents each)

Count math hides a trap: a "24-pack" of small water bottles can hold less total liquid than a "12-pack" of large ones. When the items differ in size, divide by the underlying measurement (ounces or grams), not the number of containers. For paper towels you can go a layer deeper and compute price per sheet — multiply rolls by sheets per roll, then divide the price by total sheets.

Handling multipacks and coupons

Multipacks and coupons are where shoppers most often get price per unit wrong. For a multipack, find the total quantity first, then divide once.

A variety pack has 6 bags at 1.5 oz each for $4.50. Total quantity = 6 × 1.5 = 9 oz. Price per unit = $4.50 ÷ 9 = $0.50 per ounce. Dividing $4.50 by 6 bags ($0.75 per bag) answers a different question — price per bag — so be clear about which unit you want.

For coupons, subtract the discount before dividing. The coupon-adjusted formula is:

Price per unit = (Price − Discount) ÷ Quantity

Example: a 28-ounce bag of coffee is $19.99 with a $3 digital coupon. Net price = $19.99 − $3.00 = $16.99. Price per unit = $16.99 ÷ 28 = $0.607 per ounce. A percentage-off deal works the same way once you know the dollar discount; our discount calculator and percentage calculator turn "20% off" into the exact dollars to subtract. On taxable items, add tax with the sales tax calculator before dividing if you want the all-in price per unit.

A comparison table across package sizes

This table puts the four unit types side by side, so you can see how price per unit — not sticker price — decides the cheapest option. Each row shows the math and the winner.

ProductPackage APackage BLower price per unit
Peanut butter (per oz)24 oz / $7.49 = $0.312/oz40 oz / $11.49 = $0.287/ozB (about 8% less)
Coffee (per lb)12 oz = 0.75 lb / $8.99 = $11.99/lb2 lb / $21.99 = $11.00/lbB (about 8% less)
Cheese (per 100 g)250 g / $5.49 = $2.20/100 g400 g / $7.99 = $2.00/100 gB (about 9% less)
Batteries (per count)12-pack / $9.99 = $0.833 each24-pack / $17.49 = $0.729 eachB (about 12% less)
Coffee with $3 coupon (per oz)12 oz / $8.99 = $0.749/oz28 oz / $16.99 net = $0.607/ozB (about 19% less)
Snack multipack (per oz)9 oz total / $4.50 = $0.500/oz18 oz bag / $7.20 = $0.400/ozB (about 20% less)

Bigger usually wins on price per unit, but not always. A coupon, a sale, or a "premium" multipack can flip the result, which is exactly why you run the numbers instead of guessing.

Common rounding mistakes

Most wrong answers come from sloppy rounding or mismatched units, not from the formula itself. Watch for these:

  • Rounding too early. Round $0.3120833 to $0.31 before comparing, and two products that differ by half a cent per ounce can look identical. Round only at the final step, and keep three to four decimals.
  • Rounding to the wrong place. Cents-per-ounce values are small, so "$0.16" hides real gaps. Use $0.156 instead of $0.16 so a one-cent-per-ounce difference still shows.
  • Mixing units mid-calculation. Comparing $0.31 per ounce against $4.96 per pound is meaningless. Convert first (1 lb = 16 oz), then compare like with like.
  • Per gram vs per 100 grams. $0.022 per gram and $2.20 per 100 grams are the same number scaled by 100. Pick one unit and apply it to both products.
  • Forgetting the coupon before dividing. Subtracting the discount after you divide gives the wrong price per unit. Always use (Price − Discount) first.
  • Dividing by containers instead of contents. For multipacks of different sizes, divide by total ounces or grams, never by the number of packs.

A quick sanity check catches most errors: if the "bulk" option somehow costs more per unit than the small one, you probably mixed units, skipped a coupon, or divided by the wrong number.

Why price per unit beats the sticker price

Sticker prices are designed to make comparison hard. A "family size" box can cost more per ounce than the regular box, and a 12-pack on an endcap can beat a 24-pack that isn't on sale. Price per unit strips away the packaging games and leaves one number you can rank. Spread across a year of groceries, household goods, and online orders, that 30-second habit reliably trims a meaningful slice off your spending — money you can redirect to savings or debt payoff.

It also travels beyond the grocery store. Cost per kilowatt-hour, cost per square foot, cost per mile, and cost per dose are all just price per unit with a different label. Master the divide-by-quantity move once and you can compare almost anything fairly.

Ready to stop doing this in your head? Run any two products through our free unit price calculator: enter the price and size for each option, and it returns the price per unit and the cheaper buy instantly — a 60-second habit that pays for itself on your next shopping trip.

Try it yourself

Run your own numbers in the free Unit Price Calculator — instant, private, no sign-up.

Open the Unit Price Calculator →

Frequently asked questions

How do you calculate price per unit?
Divide the total price by the quantity in the package: price per unit = total price / quantity. For example, $6.00 for 12 ounces is $6.00 / 12 = $0.50 per ounce. Express both products you're comparing in the same unit (per ounce, per pound, per 100 grams, or per item), and the option with the lowest price per unit is the cheaper buy.
What is the price per unit formula?
The price per unit formula is: price per unit = total price / quantity. When a coupon applies, subtract it first: price per unit = (price - discount) / quantity. Always measure quantity in one consistent unit, such as ounces, pounds, grams, or count, so the two products you compare are truly apples-to-apples before you divide.
How do I calculate price per ounce?
Divide the total price by the number of ounces in the package. For a $4.99 item weighing 32 ounces, that's $4.99 / 32 = $0.156 per ounce, or about 15.6 cents per ounce when you multiply by 100. If the package is labeled in pounds, convert first using 16 ounces = 1 pound, then divide the price by total ounces.
How do I calculate price per pound?
Divide the price by the weight in pounds. If a package is labeled in ounces, convert first: 16 ounces equals 1 pound, so 12 oz is 0.75 lb. A 12-ounce bag at $8.99 is $8.99 / 0.75 = $11.99 per pound. Putting both products in dollars per pound lets you compare them directly.
How do you calculate cost per 100g?
Divide the price by the weight in grams, then multiply by 100: price per 100 g = price / grams x 100. A 250-gram block at $5.49 is $5.49 / 250 x 100 = $2.20 per 100 grams. Using price per 100 grams instead of price per gram keeps the numbers readable while staying a fair comparison.
Is price per unit the same as cost per unit?
In everyday shopping the two terms are used interchangeably, and the math (total / quantity) is identical. In business, cost per unit usually means the production cost to make one item, while price per unit refers to the selling price for one standard measurement. For comparing products on a shelf, treat them as the same calculation.
How do I calculate price per unit with a coupon?
Subtract the coupon from the price before you divide: price per unit = (price - discount) / quantity. A $19.99 bag of coffee with a $3 coupon has a net price of $16.99. Divided by 28 ounces, that's $16.99 / 28 = $0.607 per ounce. Subtracting the coupon after dividing gives the wrong answer, so always adjust the price first.
How do I find price per unit for a multipack?
Add up the total quantity across all items, then divide once. A 6-pack of 1.5-ounce bags is 6 x 1.5 = 9 ounces total, so $4.50 / 9 = $0.50 per ounce. Dividing by the number of bags instead gives price per bag, a different figure. For multipacks of different sizes, divide by total ounces or grams, not the pack count.
Is a bigger package always cheaper per unit?
No. Larger packages are often cheaper per unit, but coupons, sales, shrinkflation, and 'premium' multipacks can make a smaller size cheaper per unit. The only way to know is to calculate price per unit for each option. Bigger usually wins, yet running the quick division protects you from the cases where it doesn't.
How many decimal places should I use for price per unit?
Use three or four decimal places and round only at the final step. Cents-per-ounce values are tiny, so rounding $0.156 to $0.16 too early can hide a real one-cent-per-ounce gap between products. Keep the extra digits while you compare, then round the final answer if you want a cleaner number to remember.

Related guides

How to calculate CAGR: formula, Excel method, and worked examples · How to calculate unit price: the simple way to find the best deal · How to Use Reverse CAGR to Project Future Value · CAGR vs Average Annual Return: What's the Difference?

Muhammad Zohaib AmeerFounder & Personal Finance Researcher

Muhammad Zohaib Ameer is the founder of The Money Calcs. He personally builds, tests and researches every calculator and guide on the site — translating the standard financial formulas used by banks and lenders into free, plain-English tools. His focus is accuracy and clarity: helping everyday people understand mortgages, loans, savings, investing, retirement and debt without jargon, sign-ups or sales pitches.