How Many Moves Does It Take to Solve a Rubik's Cube?
Any 3x3 cube can be solved in 20 moves or fewer. Here is where that number comes from, why most solves take far longer, and what it means for you.
Updated November 24, 2026 · By Tiny Builder
Quick answer
Every position of a 3x3 Rubik's cube can be solved in 20 moves or fewer, counting any turn of a face as one move. This is called God's number, and it was proven by computer in 2010. A typical human or app solve takes many more, because finding the shortest solution is far harder than finding a working one.

A standard 3x3 Rubik's cube can always be solved in 20 moves or fewer. That is the whole answer, and it took until 2010 to prove it. The harder question is why you will almost never see a solve that short.
The catch is what counts as a move. The rest of this guide explains the number, the 26 that sometimes replaces it, and what a normal solve looks like next to it.
What God's number actually means
God's number is the answer to a simple question: what is the largest number of moves you would ever need, if you played perfectly? It does not describe an average scramble. It describes the worst one.
For the 3x3, it is 20. In 2010, Tomas Rokicki, Herbert Kociemba, Morley Davidson and John Dethridge proved it. They split the positions into 2,217,093,120 groups, used symmetry to cut that to 55,882,296, and had a computer find a solution of 20 moves or fewer for each one. The work used about 35 CPU years of time donated by Google and finished in a few weeks.

The positions checked add up to 43,252,003,274,489,856,000, about 43 quintillion. Every one of them is within 20 moves of solved.
Why the answer can be 20 or 26
It depends on how you count a move. In the half turn metric, which is the one behind the number 20, turning a face by 90 or 180 degrees is one move. In the quarter turn metric, a half turn counts as two moves.
Counted that stricter way, the maximum is 26. Tomas Rokicki and Morley Davidson proved it in 2014. When you read a record or a puzzle claiming a move count, check which metric it uses before comparing.
| Metric | What counts as one move | God's number |
|---|---|---|
| Half turn | Any turn of one face, 90 or 180 degrees | 20 |
| Quarter turn | Only a 90 degree turn | 26 |
Most scrambles need 18, not 20
Here is the part that surprises people. A scramble that really needs all 20 moves is rare. Wikipedia estimates about 1 in every 90 billion random scrambles needs 20. For a random scramble, the best possible solution is usually 18 moves.
| Best possible solution | Share of random scrambles |
|---|---|
| 15 moves | about 0.2% |
| 16 moves | about 2.6% |
| 17 moves | about 26.7% |
| 18 moves | about 67.0% |
| 19 moves | about 3.4% |
So if someone hands you a well mixed cube, the shortest way home is almost certainly 17 or 18 turns. Nobody solves it that way by hand, because you would need to see the whole solution in advance.
The superflip: a famous worst case
The best known hard position is the superflip. Every corner is in the right place and the right way round, but all twelve edges are flipped in place. It looks nearly solved and needs 20 face turns.

Dik T. Winter found a 20 move solution in 1992, and Michael Reid proved in 1995 that no shorter one exists. That made it one of the first positions known to need the full 20. Measured in quarter turns, it needs 24.
Tiny Kube has the superflip in its Patterns list, so you can put the cube into it and see how scrambled a cube can be while looking almost solved.
Why real solves are much longer
A person solving layer by layer, or an app showing a working solution, is not looking for the shortest path. It is looking for steps that are easy to follow. Each step solves one small piece while leaving the finished parts alone, and that costs moves.
Tiny Kube's Solve gives a complete 3x3 solution in named steps, and for the 3x3 it is about 125 moves. It is not the shortest possible solution, and it is not meant to be. It is meant to be one you can follow and learn from, so each step shows what it is doing.
That gap, about 125 against a maximum of 20, is the real answer to why cubing is hard. Knowing a solution exists in 20 does not tell you what the moves are.
How computers find short solutions
Programs based on Herbert Kociemba's algorithm solve a random cube in a fraction of a second, often in 20 moves or fewer. They are not guaranteed to be the shortest, but they are far shorter than anything done by hand. They work by first getting the cube into a smaller set of positions that need only certain kinds of turns, then finishing inside that set.
You can see the same idea in a human method. Many solvers first finish a few pieces in a way that makes the rest easier. The difference is that a computer checks millions of options and a person follows a set of habits.
What to do with this
If you are learning, ignore move counts for now. A first solve takes however many moves it takes. Get the method working, then worry about speed, and only much later about length.
If you like numbers, try the R U R' U' pattern. Repeat it 6 times and the cube returns to solved. It is a small example of the same idea behind God's number: the cube has a fixed set of positions, and every turn moves you around inside it.

Tiny Kube's seven short 3x3 lessons teach the layer by layer method, and Hint shows the next step when you are stuck. It is free on the App Store and on Google Play: https://tiny-builder.app/tinykube/.
Questions people ask
What is the fewest number of moves needed to solve any Rubik's cube?
Twenty, if a move is any turn of one face, including a half turn. In 2010 Tomas Rokicki, Herbert Kociemba, Morley Davidson and John Dethridge proved that no scramble of a 3x3 needs more.
What is God's number for the Rubik's cube?
It is 20 in the half turn metric and 26 in the quarter turn metric. It is the number of moves needed to solve the hardest possible scramble using the best possible solution.
How many combinations does a Rubik's cube have?
43,252,003,274,489,856,000, about 43 quintillion, reachable positions for a standard 3x3.
What is the superflip?
It is the position where every corner is correct but every edge is flipped. It needs 20 face turns, so it is one of the hardest positions to solve.
Can a person solve a cube in 20 moves?
Not in practice. Finding a 20 move solution for a given scramble takes a computer, not a person.