Rounding Calculator
Round a number to any decimal place, to significant figures, or to the nearest 10, 100 or 1,000 – using the rounding rule you need. The result shows the deciding digit and why the number went up or down.
Use the calculator above for your own numbers. Below, we explain how the Rounding calculator works, with worked examples and sources.
How rounding works
- Find the place you are rounding to (for example the hundredths place for 2 decimal places).
- Look at the digit immediately to the right – the deciding digit.
- If it is 0–4, leave the rounding digit unchanged and drop everything after it.
- If it is 5–9, add 1 to the rounding digit (carrying if needed) and drop the rest.
- If the deciding digit is exactly 5 with nothing after it, the result depends on the tie-breaking rule.
Example: 3.14159 to 2 decimal places. The rounding digit is 4, the deciding digit is 1, so the answer is 3.14. To 3 decimal places the deciding digit is 5 followed by 9, so 3.141 becomes 3.142.
Rounding modes compared
| Mode | Rule for an exact .5 | 2.5 → | 3.5 → | −2.5 → |
|---|---|---|---|---|
| Half up | Round toward +∞ | 3 | 4 | −2 |
| Half away from zero | Round away from zero | 3 | 4 | −3 |
| Half even (banker's) | Round to the nearest even digit | 2 | 4 | −2 |
| Half down | Round toward −∞ | 2 | 3 | −3 |
| Up (ceiling) | Always toward +∞ | 3 | 4 | −2 |
| Down (floor) | Always toward −∞ | 2 | 3 | −3 |
| Truncate | Drop the extra digits | 2 | 3 | −2 |
Half even avoids the small upward bias that half up creates when many tied values are rounded, which is why spreadsheets' statistical functions, many programming languages and some accounting systems use it.
Is 7.5 rounded up or down?
Under the usual school rule (half up) 7.5 rounds up to 8. Under banker's rounding it also becomes 8, because 8 is the nearest even number – but 6.5 would round down to 6. Always check which rule an exam, spreadsheet or invoice expects.
Rounding to the nearest 10, 100 or 1,000
| Number | Nearest 10 | Nearest 100 | Nearest 1,000 |
|---|---|---|---|
| 1,234 | 1,230 | 1,200 | 1,000 |
| 1,250 | 1,250 | 1,300 | 1,000 |
| 8,765 | 8,770 | 8,800 | 9,000 |
| 49,999 | 50,000 | 50,000 | 50,000 |
The same rule applies: look at the digit to the right of the place you are rounding to. 1,250 to the nearest hundred has a deciding digit of 5, so it becomes 1,300 under half up.
Significant figures
Significant figures count from the first non-zero digit. 0.004567 to 2 significant figures is 0.0046; 45,678 to 2 significant figures is 46,000. Leading zeros are never significant, trailing zeros after a decimal point are (2.50 has three significant figures), and trailing zeros in a whole number such as 46,000 are ambiguous unless written in scientific notation (4.6 × 10⁴).
Why software sometimes rounds 1.005 to 1.00
Computers store most decimals in binary floating point, and 1.005 is actually stored as 1.00499999999999989… Rounding that value to two places gives 1.00, not 1.01. This calculator rounds the decimal number you typed, so 1.005 correctly becomes 1.01 under half up. In spreadsheets and code, use decimal types or round in steps if exact results matter.
Rounding money and measurements
- Round only at the final step – rounding intermediate results adds up small errors.
- For money, round to the smallest currency unit (cents); totals of rounded line items may differ by a cent from the rounded total.
- For measurements, match the precision of your least precise input (a length measured to 0.1 cm should not be reported to 0.001 cm).
Rounding in Excel, Google Sheets and code
| Tool | Function | Tie rule |
|---|---|---|
| Excel / Google Sheets | ROUND(number, digits) | Half away from zero |
| Excel / Google Sheets | ROUNDUP / ROUNDDOWN | Always away from / toward zero |
| Excel / Google Sheets | MROUND(number, multiple) | Nearest multiple, e.g. nearest 0.05 |
| Python 3 | round(x, n) | Half to even (banker's) |
| JavaScript | Math.round(x) | Half toward +∞ (−2.5 → −2) |
Because tools use different tie rules, the same data can give slightly different totals in a spreadsheet and in code. Pick one rule and apply it consistently.
Sources
- NIST – Guide for the Use of the International System of Units (SP 811), rounding rules — nist.gov/pml/special-publication-811
Results are estimates for information only. Last reviewed: .

Written & built by
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators, turning official tax tables and published formulas into tools anyone can check.
FAQ
Frequently asked questions
Quick answers about the Rounding calculator.
2.5 – the deciding digit 7 is 5 or more, so the 4 rounds up.
Look at the first decimal digit: 0–4 round down, 5–9 round up. 12.49 becomes 12; 12.5 becomes 13 under half up.
Another name for round half to even: ties go to the nearest even digit, so 2.5 → 2 and 3.5 → 4.
Under half away from zero, yes (−2.5 → −3). Under half up, ties move toward positive infinity (−2.5 → −2).
To make numbers easier to read and compare, to match the precision of measurements, and to report money in whole currency units.
Still have a question? Email support@tuffsearch.com
Keep exploring
Related calculators
More calculators people use alongside this one.
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators, turning official tax tables and published formulas into tools anyone can check.
- Rounding CalculatorMathYou are here
- Alabama Paycheck CalculatorFinance · Paycheck
- Alaska Paycheck CalculatorFinance · Paycheck