Rounding Calculator
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Inputs
Negative rounds to the left of the point: −1 = tens, −2 = hundreds.
Results
- Rounded
- —
Every rule
- Half up (school rounding)
- —
- Half to even (banker's)
- —
- Round up (ceiling)
- —
- Round down (floor)
- —
- Truncate (toward zero)
- —
- Away from zero
- —
Your input is too long to share as a link, so the page address no longer includes it.
Rounding looks simple until you meet a 5 at the end or a negative number. This calculator rounds exactly, digit by digit, and shows every common rule so you can pick the one your teacher, bank or spreadsheet uses.
How to use it
- Type the number.
- Choose the decimal places (or tap 10, 100, 1,000 to round to tens, hundreds, thousands).
- Pick the rule, or compare them all.
Examples: 2.345 to 2 places is 2.35 half up but 2.34 half to even. −2.5 to a whole number is −3 half up and −2 half to even. 1234.5678 to the nearest hundred is 1200.
Questions and answers
What is banker's rounding?
Halves go to the nearest even digit: 2.5 → 2, 3.5 → 4. Over many numbers the ups and downs cancel out, so totals don’t drift. It’s the default in many programming languages and in accounting.
Why do some calculators round 2.345 to 2.34?
Computers store 2.345 in binary as 2.34499999…, so naive code rounds it down. This tool works with the decimal digits you typed, so 2.345 really is halfway.
Link with pre-filled values
Add # and these parameters to the end of this page's address to open the tool with values already filled in.
| Parameter | What it sets |
|---|---|
number | The number to round. |
places | Decimal places; negative for tens (−1), hundreds (−2)… |
mode | halfup, halfeven, ceil, floor, trunc or up. |
Example: https://toolabelle.com/rounding-calculator/#number=2.345&places=2&mode=halfeven