Rounding Calculator

Round to decimal places, significant figures or the nearest multiple

Round a number to any number of decimal places, significant figures, or to the nearest 5, 10, 100 or any multiple - with half-up, banker's, ceiling, floor and truncate methods compared.
Share
Try an example:
Your result will appear here as you type.

About Rounding Calculator

Formula

Round(x, d) = round(x × 10^d) ÷ 10^d

Worked examples

3.14159

To 2 decimal places: the next digit is 1, so it rounds down to 3.14.

2.5

Half up gives 3; banker's rounding gives 2 (the even neighbour).

How it works

  1. Look at the first digit you drop: 5 or more rounds up (half up).
  2. Banker's rounding sends exact halves to the even digit, avoiding upward bias.
  3. Significant figures count from the first non-zero digit.

What you need

  • A number and what to round it to.

Tips

  • Rounding to −1 decimal places rounds to the nearest 10; −2 to the nearest 100.
  • Prices are often rounded to the nearest 0.05 or 1.

Limitations

  • Precision is limited to about 15 significant digits.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere.

Definitions

Significant figures
Meaningful digits, starting from the first non-zero one.

Frequently asked questions

Why does 1.005 round to 1.01 here but 1.00 in some apps?+

Computers store 1.005 as 1.00499999..., so naive rounding gets it wrong. This calculator shifts the decimal exactly, so it rounds the way you would on paper.

Was this calculator helpful?