Maths Precision

Rounding calculator

Number
Decimal places
Or round to the nearest
For example 5, 10, or 0.25
Rounded 3
2.5 to 0 decimal places
Rounded up (ceiling) 3
Rounded down (floor) 2
Truncated 2
Banker's rounding 2
To the nearest multiple
Round once, from the original value

Always rounding .5 upward introduces a small systematic bias, because half the time you round up and never down. Over a million transactions that bias becomes real money. Banker’s rounding sends .5 to the nearest even number instead — 2.5 goes to 2 and 3.5 goes to 4 — so the bias cancels out. It is the default in most financial software and in the IEEE 754 floating-point standard your computer already uses.

Advertisement
320 × 100

Standard rounding sends 2.5 up to 3. Banker’s rounding sends it to 2, the nearest even number, so repeated rounding does not drift upward. Truncation simply drops the decimals, giving 2 for both 2.5 and 2.9.

How to round a number

1 Enter the number and the decimal places you want.
2 Or set a multiple to round to the nearest 5, 10 or 0.25.
3 Compare the methods — they differ exactly at a half.
4 Use banker's rounding for money that will be summed.

Rounding twice is a trap worth knowing about. Rounding 2.44 to one decimal gives 2.4, and rounding that to zero gives 2 — but rounding 2.44 straight to zero gives 2 as well. Try 2.45: to one decimal it is 2.5, and then to zero it is 3, whereas going directly gives 2. Always round once, from the original value, to the precision you actually need. Chained rounding is how a spreadsheet total ends up disagreeing with the sum of its displayed rows.

Questions

Three by standard rounding, two by banker’s rounding. Both are correct conventions.

Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING