By Amanda Reeds, Content Researcher ·
Quick Summary
- Key Takeaway: Divide the total price by the quantity, and the lowest result per ounce, kilogram, litre or item is the cheapest buy.
- Who This Is For: Grocery shoppers, home cooks, small sellers, and anyone pricing electricity, shipping or storage by the unit.
- Why It Matters: In the peanut butter test below, the largest jar was not the cheapest per ounce.
- Reading Time: ~13 minutes
Why Unit Price Calculator Math Is Worth Getting Right
Two jars of peanut butter sit side by side. One holds 16 ounces for $3.48, the other 40 ounces for $7.99, and the bigger one looks like the obvious bargain.
A unit price calculator divides a product’s total price by the quantity inside the package. The result is a price per ounce, kilogram, litre or item, so different sizes can be compared on one scale. The lowest unit price is the cheapest way to buy the same product.
Stores use the same arithmetic. According to the National Institute of Standards and Technology, its 2026 Handbook 130 unit pricing regulation calls for a price per ounce or pound, or per 100 grams or kilogram, on items sold by weight.
Shelf labels go missing online, at bulk bins and outside the grocery aisle. Below you will find the formula, the conversions and worked examples for groceries, electricity, shipping, storage and small-business costs.
Convert My Units and See the Real Price →Table of Contents
- Why Unit Price Calculator Math Is Worth Getting Right
- Calculate Unit Price of a Product: Four Shelf Examples
- Unit Price Formula: Cost Per Unit Formula and Price Per Item Formula
- How to Find the Unit Price Step by Step
- Price Per Kg, Price Per Gram, Price Per Ounce and Price Per Pound
- Price Per Litre, Price Per Fluid Ounce, Price Per Cup and Cost Per Ml
- Price Per Item, Price Per Serving and Cost Per Piece Calculator Math
- Cost Per Foot, Cost Per Inch, Cost Per Square Inch and Land Cost Per Square Meter
- Calculate Energy Cost Per kWh With an Electricity Unit Rate Calculator
- Cost Per Gigabyte, Printing Cost Per Page and Shipping Cost Per Pound
- Calculate Production Cost Per Unit: Average Unit Cost, Fixed Cost and Labor
- Break Even Price Calculator: Break Even Point With Cost and Revenue
- Gram to Tola, Gram to Vori and Gold Price Calculator Math
- Unit Price Calculator App vs Excel: Which Is Faster for Comparison Shopping?
- Unit Price Calculator UK, India and Australia: Same Math, Different Units
- Common Unit Price Mistakes That Make a Bad Deal Look Good
- What a Unit Price Calculator Saves You in Practice
- Frequently Asked Questions About the Unit Price Calculator
- The Bottom Line on Unit Price Math
Calculate Unit Price of a Product: Four Shelf Examples
To calculate the unit price of a product, divide the shelf price by the quantity in the package, then do the same for every size you are weighing. Here are four comparisons with the arithmetic shown.
Example 1: The peanut butter test
I ran the three jars through the calculation while standing in the aisle. The unit prices came to $0.2175, $0.1961 and $0.1998 per ounce for the 16, 28 and 40 ounce jars. The 28 ounce jar won. The 40 ounce jar cost about 1.9% more per ounce than the middle size. This one tripped me up too, because I had assumed the biggest jar would win.
| Jar size | Shelf price | Price per ounce |
|---|---|---|
| 16 oz | $3.48 | $0.2175 |
| 28 oz | $5.49 | $0.1961 |
| 40 oz | $7.99 | $0.1998 |
To express a gap like that as a percentage, the method in our percent change guide works for any two prices.
Example 2: Laundry detergent
Maria, a 36-year-old teacher in Austin, Texas, compared a 64 fluid ounce bottle at $11.99 with a 100 fluid ounce jug at $19.49. The bottle came to $0.1873 per fluid ounce and the jug to $0.1949. Buying the smaller size saved her 3.9% per fluid ounce, even though the jug looked like the bulk deal.
Example 3: Pizza by the square inch
Jordan, 29, in Columbus, Ohio, priced a 12 inch pizza at $11.00 and a 16 inch pizza at $17.50. A pizza’s area is pi times the radius squared, so the small one covers about 113.1 square inches and the large one 201.1. That works out to 9.7 cents against 8.7 cents per square inch. Four extra inches of width bring 78% more pizza, which is why the larger size is the better price.
Example 4: Protein powder per serving
Ravi, 44, in Chicago, found a 2 pound tub with 29 servings for $39.99 and a 5 pound tub with 76 servings for $84.99. Price per serving came to $1.38 against $1.12, so the large tub cost 19% less per serving. He still had to ask whether he could finish 76 servings before the best-by date.
Comparing two packages goes faster when you work out the price per unit before you reach the register.
Unit Price Formula: Cost Per Unit Formula and Price Per Item Formula
The unit price formula is unit price = total price ÷ quantity. Every variation you will meet is that one sentence with a different unit in the denominator.
| What you want | Formula | Worked example |
|---|---|---|
| Price per item formula | Total price ÷ number of items | $5.40 ÷ 18 eggs = $0.30 each |
| Cost per ounce formula (formula price per ounce) | Price ÷ ounces | $3.48 ÷ 16 oz = $0.2175 |
| Price per gram formula | Price ÷ grams | $4.99 ÷ 510 g = $0.0098 |
| Price per kg formula (formula to calculate price per kg) | Price ÷ kilograms | $15.60 ÷ 2.4 kg = $6.50 |
| Cost per pound formula | Price ÷ pounds | $18.40 ÷ 8 lb = $2.30 |
| Cost per unit formula for a seller | Variable cost + fixed costs ÷ units | $3.50 + $360 ÷ 600 = $4.10 |
A unit rate calculator does the same job with a rate instead of a price, so 150 miles in 3 hours is 50 miles per hour. Figuring out cost per unit works the same whether the unit is an ounce, a kilowatt-hour or a candle, and the cost per product formula and cost per item formula are just different labels on the denominator.
How to Find the Unit Price Step by Step
To find the unit price, read the net quantity, convert every option to one unit, then divide price by quantity. Take two bottles of spirits as the worked case. Any find unit price calculator runs these same five steps, whether you calculate price per unit, calculate unit price of product or calculate unit rates.
- Read the net quantity on the front of the package, not the serving size. A bottle marked 750 mL holds 750 mL however many drinks the label suggests.
- Convert both options to one unit. A 1.75 L bottle becomes 1,750 mL.
- Divide the price by the quantity. $24.99 ÷ 750 mL is $0.0333 per mL, or $33.32 per litre.
- Repeat for the other option. $44.99 ÷ 1.75 L is $25.71 per litre.
- Compare the results. The 1.75 L bottle is $7.61 per litre cheaper, a 22.8% lower unit price.
That example doubles as a price per litre alcohol check. The same steps let you calculate each product in a basket and find cost per unit for anything with a printed quantity.
Price Per Kg, Price Per Gram, Price Per Ounce and Price Per Pound
Weight prices convert with two constants: 1 kilogram holds 1,000 grams, and 1 pound holds about 453.6 grams. One ounce is about 28.35 grams.
Whether you need to calculate price per kg, calculate price per ounce or calculate price per pound, the move is one division. A price per kg to price per gram calculator simply divides by 1,000, so rice at $6.50 per kg costs $0.0065 per gram. To move from price per kg to price per lb, multiply by 0.4536, which turns $6.50 per kg into $2.95 per lb. A price per lb to kg converter does the reverse. Multiply by 2.2046, and $3.00 per lb becomes $6.61 per kg. A price per kg to price per lb calculator and a price per lb to price per kg calculator apply those two factors. A cost per kg calculator, kg price calculator or per kg price calculator uses the cost per kg formula, and a cost per lb calculator, cost per pound calculator, cost per ounce calculator or price per lb calculator follows the same pattern. To calculate price per gram, a per gram price calculator or kg calculator price tool divides by 1,000.
Small packs often get quoted per 100 grams. A 510 gram cereal box at $4.99 is $0.98 per 100 grams, or $9.78 per kg, which is all a price per 100 gram calculator does. To calculate cost per gram, divide $4.99 by 510. A kg to price calculator or gram calculator price tool multiplies weight by the rate: 2.4 kg at $6.50 per kg costs $15.60.
Price Per Litre, Price Per Fluid Ounce, Price Per Cup and Cost Per Ml
For liquids, choose litres, millilitres or fluid ounces and keep that unit for every option. One US fluid ounce holds about 29.57 mL, and a US cup holds 8 fluid ounces.
The spirits from the steps above cost $0.99 and $0.76 per fluid ounce. Maria’s detergent at $0.1873 per fluid ounce is about $1.50 per cup, which a price per cup calculator would report, and a price per litre calculator or price per fluid ounce calculator handles the same math. A price per litre calculator alcohol search wants the spirits example above. A cost per ml calculator turns $33.32 per litre into $0.0333 per mL. For label conversions, see our 200 milliliters to cups guide, and for unlabeled tanks, how to calculate volume in litres.
Price Per Item, Price Per Serving and Cost Per Piece Calculator Math
Price per item equals total price divided by count, and price per serving equals total price divided by the servings on the label. Eighteen eggs at $5.40 cost $0.30 per egg, which is $3.60 per dozen.
An average cost per item calculator needs care. Three notebook packs cost $9.60 for 12, $7.20 for 8 and $14.00 for 20. That is $30.80 for 40 notebooks, or $0.77 each. Averaging the pack prices ($0.80, $0.90, $0.70) gives $0.80, which overstates the cost. A price per serving calculator works the same way. A cost per piece calculator and a price per item calculator both add the money, add the pieces, then divide once.
Cost Per Foot, Cost Per Inch, Cost Per Square Inch and Land Cost Per Square Meter
Length and area follow the same rule, with feet, inches or square units in the denominator. An 8 foot board at $12.40 costs $1.55 per linear foot, or about $0.13 per inch. To calculate cost per linear foot or run a cost per foot calculator or cost per inch calculator, you divide by length. The pizza in Example 3 was a cost per square inch calculator job, and a price per inch calculator or tool to calculate price per square inch uses the same division, and a price per cubic inch calculator divides by length times width times height, so a 1,000 cubic inch bin at $25 costs $0.025 per cubic inch.
Land runs on the same idea. A 500 square meter plot priced at $42,000 costs $84 per square meter, which is what a land cost per square meter calculator returns when you calculate cost per square meter. Converting 500 square meters gives 5,381.96 square feet, so the same plot is $7.80 per square foot. Our square meter to square feet guide has the factor and more examples.
Builders use it at scale. A hypothetical 600 square foot ADU that costs $210,000 is $350 per square foot, which is what an ADU cost calculator returns, and a building units cost calculator gives $220,000 per unit for $1,320,000 across 6 apartments. These are illustrations, not market quotes.
Calculate Energy Cost Per kWh With an Electricity Unit Rate Calculator
Energy cost equals power in kilowatts times hours of use times your price per kilowatt-hour. According to the U.S. Energy Information Administration’s Short-Term Energy Outlook, U.S. residential customers pay an average of 18.2 cents per kWh in 2026.
Daniel, a 52-year-old warehouse supervisor in Dayton, Ohio, ran a 1,500 watt space heater for 6 hours a day. A kw calculator cost check starts by dividing watts by 1,000, which gives 1.5 kW, and 1.5 kW times 6 hours is 9 kWh a day. At $0.182 per kWh that is $1.64 a day, or about $49.14 over 30 days.
To find your real rate, divide a bill by the kWh it covers. A $145.60 bill for 800 kWh gives $0.182 per kWh, the input an energy cost per kwh calculator, kwh energy cost calculator or electric cost per kwh calculator needs. Some distributors, including Pakistan’s FESCO, publish tariffs by consumption slab, so a FESCO unit rate calculator or any electricity unit rate calculator should ask for the slab that matches your usage.
Dividing a bill by the kilowatt-hours it covers gives the real rate you pay per unit of electricity.
Cost Per Gigabyte, Printing Cost Per Page and Shipping Cost Per Pound
Cost per gigabyte divides the price by storage in gigabytes. A 2 TB cloud plan at $9.99 a month costs about $0.005 per GB, taking 1 TB as 1,000 GB, while a 200 GB plan at $2.99 costs $0.015, three times as much. A cost per gigabyte calculator makes that gap obvious.
Printing works the same way. A $34.99 cartridge rated for 350 pages costs about $0.10 per page, and paper adds $0.013, so a printing cost per page calculator would report roughly $0.113. Shipping runs per pound too: $18.40 for 8 lb is $2.30 per lb, while $24.00 for 12 lb is $2.00. The cost of shipping per pound often falls as weight rises.
Calculate Production Cost Per Unit: Average Unit Cost, Fixed Cost and Labor
To calculate production cost per unit, add materials, labor and fixed costs, then divide by the number of units made. Priya, 38, runs a candle business from her garage in Tampa. Each candle uses $2.40 of wax and jars plus $1.10 of labor, and she spends $360 a month on shared rent and equipment across 600 candles.
Her fixed cost per unit is $360 ÷ 600 = $0.60, the number a fixed cost per unit calculator reports. Add $1.10 of labor (a labor cost per unit calculator input) and $2.40 of materials, and her calculate unit cost result is $4.10. To calculate product cost per unit, calculate unit product cost or calculate unit cost of product, you follow the same three lines.
Volume changes the picture. At 1,200 candles the average unit cost drops to $3.80, so an average cost per unit calculator or average unit cost calculator should show the volume it assumed.
With unfinished goods, 600 complete units plus 200 half-converted ones equal 700 equivalent units. At $9,100 of conversion cost, the conversion cost per equivalent unit is $13.00, the single division a cost per equivalent unit calculator or conversion cost per unit calculator performs.
Break Even Price Calculator: Break Even Point With Cost and Revenue
The break even point in units equals fixed costs divided by the selling price minus variable cost per unit. Priya sells each candle for $9.00. After $3.50 of variable cost, each sale contributes $5.50 toward her $360 of fixed costs. Dividing $360 by $5.50 gives 65.45, so she needs 66 candles, or $594 in revenue, to break even.
A break even selling price calculator reverses the question: at 600 candles, the lowest price that covers costs is the full unit cost of $4.10. To find the selling price of each item with profit, a 30% markup gives $5.33, while a 30% margin needs $5.86. A break even point calculator with cost and revenue, a break even cost calculator and a break even price calculator all rest on these divisions.
Small sellers use the same division to turn materials, labor and fixed costs into a cost per candle.
Gram to Tola, Gram to Vori and Gold Price Calculator Math
For a conversion of gram into tola, divide the weight in grams by 11.6638. Wikipedia describes the tola as a South Asian unit of mass standardised at 180 grains, or 11.6638038 grams. A gram to vori calculator uses nearly the same factor, since the vori used in Bangladesh is about 11.664 grams.
Quick values: 10 grams is 0.857 tola, 25 grams is 2.143 and 100 grams is 8.574, while 5 tola weighs 58.32 grams. A gold converter gram to tola tool, gold gram tola conversion, gold tola gram conversion, gold calculator gram to tola or gold gram to vori converter all use that one factor, as does any gram to vori converter.
Price follows weight. If a jeweler quotes $100 per gram (an illustrative number, not a market rate), a tola costs $1,166.38. For 85 grams of gold in pounds, divide by 453.59 to get 0.187 lb. Gold is usually weighed in troy ounces, where 85 grams equals 2.73, or 7.29 tola. A kg to gram price calculator or kg to gram calculator price tool just divides a per-kg price by 1,000.
Unit Price Calculator App vs Excel: Which Is Faster for Comparison Shopping?
A phone app wins in the aisle, and a spreadsheet wins when you track prices across weeks. Many free options exist, so a free unit price calculator app is usually the first stop. The arithmetic underneath is covered in our 4-function calculator guide, and any phone calculator can do it in two taps.
For a unit price calculator in Excel or Google Sheets, put the price in column B and the quantity in column C, then type =B2/C2 in D2 and fill down. Sorting column D from smallest to largest puts the best deal on top. To compare ounces with grams, divide by the quantity times 28.3495 so every row lands in price per gram.
| Factor | App or online calculator | Excel or Google Sheets |
|---|---|---|
| Speed in a store | Fast: type two numbers | Slower: needs a laptop or the mobile app |
| Price history | Usually none | Saves every comparison you enter |
| Unit conversion | Depends on the tool | Add a conversion column once, reuse it |
| Cost | Many free options | Free in Google Sheets and Excel for the web |
| Best for | Quick aisle decisions | Staples, bulk orders and business costs |
💡 Pro Tip
Keep a small conversion table on the same sheet: 28.3495 for ounces to grams, 453.592 for pounds to grams, 1,000 for kilograms to grams. Divide every price by its converted quantity and one formula handles every pack, whatever unit the label uses.
Unit Price Calculator UK, India and Australia: Same Math, Different Units
The formula never changes by country, only the standard unit does. According to the Australian Competition and Consumer Commission, unit prices on Australian grocery shelves appear per litre, kilogram, 100 millilitres, 100 grams, 10 grams or per item, depending on the product, and most large supermarkets must display them.
In the UK, shoppers commonly see prices per kg, per litre or per 100 g, so a unit price calculator UK search mostly needs pounds in place of dollars. A unit price calculator for India works in rupees, with gold quoted per tola or per 10 grams. A unit price calculator Australia shoppers use can mirror the ACCC rule with per 100 g and per 100 mL. Searches ending in oz mean ounces: 28.35 grams, or 29.57 mL for a fluid ounce.
Common Unit Price Mistakes That Make a Bad Deal Look Good
Five errors cause most bad comparisons.
- Comparing weight with volume. A 16 ounce box of pasta and a 16 fluid ounce bottle of oil use different ounces, so compare like with like.
- Using the serving size as the package size. Brands choose their own serving sizes. Use net quantity for price per ounce.
- Averaging unit prices. Averaging per-pack prices overstates cost when pack sizes differ. Add the money, add the units, divide once.
- Buying more than you will use. The ACCC advises against a bigger pack if it is likely to go to waste. A perishable item costs more in practice if a third of it is thrown out.
- Ignoring concentration. Two detergents priced per fluid ounce can differ in strength, so price per load may reverse the ranking.
⚠ Watch Out For This
A lower unit price only beats a higher one when the two products are equivalent and you will use all of it.
What a Unit Price Calculator Saves You in Practice
A unit price calculator saves money in small steps that add up. The per-item gaps here are modest, so the habit matters more than any single purchase.
- It exposes the size trap. The 40 ounce jar cost 1.9% more per ounce than the 28 ounce jar. Size alone tells you nothing.
- It compounds. Ravi’s 5 pound tub saves about $20 per tub, near $238 across 12 tubs. A few staples beat chasing coupons.
- It prices running costs. Daniel’s heater costs about $49 a month at 18.2 cents per kWh. Now he can weigh heating one room against the whole house.
- It protects seller margins. Priya’s $4.10 unit cost shows her $9.00 price leaves $4.90 per candle. She can judge any discount against that number.
The habit pays off on repeat purchases, where a few cents per unit add up over a year.
Frequently Asked Questions About the Unit Price Calculator
What is a unit price calculator?
A unit price calculator divides the total price of a product by its quantity to give a price per ounce, kilogram, litre or item. It lets you compare different package sizes and brands on one scale. The lowest result is the cheapest way to buy the same product, provided the products are equivalent.
How do you calculate unit price by hand?
Divide the total price by the quantity in the package. For a $7.99 jar holding 40 ounces, $7.99 ÷ 40 equals about $0.1998 per ounce. Convert every option to the same unit first, such as grams or fluid ounces, then compare the results.
Is there a free unit price calculator app?
Many free unit price calculator app options exist for iOS and Android, and any phone calculator can do the job. Type the price, divide by the quantity, and repeat for each option. A spreadsheet is a good free alternative if you want to save prices over time.
How do I make a unit price calculator in Excel?
Put prices in column B and quantities in column C, then enter =B2/C2 in D2 and fill the formula down. Sort column D from smallest to largest to see the cheapest option first. Use one unit throughout, or add a conversion factor such as 28.3495 to turn ounces into grams.
How do I calculate energy cost per kWh?
Divide your electricity bill by the kWh used in that period. A $145.60 bill for 800 kWh gives $0.182 per kWh. To price an appliance, multiply its kilowatts by hours used and by that rate. A 1.5 kW heater running 6 hours costs about $1.64 a day at 18.2 cents.
How many tola is 85 grams of gold?
Divide 85 by 11.6638 to get 7.29 tola. The same 85 grams equals 2.73 troy ounces or 0.187 pounds. A vori is about the same size as a tola, so 85 grams is roughly 7.29 vori as well.
How do I convert price per kg to price per lb?
Multiply the price per kg by 0.4536. For example, $6.50 per kg becomes $2.95 per lb. To go from price per lb to price per kg, multiply by 2.2046, so $3.00 per lb is $6.61 per kg.
How do I use a unit price calculator for the UK, India or Australia?
The method is identical everywhere: divide price by quantity. Use pounds in the UK, rupees in India and Australian dollars in Australia. Australian shelf labels usually show price per 100 g, 100 mL, litre or kilogram, so match your units to those. For gold in India, compare per tola or per 10 grams.
Is the bigger package always the better deal?
A bigger package costs less per unit only some of the time. In the peanut butter example, the 28 ounce jar cost $0.1961 per ounce and the 40 ounce jar cost $0.1998. Compare unit prices before assuming, and skip the larger size if you will not finish it before it expires.
Content Researcher · AceCalculator
Amanda Reeds is a Content Researcher at AceCalculator who writes about everyday math, measurement and personal finance tools. She checks each worked example against the underlying formula before publication. Her guides on loan payments, square footage and BMR calculations appear across the AceCalculator blog.
The Bottom Line on Unit Price Math
Divide the total by the quantity, keep the units consistent, and compare. That habit turned a hunch about bulk buying into a $0.0037 per ounce answer, and a $49 monthly figure for a space heater.
A unit price cannot judge quality, freshness, concentration or whether you will use every ounce, and shelf labels sometimes switch units between products. Treat the number as one input, then decide with the rest of the facts in hand.
See How Much I Would Actually Save →