2048 · Guides

The maths behind 2048

Powers of two, a fixed spawn probability, and a board that shrinks as you succeed. A short look at why the game is shaped the way it is.

2048 is a small system with clean rules, which makes it unusually easy to reason about. A few facts explain most of what makes it difficult.

Everything is a power of two

Every tile value is 2 raised to some power: 2, 4, 8, 16 and so on. A tile of value 2^n was built from exactly 2^(n-1) original tiles of value 2, assuming no 4s spawned along the way.

A 2048 tile is 2^11, so it represents 1024 original tiles merged together. Since the board holds 16 cells, you are compressing a thousand spawns into one cell.

The spawn probability

Each new tile is a 2 with probability 0.9 and a 4 with probability 0.1. That 10% chance of a 4 is more significant than it looks: a 4 arrives having skipped one merge, which slightly accelerates progress but also means one fewer scoring merge.

It also adds variance. A 4 spawning in a cell where you needed a 2 can break a planned merge, and there is nothing you can do about it.

The board effectively shrinks

This is the key structural insight. Once you have a 2048 tile, it occupies one cell and can never merge with anything until you build a second 2048 — which takes hundreds of moves. For that whole period you are playing on 15 cells.

Build a 1024 as well and you are on 14. A 512 too and you are on 13. The better you do, the less room you have, which is why the difficulty curve is so steep at the top.

Highest tileCells effectively lockedUsable board
5121–214–15
10242–313–14
20483–412–13
40964–511–12

This is why the snake matters

An ordered chain means the locked cells are adjacent and can cascade. Scattered large tiles lock the same number of cells with none of the benefit.

The theoretical maximum

The largest reachable tile is 131,072, which is 2^17. Getting there requires the board to hold a perfect descending chain — 131072, 65536, 32768 and so on down — filling every cell.

It has been achieved by human players, but it requires both flawless play and a long run of favourable spawns. The practical ceiling for good players is 8192 or 16384.

Why one merge per tile per move

Without this rule, a row of 2, 2, 2, 2 would collapse to a single 8, and boards would compress far too easily. The rule keeps the compression rate low enough that the board fills up, which is what creates the difficulty.

It also creates a real decision: the order of your presses changes which pairs form, so identical-looking boards can develop very differently depending on which direction you choose.

Is 2048 solvable?

Not in the sense of a guaranteed strategy. Because spawn positions are random, there exist sequences of spawns that defeat any strategy. What good play does is make those sequences rare rather than impossible.

Computer players using expectimax search — evaluating the expected value across all possible spawns — reach 32768 reliably, which is well beyond what humans manage. But even they lose sometimes.

What to remember

  • A 2048 tile represents roughly 1024 merged spawns compressed into one cell.
  • New tiles are 2s 90% of the time and 4s 10%.
  • Large tiles lock cells, so the usable board shrinks as you improve.
  • The theoretical maximum tile is 131,072.
  • No strategy guarantees success, because spawn positions are random.

Common questions

Could a computer always win?

No. Some spawn sequences are unwinnable, though a strong search makes them very rare.

Why 2048 and not some other target?

It is simply where the original game declared a win. Nothing changes mechanically at that point.