Interactive solver
Rubik’s Cube Playground
Scramble the 3D cube into a genuinely random state, then press Solve and watch it solve itself move-by-move. The solution comes from Herbert Kociemba’s two-phase algorithm, which finds a solution in 22 moves or fewer for any scramble — the same approach speed-solving robots use. Use the playback controls to step, scrub and replay the solve at your own pace.
Preparing solver…
How it works
Scramble generates a random-state scramble — the sequence of moves that takes a solved cube to a random position — and applies it to the cube. Solve hands the scrambled state to the two-phase solver, which returns an efficient solution that is then animated on the cube. Reset returns the cube to solved.
The solver runs in a background thread, so the page stays responsive even while it builds its lookup tables on first load. Want to learn to solve it yourself? Start with the beginner’s method or read up on cube notation.