Enter your values
Your result will appear here.
What is a banker's rounding calculator?
Banker’s rounding is the round-half-to-even rule. Values below or above the midpoint go to the nearest neighbor normally; only an exact tie changes the decision. At a tie, the result whose last retained digit is even is selected, so 12.345 becomes 12.34 while 12.355 becomes 12.36 at hundredths.
Important terms
- Halfway case
- A value exactly equidistant from the two neighboring multiples of the target unit.
- Even neighbor
- The candidate whose last retained digit is 0, 2, 4, 6, or 8.
- Unbiased tie-breaking
- A tie rule that avoids always moving halfway values in the same magnitude direction.
- Guard digit
- The first discarded digit; a 5 with no following nonzero digits indicates an exact tie.
When this method is useful
- Reproducing IEEE-style roundTiesToEven behavior.
- Reducing systematic upward bias across repeated independent rounding operations.
- Auditing financial or statistical systems that specify half-even.
- Comparing tie behavior with schoolbook half-up rounding.
Banker's Rounding Calculator
At an exact tie, select the even retained digit
12.345 is exactly halfway → choose the even neighbor.
Formula and variables
- x
- the original value
- p
- the requested decimal-place count
- k
- the scaled integer candidate
- Bₚ(x)
- the half-even rounded result
The ordinary distance test selects the nearest target-place multiple. If both candidates are equally distant, parity of the scaled integer k decides the result.
Domain note: Only exact halfway cases use parity. A discarded sequence such as 5001 is greater than half and rounds to the farther-magnitude neighbor regardless of evenness.
How the rule makes its decision
How to use this calculator
- 1
Enter the value and target place.
- 2
Identify the neighboring multiples of the target unit.
- 3
Compare the value’s distance from each neighbor.
- 4
If the distances differ, choose the nearer neighbor.
- 5
If the distances are exactly equal, choose the candidate with an even last retained digit.
Step-by-step examples
Example 1
Problem: Round 12.345 to two decimal places using banker’s rounding.
Substitution: 12.345 is halfway between 12.34 and 12.35; retained candidates end in 4 and 5
Result: 12.34
The hundredths digit 4 is even, so the lower neighbor wins the tie.
Example 2
Problem: Round 12.355 to two decimal places.
Substitution: Halfway between 12.35 and 12.36
Result: 12.36
The even hundredths candidate is 6, so this tie moves away from zero.
Example 3
Problem: Round −2.25 to one decimal place.
Substitution: Halfway between −2.2 and −2.3
Result: −2.2
The tenths digit 2 is even; sign does not change the parity test.
Worked rounding example
The tie can move either direction; parity, not “up” or “down,” decides.
Rules, edge cases, and related ideas
Parity applies after scaling
Evenness belongs to the last retained digit, not necessarily the original whole-number units digit.
Symmetry around zero
Positive and negative ties use the same even-candidate test.
Reduced aggregate bias
Alternating tie directions by parity can reduce persistent one-direction drift over many rounded values.
Edge cases and limitations
- A guard digit 5 followed by any nonzero digit is above halfway, not a tie.
- If the value is already exact, parity is irrelevant.
- Negative-place rounding tests parity at tens, hundreds, or the selected larger unit.
- Rounding intermediate results repeatedly can still cause double-rounding differences.
How this differs from a related concept
Half-even differs from Half Up and Half Down only at exact ties. Half Up chooses away from zero, Half Down chooses toward zero, while half-even chooses by retained-digit parity.
Understand the result
A half-even result is always one of the two nearest target-place neighbors. The method differs from other nearest rules only at exact ties.
Common mistakes
- Sending every guard digit 5 to the even neighbor without checking later digits.
- Checking the wrong digit for evenness.
- Assuming banker’s rounding always rounds downward.
- Confusing half-even with Round Down.
- Rounding an already rounded intermediate value instead of the original.
Frequently asked questions
Why is it called banker’s rounding?
The nickname is commonly used for round-half-to-even, especially in financial and technical contexts, although the formal rule name is clearer.
Does it always round 5 down?
No. It chooses the even neighbor: 2.5 becomes 2, but 3.5 becomes 4.
What if digits follow the 5?
If any following digit is nonzero, the value is above the exact midpoint and rounds to the nearer neighbor normally.
How are negative ties handled?
Use the same parity rule. For example, −2.5 rounds to −2 and −3.5 rounds to −4 at whole numbers.
Does half-even eliminate all rounding error?
No. It changes tie bias, but every inexact rounded value still has an individual rounding difference.