How Does Mysterious numbers Kaprekar’s Constants 6174 and 495 Work?

Your brain loves patterns, and two special numbers 6174 and 495 act like quiet magnets that pull random digits toward them through a simple sorting game.

The Sorting Game Explained

Imagine you have four number blocks on your kitchen floor. You pick any four digits, even if they are all the same or in a messy order. To find out why these numbers matter, follow this recipe: make the biggest number possible with those digits, then subtract the smallest number possible from it. Take that result and do the exact same thing over and over again.

Let's try it with 3524.

  1. Make the biggest number: 5432
  2. Make the smallest number: 2345
  3. Subtract: 5432 - 2345 = 3087

Now use 3087. Biggest is 8730, smallest is 0378. Subtract again: 8730 - 0378 = 8352.

Do it once more, and you hit 6174! If you keep going with 6174, the answer never changes because the biggest version (7641) minus the smallest (1467) equals 6174 again. It has reached a steady state, like a toy car finally rolling to a stop at the bottom of a ramp.

Why 495?

If you use only three digits instead of four, the magnet is slightly weaker but just as strong. You will always arrive at 495. It works exactly the same way: sort high and low, subtract, repeat. Whether you start with 123 or 789, the math pulls you toward that specific three-digit number.

These constants are not born from complex rules but from how digits naturally balance out when forced into order. They show us that even messy starting points can find a calm center.

Take the quiz →

Examples

  1. Take your age, shuffle the digits to make the biggest and smallest numbers, subtract them, and repeat until you land on a magic number.
  2. Imagine four blocks with weights. Stack them heavy first for one pile and light first for another, then see how the difference always finds 6174.

Ask a question

See also

Discussion

Recent activity