Skip to content
OddMaths
Back to Weird Numbersweird numbers

The 1089 Trick: Pick Any Number and I'll Predict Your Answer

Pick a three-digit number, reverse it, subtract, then reverse the answer and add. Whatever you started with, you always end up at 1089, and the reason takes only eight lines to check.

Here's a trick where you can write the answer on a slip of paper before your friend has picked their number.

The Trick

Ask a friend to follow these steps in secret, with a pencil:

1. Pick a three-digit number where the first and last digits are at least 2 apart. For example, 532 (5 and 2 are 3 apart).
2. Reverse the digits to make a second number: 235.
3. Subtract the smaller from the larger: 532 − 235 = 297.
4. Reverse that answer: 792.
5. Add the last two numbers: 297 + 792 = 1089.

Before they even started, you wrote down 1089. And you were right!

Try it with a different number. Start with 825:

825 − 528 = 297
297 + 792 = 1089

Or 741:

741 − 147 = 594
594 + 495 = 1089

Different start, same finish. How is that possible?

Stop and Think

Look at the numbers you get in step 3: 297, 297 and 594.

Hint 1: Try three or four more starting numbers, and write down just the answer to step 3.
Hint 2: Try dividing each of those answers by 99.
Hint 3: How many different answers could step 3 possibly give?

Why Does It Work?

Write the starting number as three digits: hundreds, tens and units. Call them a, b and c. So 532 has a = 5, b = 3 and c = 2.

When you reverse it, the hundreds and units swap places. The tens digit stays right where it is. So when you subtract, the tens digit cancels out. The only thing that matters is how far apart a and c are.

It turns out the answer to step 3 is always 99 times the gap between the first and last digits. For example, 5 − 2 = 3, and 99 × 3 = 297.

The gap can only be 2, 3, 4, 5, 6, 7, 8 or 9. So step 3 can only ever give one of eight answers:

99 × 2 = 198
99 × 3 = 297
99 × 4 = 396
99 × 5 = 495
99 × 6 = 594
99 × 7 = 693
99 × 8 = 792
99 × 9 = 891

Now check what happens in steps 4 and 5 for each one. You reverse the number and add:

198 + 891 = 1089
297 + 792 = 1089
396 + 693 = 1089
495 + 594 = 1089
594 + 495 = 1089
693 + 396 = 1089
792 + 297 = 1089
891 + 198 = 1089

Every single one gives 1089. That's the whole trick: lots of different starting numbers all funnel into only eight possible middle answers, and every one of those leads to 1089.

(We checked all 640 numbers that fit the rule by computer, and every one ends at 1089.)

What If You Break the Rules?

Try a number where the first and last digits are the same, like 343. Reverse it and you get 343 again, so 343 − 343 = 0, and the trick breaks.

If the first and last digits differ by only 1, the subtraction gives 99, which has only two digits. The trick still works if you write it as 099 (reversing gives 990, and 99 + 990 = 1089), but it's a fiddly special case. That's why the trick says "at least 2 apart".

Try It Yourself

Do the trick. Start with 841. Do all five steps. What do you get?

Your own number. Make up your own number and test it. Does it end at 1089?

Break it. Try 454. What happens, and why?

Why the middle digit? If you change only the middle digit of your starting number (say, 532 to 582), does the answer to step 3 change?

Check your answers: 841 − 148 = 693, then 693 + 396 = 1089. For 454, the digits reverse to the same number, so the subtraction gives 0 and the trick doesn't work. And changing the middle digit doesn't change step 3: 582 − 285 = 297, just like 532 − 235.

The OddMaths Takeaway

A trick that looks like magic is often a tiny maths machine in disguise. Here the machine squeezes lots of different numbers into just eight possible answers, and every one of them ends at 1089.

Write 1089 on a card, seal it in an envelope, and let your friends do the maths. They'll be amazed, and now you know why it works.

🎯 Test Your Skill

Write the answer down before they start.