Rounding Numbers Calculator
Enter a number, choose the rounding method, specify how many decimal places you want, and see the result.
How to use this calculator?
- Enter the number in the Number field.
- Choose the rounding method in the Round to field (e.g. ceil).
- Enter the maximum number of decimals in the Decimals field.
- Click on the Calculate button.
- See your rounded number in the Result field.
Rounding methods
There as several rounding methods in this calculator:
- Round up - 1.01 with 0 decimals is rounded to 2.
- Round down - 1.99 with 0 decimals is rounded to 1.
- Round half up - 1.5 with 0 decimals is rounded to 2.
- Round half down - 1.5 with 0 decimals is rounded to 1.
- Round half even - 1.5 with 0 decimals is rounded to 2 (if equidistant, rounds towards nearest even number).
- Ceil - 1.01 with 0 decimals is rounded to 2 (rounds towards infinity).
- Floor - 1.99 with 0 decimals is rounded to 1 (rounds towards -infinity).
Examples
Number | Rounding method | Decimals | Result |
---|---|---|---|
12.43123 | Round up | 2 | 12.44 |
7.45 | Round half up | 1 | 7.5 |
7.45 | Round half down | 1 | 7.4 |
5.99 | Round down | 0 | 5 |