What is rounding to the nearest ten?
Rounding to the nearest ten replaces a number with the closest multiple of 10 — for example, 0, 10, 20, 30, and so on. It is one of the most common forms of rounding, used to simplify numbers, make quick mental estimates, and present tidy figures. This calculator does it instantly for any whole number or decimal.
How to use this calculator
Type any number into the input box and the calculator returns its value rounded to the nearest ten. It works for positive numbers, negative numbers, and decimals alike. The result is always a multiple of 10 that sits closest to your original value.
The formula explained
The rule is $$\text{Rounded} = \left\lfloor \frac{\text{Number}}{10} \right\rceil \times 10$$ First you divide the number by 10, then round that result to the nearest whole number (digits 0–4 round down, 5–9 round up), and finally multiply by 10 to scale back up. The decisive digit is the ones place: if it is 5 or more you round up, otherwise you round down.
Worked example
Take 47. Divide by 10 to get 4.7, round to 5, then multiply by 10 to get 50. Because the ones digit (7) is 5 or greater, 47 rounds up to 50. By contrast, 43 has a ones digit of 3, so it rounds down to 40.
$$\text{Rounded} = \left\lfloor \frac{47}{10} \right\rceil \times 10 = \lfloor 4.7 \rceil \times 10 = 5 \times 10 = 50$$
Rounding Different Types of Numbers Compared
To round to the nearest ten, divide by 10, round to the nearest whole number, then multiply by 10: \(\text{Rounded} = \operatorname{round}(n/10) \times 10\). The units digit decides the result. Digits 0–4 round down, digits 5–9 round up, and a units digit of exactly 5 (with nothing after it) is a tie. The table uses the common school rule, round half up.
| Input | Rounded to nearest 10 | Note |
|---|---|---|
| 47 | 50 | Units digit 7 is 5 or more, so round up. |
| 43 | 40 | Units digit 3 is below 5, so round down. |
| 45 | 50 | Exact tie, so round half up gives 50. |
| 0.4 | 0 | The nearest multiple of 10 is 0. |
| 5 | 10 | Exact tie, so round half up gives 10. Round-half-to-even gives 0. |
| 12.4 | 10 | Only the units digit (2) matters, and the decimals do not change the result here. |
| 16.8 | 20 | 16.8 is closer to 20 than to 10. |
| 1,234 | 1,230 | Units digit 4, so round down. |
| -43 | -40 | -43 is 3 away from -40 and 7 away from -50. |
| -47 | -50 | -47 is closer to -50. |
| -45 | -40 or -50 | Tie. Round half up (toward +∞) gives -40. Round half away from zero gives -50. |
Negative ties and differing conventions
A negative tie such as -45 is exactly halfway between -50 and -40, so the answer depends on the convention:
- Round half up (toward +∞): -45 → -40. JavaScript's
Math.roundbehaves this way, soMath.round(-45/10)*10gives -40. - Round half away from zero: -45 → -50. This is the usual rule in many spreadsheets, such as Excel's
ROUND, and in many textbooks. - Round half to even (banker's rounding): -45 → -40, 45 → 40 and 55 → 60. Python 3's
round(45, -1)works this way.
Positive ties such as 45 and 5 round up under both round half up and round half away from zero. Only negative ties, and half-to-even rounding, produce different answers. Conventions differ between tools and programming languages, so check which rule your software or course uses when values ending in 5 matter.
FAQ
What about a number ending in 5, like 25? Using standard "round half up" rules, 25 rounds to 30.
Does it work with decimals? Yes. For example, 12.4 rounds to 10 and 16.8 rounds to 20.
How are negative numbers handled? They round to the nearest ten as well; for instance, -47 rounds to -50 and -43 rounds to -40.