Rounding Calculator
Round to a decimal place, to significant figures or to the nearest fraction, choose the rounding rule, and compare every method side by side.
How to use the Rounding Calculator
- Pick what you want to work out using the tabs: Decimal place, Significant figures or Nearest fraction.
- Enter Number.
- Choose Round to the nearest.
- Choose Rounding method.
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
How rounding works
To round to a place, look at what comes after it. If the dropped part is less than half a unit in that place, round down; if it is more than half, round up. Rounding 1,234.56789 to the nearest hundredth keeps 1,234.56 and drops 0.00789, which is more than half of 0.01, so the result is 1,234.57. The calculator uses exact decimal arithmetic, so it never suffers from the binary errors that make some software round 1.005 to 1.00.
The tie-breaking rules
Methods only differ when the dropped part is exactly half, or when you want to always go one way:
| Method | 2.5 | 3.5 | −2.5 | Notes |
|---|---|---|---|---|
| Half up | 3 | 4 | −2 | ties go toward +∞ |
| Half down | 2 | 3 | −3 | ties go toward −∞ |
| Half away from zero | 3 | 4 | −3 | the school rule, used by most spreadsheets’ ROUND |
| Half to even (banker’s) | 2 | 4 | −2 | ties go to the even neighbour |
| Ceiling | 3 | 4 | −2 | always up |
| Floor | 2 | 3 | −3 | always down |
| Truncate | 2 | 3 | −2 | chop the digits off |
Banker’s rounding is the default in many programming languages and in the IEEE 754 standard. When you round a long list of values that often end in 5, always rounding ties up pushes the total upward. Rounding ties to even sends half of them down, so the errors cancel on average.
Significant figures
Significant figures count the meaningful digits, starting at the first non-zero one. 0.00456789 to 3 significant figures is 0.00457, or 4.57 × 10⁻³. Leading zeros never count. Trailing zeros after a decimal point do count, so rounding 9.996 to 3 significant figures gives 10.0, and that final zero is kept to show the precision.
Nearest fraction
Woodworking, cooking and imperial measurements often need the nearest 1/8 or 1/16 rather than a decimal. Multiply by the denominator, round to a whole number, and divide back: 3.14159 × 8 = 25.13, which rounds to 25, so the nearest eighth is 25/8 = 3 1/8. The calculator also reports the rounding error so you can judge whether a finer fraction is worth it.
Tips
- Round only the final answer. Rounding at every step lets errors build up.
- Money is normally rounded half away from zero to the cent, but check local rules for cash rounding and tax.
Frequently asked questions
What is banker's rounding?
Rounding half to even: a value exactly halfway is rounded to the neighbour whose last digit is even. 2.5 becomes 2 and 3.5 becomes 4. It avoids an upward bias when many values are rounded.
How do I round to 2 decimal places?
Choose “Hundredths (0.01)” as the place. Look at the third decimal digit and beyond: more than half rounds the second digit up, less than half leaves it.
Do leading zeros count as significant figures?
No. In 0.0045 only the 4 and the 5 are significant. Zeros between non-zero digits, as in 405, always count.
What is the difference between rounding and truncating?
Truncating simply cuts off the extra digits, so 2.99 truncated to one decimal is 2.9. Rounding looks at the dropped digits and would give 3.0.