Calculate the price per unit based on total price and quantity.
Product A
Product B (for comparison)
This Unit Price Calculator helps you find the true cost per unit for any product and compare two options side by side. Enter the total price and quantity for Product A and Product B to instantly see the price per unit for each, the cost per dozen, cost per 100 units, which product offers better value, and the saving per unit between the two. Useful for grocery shopping, wholesale purchasing, and bulk buying decisions.
The price tag on a product is almost never the full story. A larger pack almost always looks more expensive in total but works out cheaper per unit. A smaller pack looks affordable but may cost significantly more for the same amount of product. Without calculating the unit price, you are comparing apples to oranges — and consistently making purchasing decisions based on incomplete information. This calculator finds the unit price for any product and compares two options side by side so the better value is always obvious.
Unit price is the cost of a single measurable unit of a product — one item, one gram, one litre, one metre, or whatever the relevant unit of measure is for that product. It is calculated by dividing the total price by the quantity included.
The purpose of unit price is comparison. On its own, a unit price is just a number. Its value comes from comparing it to the unit price of an alternative — a different pack size, a different brand, a different retailer, a different bulk tier. When two products are expressed in the same unit, the lower unit price is the better value, all else being equal.
Most countries with consumer protection regulations require retailers to display unit prices on shelf labels precisely because research consistently shows that shoppers make better purchasing decisions when unit prices are visible. This calculator gives you that information instantly for any two products, regardless of where you are shopping.
Enter the total price and quantity for Product A — the first option you are comparing. Then enter the same figures for Product B. The calculator instantly shows the unit price for each product, the cost of Product A per dozen and per 100 units, which product offers better value, and the saving per unit between the two.
The unit price is shown to four decimal places because small differences become significant at scale. A difference of 0.003 per gram sounds trivial — but on a 500-gram product that is 1.50. On a monthly purchase of five units, that is 7.50 per month, or 90 per year. Precision in unit price matters more than it appears at first glance.
The fundamental comparison metric — what each individual unit costs at the given price and quantity. The lower figure is the better deal, assuming the products are otherwise equivalent in quality and suitability.
The unit price of Product A multiplied by twelve. Useful for products commonly purchased in sets of twelve — eggs, bottles, cans, portions — where the per-dozen cost is a natural reference point.
The unit price multiplied by one hundred — the standard comparison format used in many countries on retail shelf labels, where prices are displayed per 100 grams, per 100 ml, or per 100 sheets.
Which product has the lower unit price, stated directly. Rather than comparing two decimal figures mentally, this output gives you the answer in plain language.
The absolute difference between the two unit prices. Multiply it by how many units you buy over a year and you can see the real financial impact of choosing the lower unit price consistently.
Grocery shopping
Supermarkets sell the same product in multiple pack sizes, and the relationship between pack size and price is rarely linear. A 400g pack at one price and an 800g pack at another do not necessarily mean the larger pack is cheaper per unit. Promotional pricing adds another layer — a buy-two-get-one-free offer changes the effective unit price of all three items.
Wholesale and bulk purchasing
Businesses buying supplies, ingredients, or materials in bulk need to know whether the bulk price actually represents better value than the standard retail price. Supplier minimum order quantities and bulk discount tiers can all be evaluated using unit price comparison.
Online shopping across retailers
The same product listed on different platforms at different prices and in different pack sizes cannot be compared without reducing everything to a unit price. A product listed at one price for a pack of 30 and another for a pack of 50 requires this calculation to determine which listing is cheaper.
Personal care and household products
Shampoo, detergent, toilet paper, and similar products come in an enormous range of pack sizes with pricing that is deliberately designed to obscure unit price comparisons. Bulk formats, concentrated formulas, and promotional bundles all require unit price calculation to evaluate fairly.
Catering and food service
Chefs and catering managers buying ingredients need to compare unit prices across suppliers and pack sizes to control food cost. A price from one supplier and a per-unit price from another cannot be compared without converting to the same basis.
Manufacturing and procurement
Components, raw materials, and consumables are often available in different quantities from different suppliers. Unit price comparison across quotes and catalogues is a standard part of procurement decision-making.
Make sure the units are comparable
Comparing a price per gram to a price per millilitre only makes sense if the product has a known density. Weight and volume are not interchangeable for most products. Always compare the same unit type.
Account for quality differences
A lower unit price is not always the better choice if the quality is lower, shelf life is shorter, or more units are needed per use. Unit price comparison assumes the products being compared are equivalent in all relevant dimensions.
Factor in waste for perishable products
A bulk pack with a lower unit price but a short use-by date that forces you to discard half the product is not actually cheaper. The effective unit price should account for the proportion of the product you will actually use.
Consider storage and capital costs for bulk buying
Bulk buying at a lower unit price ties up storage space and capital. For slow-moving items, the unit price saving may not offset the cost of storage or the risk of the product expiring before use.
Watch for shrinkflation
Manufacturers sometimes reduce the quantity in a pack while keeping the price the same. Running the unit price calculation periodically on products you buy regularly can reveal when this has happened without an obvious price increase.
Calculate return on investment (ROI) for your business or marketing campaigns
Find the break-even point where your revenue equals your expenses
Calculate markup percentage and selling price based on product cost
Calculate marketing or website conversion rate easily
Enter an amount, pick a GST slab, and see the exact tax split before you raise an invoice or check one you've received.
A tool that divides a product's total price by its quantity to show the cost per single unit — gram, litre, item, or sheet. Enter two products and it compares both side by side so the better value is immediately clear without any mental arithmetic.
Divide the total price by the quantity included. A $4.50 pack containing 300 grams works out to $0.015 per gram. That number on its own means little — its value comes from comparing it to the unit price of an alternative pack or brand.
Total price comparisons are misleading when pack sizes differ. A $3 pack and a $5 pack tell you nothing useful until you know how much product each contains. Unit price reduces both to the same basis so the comparison is honest.
Not always. A bulk pack with a lower unit price can end up costing more if part of it expires before use, requires paid storage, or ties up cash you need elsewhere. Unit price is the right starting point — but waste, shelf life, and storage cost all affect the real outcome.
Shrinkflation is when a manufacturer quietly reduces the quantity in a pack while keeping the price the same or raising it slightly. The total price barely changes so it goes unnoticed — but the unit price rises. Checking unit price on products you buy regularly is the most reliable way to catch it.
Most supermarkets are legally required to display unit prices on shelf labels — typically per 100g, per 100ml, or per item. The requirement exists because research consistently shows shoppers make more cost-effective decisions when unit prices are visible alongside total prices.
Yes — enter the standard pack price and quantity as Product A, then the bulk option as Product B. The saving per unit output tells you the difference, and multiplying that by your annual purchase volume shows the real financial impact of switching to the bulk option.
Make sure both products use the same unit type — comparing price per gram to price per millilitre only works if you know the product's density, which varies. Also check that pack sizes, concentration levels, and quality are comparable before treating the lower unit price as the clear winner.
* This calculator is for general reference and comparison purposes. Unit prices shown are calculated from the values you enter and may not reflect taxes, delivery costs, or other charges that affect the true cost of a purchase.