Finance
Compare unit prices
Compare two offers by price per unit, dividing each price by its quantity in the same unit. The difference between the two unit prices shows which offer is cheaper.
Enter the price and quantity of both offers; both quantities must use the same unit. You can change every value; the format of decimal results is under More options. Downloads keep your inputs and results, and nothing is saved or sent.
Result
Formula / calculation:
Each unit price is the price divided by the quantity, so the offer with the lower unit price is cheaper per unit. Enter both quantities in the same unit, for example grams or millilitres. A negative difference means offer B is cheaper.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Formula and units are shown with the result. Floating-point arithmetic except exact integer combinatorics/modulo and cent-based bill distribution. For average room rate from your own figures, use the Unit prices, offers and amount costs section below. Choose Single offer unit price, GBP and Whole pieces. Enter room revenue as Offer A price and a positive whole number of room-nights sold as Offer A quantity, using the same period and a consistent revenue basis. Read the per-piece result as revenue per room-night sold. The Single offer CSV and TXT contain the entered numbers and result; keep the period and revenue basis alongside the file. For cost per conversion from your own figures, use the Unit prices, offers and amount costs section. Choose Single offer unit price, GBP and Whole pieces. Enter your chosen total cost as Offer A price and a positive whole number of conversions as Offer A quantity. Both totals must cover the same campaign and period, using the same conversion-event and cost basis. For example, a cost of 1400 GBP and 70 whole conversions gives 20 GBP per entered conversion. The Single offer CSV and TXT retain the entered numbers and result; keep your event definition, period and cost basis separately. Zero conversions are refused. This is not customer acquisition cost, cost per click, a conversion percentage or weighted attribution. No campaign data, taxes, fees or attribution rules are fetched or inferred.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Price A
- 6
- Quantity A (same unit as B)
- 2
- Price B
- 10
- Quantity B (same unit as A)
- 5
- Currency of entered prices
- GBP
Result
- Price per common unit A
- 3 GBP
- Price per common unit B
- 2 GBP
- Unit price B minus A
- -1 GBP
Frequently asked questions
How do I compare unit prices?
Unit price = price divided by quantity, with both quantities in the same unit. For example, 6 for 2 units costs 3 per unit and 10 for 5 units costs 2 per unit.
Can I compare prices in kg and litres?
Only within the same physical dimension: mass converts to kg, volume to L and whole pieces stay pieces. There is no kg to L conversion without density.
What happens if two offers have the same unit price?
Ranking uses exact price and quantity ratios before display rounding, and ties list every cheapest offer.
How do I calculate cost per conversion?
Enter the total cost as the offer price and a positive whole number of conversions as the quantity. A cost of 1400 GBP and 70 conversions gives 20 GBP per conversion.
What limits apply to unit price comparisons?
Prices up to 100 million with at most 2 decimal places; quantities from 0.000001 to 1 billion with at most 6 decimal places. Pieces must be whole.
Does the unit price comparison include shipping or discounts?
No. Quality, shipping, discounts and legal price labelling are not assessed.