Boneyard Tools

Rounding Calculator

Round any number to a set number of decimal places, or to the nearest multiple such as 5, 10, or 0.25. Pick the rounding rule, including bankers rounding, and negatives are handled correctly.

How to round a number

  1. Enter the number you want to round.
  2. Choose decimal places, or a multiple to round to the nearest.
  3. Pick a rounding mode and copy the result.

Examples

Round to 2 decimal places

2.567 to 2 places
2.57

Round to the nearest 10

47 to nearest 10
50

Frequently asked questions

What is the default rounding mode?

The default is half up, which rounds a tie of exactly one half away from zero. So 2.5 rounds to 3 and -2.5 rounds to -3.

What is bankers rounding?

Bankers rounding, also called round half to even, rounds a tie to the nearest even digit. So 2.5 rounds to 2 and 3.5 rounds to 4. It reduces bias when rounding many values.

How do ceiling, floor, and truncation differ?

Ceiling always rounds up toward positive infinity, floor always rounds down toward negative infinity, and truncation drops the extra digits toward zero. For -2.7 they give -2, -3, and -2 respectively.

How do I round to the nearest 5 or 0.25?

Enter the multiple in the nearest field. The calculator divides by that multiple, rounds with your chosen mode, then multiplies back, so 47 to the nearest 10 is 50.

Does it round negative numbers correctly?

Yes. Each mode is applied with the value's sign in mind, so floor of -2.7 is -3 while truncation of -2.7 is -2.

Related tools