Rounding Calculator

Round a number to any place from the sixth decimal place to the thousands. The results of four rounding methods are shown side by side.

Method to show large
Rounded result — The value copied is the large result, without commas. When you round to a decimal place, the result keeps its trailing zeros (for example, 1.5 rounded to 2 decimal places is 1.50).

The four rounding methods

The methods differ in how they treat the digit just below the place you round to (for example, the first decimal place when you round to the ones place).

Method That digit is 0 to 4 That digit is 5 That digit is 6 to 9
Round half up Down Up (away from zero) Up
Round down Down Down Down (every digit below the place is dropped)
Round up Up (when any nonzero digit follows) Up Up
Round half to even Down Only when it is exactly half, to the neighbor whose last digit is even (above half, up) Up

How negative numbers are rounded

For every method, the tool rounds the absolute value (the number without its sign) and then puts the sign back. The results for positive and negative numbers are therefore mirror images.

This differs from the "floor" function (always toward minus infinity) and the "ceiling" function (always toward plus infinity). With a floor function, −1.5 becomes −2 and so does −1.2. In this tool, "round down" means toward zero and "round up" means away from zero. When the rounded result is 0 (for example, −0.4 rounded to the ones place), the tool shows 0, not "-0".

Examples

The calculation uses exact fractions. For example, many programs store 1.005 as 1.00499… (a binary floating-point number), which can make "round half up" give 1.00 instead of 1.01. This tool treats 1.005 as exactly 1.005.

Notes

Frequently asked questions

What is the difference between round half up and round half to even?

They differ only when the digit below the place is exactly 5 followed by nothing else (an exact tie). Round half up always sends a tie away from zero (2.5 → 3, 3.5 → 4). Round half to even sends it to the even neighbor (2.5 → 2, 3.5 → 4). Anything that is not an exact tie is rounded to the nearer value by both methods.

When is banker's rounding used?

When many rounded numbers are added up, rounding every tie upward makes the total drift upward. Rounding ties to the even neighbor sends about half of them up and half down, so the drift is smaller. It is used where a standard or a system requires it, such as some accounting rules, statistics software and programming-language libraries. Check the rule that applies to your own work.

Does rounding down a negative number move it toward zero?

In this tool, yes: −1.5 rounded down is −1, because the tool rounds the absolute value down and then restores the sign. A calculation that always moves to the smaller number on the number line (−2 in this case) is a different operation (the floor function).

Does this tool offer "round half down"?

No. "Round half down" (a tie goes toward zero, so 2.5 → 2, while anything above half goes up) is not one of the methods shown. The methods here are round half up, round down, round up and round half to even.