Number rounding calculator

Round to a place using a chosen tie-breaking rule.

Calculation inputs

Rounded number

2
QR code

How the calculation works

Place 0 rounds to ones, 2 to hundredths and −1 to tens. A tie-breaking rule applies exactly halfway between adjacent values when rounding to nearest. You can also round down, up or toward zero.

Example

When rounding 2.5 to a whole number, ties to even gives 2 and ties away from zero gives 3.

Rounding ties to even — NIST SP 811, B.7

Method checked