How it works
Compare packages by cost per unit of quantity. Use the same unit, such as kilograms or pieces, for every package compared.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Pack price | 12 | Enter a numeric value. Use a non-negative value. |
| Quantity in pack | 6 | Enter a numeric value. Must be greater than zero. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Pack price
- 12
- Quantity in pack
- 6
Complete example results
- Price per unit of quantity
- 2
Reading the result
Match the rate period to the payment period. Fees and taxes absent from the inputs are not added automatically; compare totals with the same cost coverage.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
Can I compare a price per gram with a price per kilogram?
Convert both package quantities to the same unit first. A price of 12 for 500 g is 0.024 per gram; a price of 18 for 1 kg becomes 18 for 1,000 g, or 0.018 per gram. The second package has the lower unit price. This tool does not convert grams to kilograms for you.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.