Rounding calculator

Decimal places may be negative. Significant figures must be positive.

Distinguish a rounded value from a display

Choose decimal places or significant figures, then enter the digits and a rounding mode. Decimal places can be negative to round tens, hundreds and larger positions. Significant figures must be positive.

Halves away from zero and halves to even differ at a tie. The other choices move toward zero, away from zero, down toward negative infinity, or up toward positive infinity. This operation changes the value; choosing a result presentation only changes its display. A fraction made from a stored approximation keeps that origin label.

Worked example: 1.005 to two decimal places

At scale 0.01, 1.005 lies halfway between 1.00 and 1.01. Halves away from zero gives 1.01; halves to even gives 1.00 because the retained hundredths digit is even.

For −2.5 to zero decimal places, halves away from zero gives −3, while halves to even gives −2. Rounding 999 to two significant figures gives 1000.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.