For the Rubik’s Cube, the maximum number of moves needed to solve it from any scramble is sometimes called ”God’s number.” Sliding puzzles have a similar number. For the 15 puzzle, it is 80 moves.

Here, each tile you move counts as one move (the same way the app “Slide Puzzle” counts “Moves”).

The maximum number of moves by board size

BoardReachable positionsMax moves
2×2126
2×336021
3×3181,44031
4×4about 10.5 trillion80

For 2×2, 2×3, and 3×3, you can confirm this by checking every reachable position (we checked them on this site too: The fewest moves for the 8 puzzle).

A 4×4 has far too many positions to check them all the ordinary way. In 1999, four researchers, Brüngger, Marzetta, Fukuda, and Nievergelt, split the calculation across many computers and showed that every position can be solved in 80 moves or fewer, and some positions need 80.

5×5 and bigger boards are still unknown

The maximum number of moves for a 5×5 (the 24 puzzle) is still not known. Reportedly, it has been shown that some positions need at least 152 moves (2011) and that every position can be solved in 205 moves or fewer (2016).

As the board gets bigger, even finding the minimum number of moves becomes hard for a computer. In 1986, it was shown that finding the minimum number of moves on an n×n board is “NP-hard,” a kind of problem for which no efficient method is known.

How many moves do the app’s ★2 puzzles take?

We used a computer to find the minimum number of moves for 100 ★2 (4×4) puzzles made the same way the app makes them (using a search called IDA* and estimate tables built by splitting the tiles into three groups of five: Solving it with a computer).

Fewest movesPuzzles
41–4811
49–5229
53–5645
57–6012
61–653
  • The average was 53.1 moves. The shortest puzzle took 41 moves and the longest took 65.
  • Not a single puzzle came close to 80 moves. Positions that need 80 moves are a tiny fraction of more than 10 trillion.

For example, the minimum for the puzzle below is 54 moves.

311151272614945813101

Compared with the hint’s move count

So that it can guide you quickly, the app’s “Hint” solves the top row and left column in order, and it does not look for the minimum number of moves. Solving the same 100 puzzles with the hint’s steps averaged 86.7 moves, about 1.6 times the minimum (How to use hints).

When people solve from the top row down, it takes a bit more, usually around 100 moves on a 4×4 (How to solve the 15 puzzle).

Counting multi-tile slides as one

There is also a way of counting where sliding several tiles at once, in the same row or column as the empty space, counts as one move. On a 3×3, the maximum with this counting was 24 (The fewest moves for the 8 puzzle). It gives a smaller number than counting one tile at a time.