Puzzles & Party

Rubik's Cube Solver

Paint your real cube's colors, press Solve, and follow the animated solution move by move. It finds an answer of about 20 moves in about a second.

Hold your cube with the white center on top and the green center facing you, then copy each sticker's color. Click a sticker here or on the map to paint it.

Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

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.

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

  1. 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.
  2. 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.
  3. Press Solve. If something doesn't add up, it tells you what to check.
  4. 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.