Cube solver
Paint your 3×3 cube and get a short solution. Everything runs in this page.
Pick a colour, then tap stickers. Keys: 1–6 pick a colour, arrows move between stickers, Enter or Space paints.
Solution
Hold the cube with white on top and green facing you, and keep it that way.
Press Play to watch the solution on a 3D cube.
Solver: cubejs (MIT licence), Herbert Kociemba's two-phase algorithm.
3D graphics by three.js (MIT licence).
How to use this tool
Solve a 3×3 cube in three steps.
Paint the stickers
Hold white on top and green in front. Pick a colour and tap the stickers on the net until every face matches your cube.
Press Solve
The cube is checked first. If it can exist, the solver returns a short list of moves.
Follow the moves
Step through the moves one by one, or press Play to watch them on a 3D cube, and turn your real cube the same way.
FAQ
How do I enter my cube?
Hold the cube with the white centre on top and the green centre facing you. Pick a colour, then tap each sticker on the net to match your cube, face by face. The centres are fixed and show which face is which.
Which colour goes where?
Each face of the net is named by its centre: white top, yellow bottom, green front, blue back, red right, orange left. Copy each face as you see it from straight in front of it; the top face is copied with the green side nearest you.
Why does it say my cube is impossible?
A real cube can only reach certain arrangements. If a colour count is off, a corner or edge has colours no piece has, a single corner is twisted, a single edge is flipped or two pieces are swapped, the stickers were copied wrong (or the cube was taken apart). The message says which kind of mistake to look for.
How many moves does the solution take?
The solver uses Herbert Kociemba's two-phase algorithm and returns a solution of at most 22 moves, usually around 19–21. It is short, not necessarily the shortest possible.
How do I read the moves?
U, D, R, L, F and B turn the up, down, right, left, front and back face a quarter turn clockwise as you look at that face. A ' means anticlockwise and a 2 means a half turn. Keep white on top and green in front the whole time.