Negative numbers and decimals are fine. Commas and spaces are ignored.
Number of significant figures to keep, from 1 to 20.
Round to the nearest multiple of this number, such as 5, 0.25 or 50. It must be above 0.
Rounded number
-
What is rounding?
Rounding replaces a number with a simpler number that is close to it. It is used for prices, measurements, test scores, tax and interest figures, and anywhere a long decimal is not needed. This calculator rounds to a place value (such as tens or hundredths), to a set number of significant figures, or to the nearest multiple of any number you choose, and shows the change it caused.
The basic rule
5 or more → round up. 4 or less → round down.
For example, 3.14159 rounded to 2 decimal places is 3.14, because the next digit is 1. And 2.678 rounded to 1 decimal place is 2.7, because the next digit is 7.
Place value, significant figures and multiples
- Place value: round to the nearest ten, hundred, thousand, or to a number of decimal places. 1,234.5678 to the nearest hundred is 1,200.
- Significant figures: keep a number of meaningful digits, counting from the first non-zero digit. 0.000123456 to 3 significant figures is 0.000123, and 987,654 to 2 significant figures is 990,000.
- Nearest multiple: round to steps of any size, such as 5, 50 or 0.25. 3.37 to the nearest 0.25 is 3.25.
Rounding methods
- Round half up (away from zero): the usual school rule. A number exactly halfway, like 2.5, goes up to 3, and −2.5 goes to −3.
- Round half toward +∞: exact halves go to the larger number, so 2.5 becomes 3 but −2.5 becomes −2. Some spreadsheets and programming languages work this way.
- Round half to even (banker's rounding): exact halves go to the nearest even number, so 2.5 becomes 2 and 3.5 becomes 4. It avoids a slight upward bias when many numbers are rounded, and is used in some accounting and statistics work.
- Round up (ceiling): always moves to the next value above. 2.1 becomes 3.
- Round down (floor): always moves to the next value below. 2.9 becomes 2, and −2.1 becomes −3.
- Truncate: cuts off the extra digits toward zero. 2.9 becomes 2, and −2.9 becomes −2.
Why 1.005 rounds to 1.01 here
Many programs, such as JavaScript and Excel-style tools that use binary floating point, show 1.005 rounded to 2 decimal places as 1.00, because the stored value is slightly below 1.005. This calculator works with the exact decimal digits you type, so 1.005 is a true halfway case and rounds to 1.01 under the usual rule (or to 1.00 with banker's rounding).
Good to know
- Round only at the end of a calculation. Rounding in the middle can add up to a noticeable error.
- The "next value down" and "next value up" rows show the two values on either side of your number, which is helpful when you need a floor or ceiling.
- To round a result from a percentage question, try the Percentage Calculator and then round here. For very large or small numbers, see the Scientific Notation Calculator.
Related tools: Scientific Notation Calculator, Decimal to Fraction Calculator and Percentage Calculator.
