Rounding Calculator

Round any number to as many decimal places as you need, or to the nearest whole number, 10, 100 or 1,000. Pick half up, half even (banker's rounding), always up or always down, see every mode side by side, and follow the steps. Everything runs in the browser.

  • Decimal places or nearest 10, 100, 1,000
  • Half up & banker's rounding
  • Ceiling & floor
  • Stays on your device

Step by step

  1. Round 3.14159 to 2 decimal places using half up.
  2. Digits being dropped: 159 (less than half).
  3. Half up: the dropped part is less than half, so the kept digits stay the same.
  4. Answer: 3.14

Numbers stay on this device. Nothing is uploaded, and there is no account.

Rounding replaces a number with a shorter one that is close to it. The four modes differ only in what they do with the digits you drop:

  • Half up: 5 or more rounds away from zero, 4 or less stays. 2.45 → 2.5 and −2.45 → −2.5 at one decimal place.
  • Half even (banker's): like half up, except an exact half goes to the even neighbor. 2.45 → 2.4 but 2.55 → 2.6.
  • Always up (ceiling): toward positive infinity. 2.41 → 2.5 and −2.49 → −2.4.
  • Always down (floor): toward negative infinity. 2.49 → 2.4 and −2.41 → −2.5.

Example: round 1,234.5678 to 2 decimal places. The digits after the hundredths place are 78, which is more than half of 100, so half up and half even both give 1,234.57. Always up also gives 1,234.57, and always down gives 1,234.56.

Dividing first? The long division calculator shows every step and the decimal answer to round. For very large or very small numbers, use the scientific notation calculator, raise numbers to a power with the exponent calculator, round to significant figures with the significant figures calculator, or browse more tools in the Math hub.

How to use the rounding calculator

  1. Type the number you want to round. Commas, minus signs and E notation like 1.5e3 are fine.
  2. Choose decimal places and enter how many, or pick the nearest whole number, 10, 100 or 1,000.
  3. Pick a rounding mode: half up, half even, always up or always down.
  4. Read the rounded answer, the steps, and how every other mode would round the same number.

Frequently asked questions

How do you round a number?

Find the place you are rounding to, then look at the digit just to its right. If that digit is 5 or more, add 1 to the place you are keeping; if it is 4 or less, leave it alone. Then drop every digit after the kept place. For example, 3.14159 rounded to 2 decimal places is 3.14, because the next digit is 1.

What does rounding half up mean?

Half up is the rounding most people learn in school. When the part you drop is exactly half, like the 5 in 2.5, the number rounds away from zero, so 2.5 becomes 3 and 7.25 becomes 7.3 at one decimal place. For negative numbers, this calculator also rounds the half away from zero, so −2.5 becomes −3.

What is banker's rounding (round half to even)?

Banker's rounding, or half even, only changes how exact halves are handled. A half rounds to whichever neighbor ends in an even digit, so 2.5 becomes 2, 3.5 becomes 4 and 2.665 becomes 2.66. Because halves go up as often as they go down, totals of many rounded values stay closer to the true total. It is the default in many accounting systems and in the IEEE 754 standard.

What is the difference between always up and always down?

Always up (ceiling) rounds toward positive infinity, so any leftover amount bumps the number up: 2.01 becomes 3. Always down (floor) rounds toward negative infinity, so the extra digits are simply dropped for positive numbers: 2.99 becomes 2. They are useful when you must never come in under or over a limit, like ordering enough boxes or staying within a budget.

How are negative numbers rounded?

With half up and half even, a negative number rounds the same way as its positive twin and keeps the minus sign, so −3.14159 to 2 places is −3.14. Ceiling and floor follow the number line: the ceiling of −2.7 is −2 (closer to zero), and the floor of −2.1 is −3 (further from zero). The calculator shows every mode side by side so you can compare.

How do I round to the nearest 10, 100 or 1,000?

Choose “Nearest 10,” “Nearest 100” or “Nearest 1,000.” The calculator looks at the digit just right of that place. Rounding 1,234 to the nearest 100 gives 1,200 because the tens digit is 3; rounding 1,250 to the nearest 100 gives 1,300 with half up but 1,200 with half even.

Why do some calculators round 1.005 to 1.00?

Many programs store numbers in binary, and 1.005 is actually saved as 1.00499999…, so it rounds down to 1.00. This rounding calculator does exact decimal math on the digits you type, so 1.005 rounded to 2 decimal places is 1.01 with half up, just as you would do it by hand.

Is rounding the same as truncating?

Not quite. Truncating cuts off the extra digits without looking at them, so 2.99 becomes 2 and −2.99 becomes −2. That matches always down for positive numbers and always up for negative numbers. Rounding to the nearest value looks at what you drop, so 2.99 rounds to 3. Everything runs in your browser, and nothing is uploaded.