Skip to content

About the Rounding Calculator

Round a number to a chosen number of decimal places with the rounding rule you pick: half up, half to even, up, down or toward zero.

How to use it

Examples

Questions

How is it calculated?
round(x × 10^p) ÷ 10^p with the chosen tie-breaking rule, in exact decimal arithmetic
What does it assume?
The input is read as an exact decimal, so 1.005 is exactly 1.005 and rounds to 1.01 (half up), unlike binary floating point.
Is my input uploaded?
No. Everything is calculated in your browser tab and nothing is uploaded or stored.

Free and runs in your browser. Sign in only if you want to save your work.