QuickToolbox

Rounding Calculator

Round a number to a chosen number of decimal places or to the nearest 10, 100 or 0.5 using half up, half even, floor or ceiling rules.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

Round half up: floor(x x 10^d + 0.5) / 10^d

Frequently asked questions

What is banker's rounding?

Half to even rounds a tie to the nearest even digit, so 2.5 becomes 2 and 3.5 becomes 4. It avoids a steady upward bias in long sums.

Why can 1.005 round to 1.00?

Computers store 1.005 as a binary value slightly below 1.005, so it correctly rounds down. This tool corrects for that where it can.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools