Your Privacy is Protected
All calculations run locally in your browser. We do not store or transmit your personal data.
What is Unit Price?
Unit price tells you the cost of a single unit of a product — per ounce, per pound, per item, or per any measurement. It's calculated by dividing the total price by the total quantity.
Why does this matter? Because comparing products isn't straightforward when they come in different sizes or quantities. A 200g jar of peanut butter for $3.99 and a 350g jar for $6.49 — which is the better deal? You can't tell just by looking at the prices. But when you convert both to price per gram, the answer becomes clear.
Unit price lets you make apples-to-apples comparisons across brands, package sizes, and stores. Grocery stores often print the unit price on shelf tags in small print, making it easy to compare in person. Online, however, unit prices are rarely displayed — which is where a calculator becomes essential.
Whether you're shopping for groceries, comparing bulk deals, or setting prices for your small business, knowing the unit price helps you spend smarter.
How to Calculate Unit Price
The formula is simple:
Unit Price = Total Price ÷ Quantity
Example: A bag of coffee costs $12.99 for 350g.
Unit price = $12.99 ÷ 350g = $0.037 per gram
Compare with another bag: 200g for $8.49.
Unit price = $8.49 ÷ 200g = $0.042 per gram
The 350g bag costs less per gram — it's the better value.
Key tip: Always use the same unit on both sides. If one price is per ounce and another is per pound, convert first (1 lb = 16 oz). Mixing units leads to wrong comparisons. Our calculator handles unit conversion automatically, so you can input any combination.
Common Use Cases
Grocery shopping — Compare different brands and package sizes. Is the family-size cereal actually cheaper per ounce than the regular box? Unit price gives you the answer in seconds.
Bulk vs. retail — Warehouse clubs like Costco advertise savings on bulk purchases, but that's not always true. Calculating the per-unit cost reveals whether buying in bulk genuinely saves money or just costs more upfront.
Online shopping — Amazon and other marketplaces often list the same product from different sellers at varying quantities and prices. Unit price cuts through the confusion and shows you the cheapest option.
Restaurant costing — Restaurant owners use unit pricing to calculate the cost of ingredients per dish, which directly informs menu pricing and profit margins.
Small business pricing — Manufacturers and sellers need to know the per-unit cost of raw materials and production to set competitive prices while maintaining profitability.
Frequently Asked Questions
How do I compare prices with different units (e.g., price per oz vs price per lb)?
Convert both to the same unit first. Since 1 pound = 16 ounces, multiply the per-pound price by 16 to get per-ounce, or divide the per-ounce price by 16 to get per-pound. Our calculator supports multiple unit types — select the same unit for both products and it handles the conversion automatically.
Is bulk buying always cheaper?
Not always. While bulk items typically have a lower unit price, some factors reduce the savings: expiration dates (will you use it all before it spoils?), storage costs, and membership fees. Always calculate the unit price before assuming bulk is the better deal.
What is the difference between unit price and price per unit?
They mean the same thing — the cost per single unit of measurement. 'Unit price' is the more common retail term, while 'price per unit' is used in business and manufacturing contexts. Both are calculated by dividing total price by total quantity.
How do stores calculate the unit price on shelf tags?
Stores divide the product's retail price by its size or count. For example, a $4.50 bottle of 32 oz juice has a unit price of $4.50 ÷ 32 = $0.14 per ounce. Many states in the US require retailers to display unit pricing on shelf tags to help consumers compare products.
Can unit price help me save money on groceries?
Yes. Studies show that shoppers who compare unit prices save 10–20% on their grocery bills. The biggest savings come from switching to larger packages or different brands that offer a lower per-unit cost — differences that are invisible when you only look at the sticker price.