What it does
This Rubik's Cube solver works out how to solve your real, scrambled 3×3 cube. You copy its colors onto the screen, press Solve, and it shows the solution as a list of moves that also plays on a 3D cube, so you can follow along with the cube in your hands.
- Solutions are usually 19 to 21 moves, found in about a second with Kociemba's two-phase algorithm, the method behind most cube-solving programs.
- Paint stickers on the 3D cube or on the flat map, whichever is easier.
- It checks your cube and tells you what's wrong: a color used too many times, a corner that can't exist, or a twisted corner or flipped edge that a real cube can't get into without being taken apart.
- Step forward and back through the solution, play it automatically, and see each move explained.
- Everything runs in your browser. Nothing is uploaded.
Example
Take a solved cube and do R U R' U'. Paint those colors in (or press Reset to solved, then type the same moves in the simulator to see what it should look like), press Solve, and it answers U R U' R', 4 moves, the exact undo. A fully scrambled cube usually takes 19 to 21 moves.
How to use Rubik's Cube Solver
- Hold your cube with the white center on top and the green center facing you. The centers never move, so they tell you which face is which.
- Pick a color and click the matching stickers, on the 3D cube or the map. Drag the 3D cube to see the back, or use the map: the top row of the map is the top face, the middle row is left, front, right and back, and the bottom row is the bottom face.
- Press Solve. If something doesn't add up, it tells you what to check.
- Keep holding the cube the same way (white on top, green in front) and do each move as it plays. Press ▶| to go one move at a time.
Reading the moves
Each letter is a face: Up (white), Down (yellow), Front (green), Back (blue), Right (red) and Left (orange). A letter on its own means turn that face a quarter turn clockwise, as if you were looking straight at it. R' means counterclockwise and R2 means a half turn. Every step also says it in words.
Rubik's Cube Solver FAQ
My cube has different colors. Does it still work?
Yes, as long as you paint consistently: pick the colors on screen that sit where your cube's centers are. For example, if your cube's top center is yellow, paint that color as "white" everywhere. The solver only cares that each sticker matches a center.
Why does it say a corner is twisted or an edge is flipped?
On a real cube, only certain arrangements are possible. If a corner was twisted or an edge popped out and was put back the wrong way, the cube can't be solved with normal turns. Usually, though, it means a sticker was copied wrong, so check the colors around that piece first.
Is it the shortest possible solution?
Not always. Any cube can be solved in 20 moves or fewer, and this solver usually lands within a move or two of the best answer. It searches for about a second and gives you the shortest one it found.