Unit price
Calculate unit price and see the working behind your result.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
Price per unit = total cost / quantity
Variables & units
- Total cost
- Numeric value · minimum 0, maximum 1000000
- Number of units
- Numeric value · minimum 0.000001, maximum 1000000
Worked example
240 for 8 units is 30 per unit.
Assumptions
Quantity must be positive; currency is the same as your cost input.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.