1089 number trick: steps, examples, and why it works

The 1089 trick looks surprising because several different starting numbers lead to the same answer. The reason comes from place value: subtracting a number from its reversal makes the middle digit cancel. Let’s try the steps, then use algebra to see why the final sum is always 1089 when the starting digits meet the conditions.

How to do the 1089 trick

  1. Choose a three-digit whole number whose first and last digits are different.
  2. Reverse its three digit positions.
  3. Subtract the smaller of the two numbers from the larger.
  4. Write the difference using three digit positions, adding a leading zero if needed.
  5. Reverse that three-position difference and add the two values.

The result is 1089. The first and last digits must differ so that the subtraction gives a positive difference. Reversing the positions includes a zero at the front when one is needed.

Example: Start with 742

Reverse 742 to get 247, then subtract.

742-247=495

Reverse the difference 495 to get 594 and add.

495+594=1089

Example: A difference with a leading zero

Start with 201 and reverse it to get 102. The difference is 99, which we write as 099 to keep three digit positions.

201-102=099

The reversal of 099 is 990, so

99+990=1089

That leading zero is part of the reversal step, even though 099 and 99 have the same numerical value.

Why the middle digit cancels

Call the larger number N and its reversal R. Let a, b, and c be the hundreds, tens, and ones digits of N. Since N is the larger number and its end digits differ, a is greater than c.

N=100a+10b+c
R=100c+10b+a

Subtracting cancels the two 10b terms and leaves

N-R=99(a-c)

Let d = a − c. Since the end digits are different decimal digits, d is an integer from 1 through 9. The difference is 99d, and we can rewrite it to show its three digits:

99d=100(d-1)+90+(10-d)
Digits of 99d, including a possible leading zero
PositionDigit in the difference
Hundredsd − 1
Tens9
Ones10 − d

Both d − 1 and 10 − d are single digits. Reversing the three positions therefore gives

100(10-d)+90+(d-1)

When we add the difference and its reversal, the hundreds digits total 9, the two tens contributions total 180, and the ones digits total 9.

900+180+9=1089