Loading
Compare any two products by cost per unit — per gram, litre, kg or item. Free unit price calculator for grocery, bulk buying & business pricing decisions.
Calculate the unit price based on the total price and multi-pack size.
Lifestyle
Supermarket shelves are designed to make comparison difficult. A 400g jar and a 750g jar sit side by side with completely different prices — and working out which is genuinely cheaper per gram takes maths most people skip.
A unit price calculator removes that friction instantly. Enter the total price and quantity of any product, and get the exact cost per unit — per gram, per litre, per kg, per item, or any measure you need. Compare two products side by side and the better value choice becomes immediately obvious, every time.
Whether you're doing a weekly grocery shop, evaluating bulk buying options, managing business inventory, or comparing subscription vs one-time purchase costs — the unit price calculator makes every buying decision faster, cleaner, and smarter. No guesswork. No shelf-edge squinting. Just the right answer in one second.
🛒 Compare Prices Now → Unit Price Calculator
A unit price calculator — also called a cost per unit calculator or price per unit calculator — is a tool that divides the total price of a product by its quantity to give you a standardised cost per unit of measure.
It answers the single most useful shopping question: which product gives me more for my money?
Without it, comparing a 500ml bottle at £1.80 to a 750ml bottle at £2.40 requires mental division most people approximate or skip. With it, the answer is instant:
The difference is small per purchase — but compounded across an entire grocery shop, it adds up to meaningful savings week after week. Our Discount Calculator works alongside this tool when promotional discounts are applied on top of the base price.
Unit Price = Total Price ÷ Quantity
That's it. The formula is deliberately simple — its power comes from applying it consistently across products with different pack sizes, weights, and pricing structures.
Product: Olive oil, 500ml bottle, priced at $6.50
Unit Price = $6.50 ÷ 500 = $0.013 per ml (or $1.30 per 100ml)
| Product | Total Price | Quantity | Unit Price |
|---|---|---|---|
| Brand A — Pasta (500g) | £1.20 | 500g | £0.0024/g = 24p per 100g |
| Brand B — Pasta (1kg) | £1.99 | 1000g | £0.00199/g = 19.9p per 100g ✅ |
Brand B costs more upfront — but it's cheaper per gram. If you have storage space and regularly use pasta, Brand B is the smarter buy by over 17%.
When comparing across different units, you need to standardise first:
Step 1: Convert all quantities to the same unit (e.g., all to grams, all to litres) Step 2: Apply: Unit Price = Total Price ÷ Standardised Quantity Step 3: Compare the results directly
Example — Mixed units:
Without converting Product B's kg to grams first, the comparison is meaningless.
Note the full shelf price of the product exactly as displayed — including any promotional price if a sale is running. If a percentage discount applies, calculate the discounted price first using our Discount Calculator, then use that as your input.
Check the product label for the net weight, volume, or count:
Always use the net quantity — not gross weight including packaging.
Decide what unit makes the most sense for the product:
Apply the formula: Unit Price = Total Price ÷ Quantity
Then repeat for every competing product using the same denominator unit. The lowest number wins.
The cheapest unit price isn't always the best choice. Consider:
The most frequent application. UK and US supermarkets are legally required to display unit prices on shelf labels — but the format varies (some show per 100g, others per kg, some per item) making direct comparison difficult without standardisation.
Example — Yoghurt comparison:
| Product | Price | Size | Price per 100g |
|---|---|---|---|
| Own brand (500g) | £0.89 | 500g | 17.8p ✅ |
| Premium brand (450g) | £1.40 | 450g | 31.1p |
| Multipack 4×125g | £1.60 | 500g | 32p |
The own-brand 500g pot delivers the same total quantity as the multipack at less than half the price per 100g. Without unit price comparison, many shoppers choose the multipack assuming it's better value.
Bulk buying is almost always cheaper per unit — but not always the right decision.
Example — Washing powder:
| Option | Price | Quantity | Price/kg | Practical Note |
|---|---|---|---|---|
| Standard (1kg) | £4.50 | 1kg | £4.50/kg | Immediate need |
| Large (3kg) | £10.80 | 3kg | £3.60/kg ✅ | 20% cheaper per kg |
| Bulk (10kg) | £29.00 | 10kg | £2.90/kg ✅✅ | Best unit price |
The 10kg pack offers the best unit price — but requires significant upfront cash and storage space. The right choice depends on your circumstances, not just the formula.
For large bulk purchases being financed over time, our Payment Calculator helps model instalment options for wholesale or club store buying.
For small business owners and procurement managers, unit price calculation is fundamental to cost control.
Scenario — Coffee shop buying milk:
At 30 litres of milk used per day, the difference between 70p and 60p per litre = £3 saved daily = £1,095 per year — from one product line. Consistent unit price monitoring across all supplies compounds into significant annual savings.
For business pricing strategy that includes profit margin analysis, pair this tool with our Percentage Calculator to model markup and margin at different unit cost points.
Example — Office paper (A4):
| Channel | Price | Quantity | Price/Ream |
|---|---|---|---|
| Retail (single ream) | £6.50 | 1 ream | £6.50 |
| Retail multipack (5) | £28.00 | 5 reams | £5.60 ✅ |
| Wholesale (box of 10) | £42.00 | 10 reams | £4.20 ✅✅ |
For a small office using 2 reams per week, the wholesale box lasts 5 weeks and saves £23 compared to buying retail singles — a 35% saving.
The most granular comparison unit — useful for premium products where small differences in price per gram compound over frequent purchases.
Example — Protein powder:
Brand Y saves $0.94 per 100g. If you use 150g per week, that's $73 saved per year on a single supplement.
For food and drink products, serving size is often more meaningful than weight or volume.
Formula: Cost Per Serving = Total Price ÷ Number of Servings
Example — Breakfast cereal:
Cereal C wins on cost per serving despite being a smaller pack with a lower shelf price — which is exactly why shelf price alone is a misleading metric.
Example — Bottled water:
| Format | Price | Volume | Price/Litre |
|---|---|---|---|
| Single 500ml | £1.20 | 0.5L | £2.40/L |
| 6-pack 500ml | £5.00 | 3L | £1.67/L ✅ |
| 24-pack 500ml | £12.00 | 12L | £1.00/L ✅✅ |
| 1.5L bottle | £0.95 | 1.5L | £0.63/L ✅✅✅ |
The single 500ml bottle costs nearly 4 times as much per litre as a large format bottle. This calculation is particularly relevant for high-frequency purchases where format switching is practical.
Subscription models are increasingly common — and not always the best value despite the discount they advertise.
Example — Coffee pods (subscription):
The subscription wins on unit price in this case — but only if you consistently use 60 pods per month. If pods go unused, the effective cost per consumed pod rises.
To factor in wastage: Cost Per Consumed Unit = Total Cost ÷ Units Actually Used
If 10 pods go unused: £18 ÷ 50 consumed = 36p per consumed pod — no longer the best deal.
Step 1 — Standardise the unit. Choose one unit (100g, 100ml, per item) and convert all products to it.
Step 2 — Calculate unit price for each option. Apply the formula for every product in the comparison.
Step 3 — Rank by unit price. The lowest cost per unit is mathematically the best value at that quality level.
Step 4 — Apply practical filters:
Step 5 — Make the decision. Best unit price + practical feasibility = the right choice for your situation.
This framework works for grocery shopping, business procurement, online retail comparison, and wholesale buying — across any currency or country.
| Feature | WithinSecs Unit Price Calculator | OmniCalculator | InchCalculator |
|---|---|---|---|
| Basic unit price | ✅ | ✅ | ✅ |
| Multi-product comparison | ✅ | ✅ | ❌ |
| Cost per serving | ✅ | ❌ | ❌ |
| Bulk vs single analysis | ✅ | ❌ | ❌ |
| Subscription comparison | ✅ | ❌ | ❌ |
| Mixed unit conversion | ✅ | ✅ | ✅ |
| Mobile-optimised | ✅ | ✅ | ✅ |
| Linked to discount tools | ✅ | ❌ | ❌ |
| Multi-currency display | ✅ | ❌ | ❌ |
| Ad-free experience | ✅ | ❌ | ❌ |
US grocery stores are required by some states — but not all — to display unit prices. States like Massachusetts and New York mandate shelf unit pricing. In states without requirements, the unit price calculator fills a genuine consumer information gap.
Common US use case: Comparing Costco bulk pricing to regular supermarket pricing for the same product.
UK law requires all retailers selling to consumers to display unit pricing on shelf labels. However, units used vary (per 100g vs per kg), making standardised comparison still non-trivial. The unit price calculator provides a clean, consistent format regardless of what the shelf label shows.
Unit price comparison is particularly valuable in Indian retail where pack sizes vary significantly between brands and traditional markets vs modern retail have very different pricing structures.
Example — Rice:
For currency-converted comparisons when buying imported products, our Currency Converter works alongside this tool.
Both Canadian and EU regulations mandate unit pricing in grocery retail. The calculator remains useful for non-grocery categories — electronics accessories, cleaning supplies, personal care — where unit pricing isn't legally required.
For users managing business inventory or household budgets in spreadsheets:
| Cell | Label | Input/Formula |
|---|---|---|
| A1 | Product Name | "Brand A Pasta" |
| B1 | Total Price | 1.99 |
| C1 | Quantity | 1000 |
| D1 | Unit | "g" |
| E1 | Price Per Unit | =B1/C1 |
| F1 | Price Per 100g | =B1/C1*100 |
To compare multiple products, replicate rows and use a MIN formula to highlight the best value: =MIN(F1:F5) → returns the lowest price per 100g across five products
For percentage-based analysis of savings between options, our Percentage Calculator integrates naturally into the same workflow.
Comparing grams to kilograms, millilitres to litres, or ounces to pounds without conversion produces meaningless results. Always standardise to the same unit before dividing.
Example of the error: Comparing £1.20/500g to £2.10/kg without converting the first to £2.40/kg — concluding the first is cheaper when it's actually more expensive by 14%.
A "10-pack" of something tells you how many items are in the pack — not how much of the product you're getting. For items measured by weight or volume, always use the total net weight or volume, not the item count.
Example: 10 packets of crisps at £3.50. Each packet is 25g. Total = 250g. Unit price = £3.50 ÷ 250g = £1.40 per 100g — not £0.35 per packet, which tells you nothing about value relative to other products.
Buy-two-get-one promotions, minimum purchase thresholds, and loyalty card prices change the effective unit price — but only if the condition is met. Always calculate based on what you actually intend to buy.
Example: "3 for £5" on items usually priced at £2.20 each. If you only need two, you'd spend £4.40 — not £3.33 (the implied "save £1.60 per item" doesn't apply to a 2-item purchase).
Use our Discount Calculator to model conditional promotion scenarios before committing to a minimum purchase.
Unit price is a financial metric, not a quality metric. A cheaper per-unit price on a product you'll waste, dislike, or not use fully costs you more in practice than a slightly higher unit price on something you'll fully consume.
The best buying decision applies unit price logic within a quality tier — compare like with like.
Bulk buying from a distant warehouse or online retailer involves shipping or travel costs. These should be factored into the effective unit price.
Example: 10kg of dog food at £28 online with £5 delivery = £33 effective cost → £3.30/kg. Local retailer 5kg bag at £15 = £3.00/kg — actually cheaper once delivery is included.
Add delivery cost to the total price before dividing by quantity for a true unit price comparison. For travel-related cost comparisons, our Fuel Cost Calculator helps factor in the cost of a warehouse or bulk store trip.
Switching to better-value products identified through unit price comparison doesn't just save money once — it saves on every future purchase of the same product.
Conservative estimate — household of 4:
Over 10 years, even at the conservative end and without investing the savings, that's over £6,000 — from one habit change.
To understand what that saving grows into when redirected into a savings account or investment, our Compound Interest Calculator models the full picture. And if you have a specific financial goal you're working toward, our Savings Goal Calculator shows how quickly consistent grocery savings help you reach it.
Unit price is the cost of one standard unit of a product — per gram, per litre, per kilogram, or per item. It's calculated by dividing the total price by the quantity. Unit price allows direct comparison between products sold in different pack sizes or formats, making it the most reliable measure of value in retail shopping.
Divide the total price by the quantity: Unit Price = Total Price ÷ Quantity. Example: a 750ml bottle priced at $4.50 has a unit price of $4.50 ÷ 750 = $0.006 per ml, or $0.60 per 100ml. Always ensure the quantity units are the same across the products you're comparing.
Unit price removes the distortion created by different pack sizes and formats. Without it, a lower shelf price can easily disguise a higher cost per unit — making you pay more for less. Consistently buying based on unit price rather than shelf price is one of the most impactful habits for reducing grocery and household spending.
The formula is: Unit Price = Total Price ÷ Quantity. For standardised comparison, extend it to a base quantity: Price per 100g = (Total Price ÷ Total Grams) × 100. This gives a consistent number across all product sizes, making comparison straightforward regardless of pack format.
Convert all products to the same unit of measure, calculate unit price for each, and rank from lowest to highest. Lowest unit price = best value at that quality level. Apply practical filters (shelf life, storage, budget) before making a final decision. The unit price calculator handles the calculation — you make the judgement call.
Cost per serving = Total Price ÷ Number of Servings. Number of servings = Total Quantity ÷ Serving Size. Example: 600g of cereal at £3.60 with a 40g serving size = 15 servings → £3.60 ÷ 15 = 24p per serving. This is more meaningful than price per gram for food products consumed in defined portions.
Almost always cheaper per unit — but not always the right decision. Bulk unit prices are lower, but you need the storage space, cash flow, and ability to consume the product before it expires. Calculate the effective cost per unit including any wastage, and the bulk advantage shrinks or disappears for products with short shelf lives.
In Excel, enter total price in A1 and quantity in B1. Unit price formula: =A1/B1. For price per 100g: =(A1/B1)*100. To compare multiple products, replicate rows and use =MIN(C1:C5) to identify the lowest unit price automatically. Add a conditional format to highlight the minimum value in green for instant visual comparison.
Unit price is the cost per single unit for one product at one price point. Average cost per unit is used in business and accounting — it averages the cost across multiple purchase batches at different prices. Formula: Average Cost Per Unit = Total Cost of All Units ÷ Total Units Purchased. This applies when a business buys the same product at varying prices over time.
Enter the invoice cost of each product and the quantity received. The calculator returns cost per unit, which becomes your baseline for pricing, markup calculation, and margin analysis. Use it alongside our Percentage Calculator for markup, and our Discount Calculator for promotional pricing decisions.
By default, unit price is calculated from the shelf or invoice price displayed — which in the UK and EU includes VAT, and in the US and India typically excludes sales tax or GST. For tax-inclusive unit price comparisons, use the post-tax total price as your input. Our VAT Calculator and GST Calculator can help you find the tax-inclusive price before calculating unit cost.
Calculate cost per unit for both options using the same formula, then factor in consumption rate and commitment length. A subscription is better value per unit only if you consistently use the committed quantity. If you regularly skip months or accumulate unused stock, the effective per-unit cost of a subscription rises above its advertised rate.
Unit price is the single most reliable number for making smart buying decisions — whether you're comparing two pasta brands, evaluating wholesale suppliers, or deciding whether a subscription service genuinely saves you money.
The calculation is simple. The formula is one line. And the savings — applied consistently across every product in your household or business — are real and compounding.
Stop buying by shelf price. Start buying by unit price.
Related tools to sharpen every purchase decision:
Unit price calculations are based on net product quantity as labelled. Tax inclusion varies by country and product category. Always verify shelf labels and check for promotional conditions before making bulk purchase decisions.