Rounding Calculator
Round any number to a chosen number of decimal places, or to the nearest 10, 100 or 1000. Choose half up, half to even (banker’s rounding), round up, round down or truncate.
- 100% free
- No signup
- Runs in your browser
How to use
- Enter the number you want to round. You can use a dot or a comma as the decimal separator.
- Enter the number of decimal places: 2 for hundredths, 0 for whole numbers, -1 for the nearest 10, -2 for the nearest 100.
- Choose a rounding mode. Half up is the usual school rounding.
- Click Calculate or press Enter.
Rounding modes
| Rounding mode | Rounding 2.5 and −2.5 |
|---|---|
| Half up (away from zero) | 3 / −3 |
| Half to even (banker’s rounding) | 2 / −2 |
| Up (ceiling) | 3 / −2 |
| Down (floor) | 2 / −3 |
| Toward zero (truncate) | 2 / −2 |
Half to even rounds a number that is exactly halfway to the nearest even digit, so rounding many values does not drift upward. It is the default in many programming languages and is used in finance and statistics.
Decimal places and significant figures
Decimal places count the digits after the decimal separator: 3.14159 rounded to 2 decimal places is 3.14. Negative places round to the left of the separator: 1234.5 rounded to −2 places is 1200.
Significant figures count from the first non-zero digit instead: 0.004567 to 2 significant figures is 0.0046. To round to significant figures here, choose the number of decimal places that keeps the digits you need.
Examples
| Example | Result |
|---|---|
| 3.14159 to 2 decimal places | 3.14 |
| 2.675 to 2 decimal places | 2.68 (some programs show 2.67 because of binary floating point) |
| 1234.5678 to the nearest hundred (−2) | 1200 |
| 0.125 to 2 places, half to even | 0.12 |