Rubik's Cube Solution - Step-by-Step Moves
This page displays the step-by-step Rubik's Cube solution generated by our free online 3×3×3 cube solver. The algorithm calculates a near-optimal solution in 20 - 25 moves using the Kociemba two-phase method. Follow the moves exactly as shown to transform your scrambled cube into the solved state.
💡 How To Apply The Solution?
Hold the cube in your hands as the program shows the starting position. This is the same orientation you used when you input the colors.
FRULBD
If you know what the letters mean in the solution (explained below) you can easily apply the steps. Alternatively you can click through them one by one or play the solution with the desired speed, while you're following the rotations.
You can find images of all steps from the starting position to the solved state. The images have marked faces showing which has to be turned in which direction.
This solution works for any valid 3×3×3 Rubik's Cube scramble.
Apply the moves carefully and in the correct orientation. If the cube doesn't match after a few steps, return to the scramble page and verify your setup.
🤖 How Does It Find The Solution?
The program is using the algorithm of Herbert Kociemba's Cube Explorer (open-source program from kociemba.org). This method is able to find the solution for any initial scramble in 20 half-turn metric steps (180° rotations count as one step), however we had to limit this solver to protect our server.
First it's looking for the solution in 20 steps (God's Number) but if the program doesn't return any result below the time threshold then it's switching to 24 steps and returns a nearly optimal solution.
🔀 Impossible Scramble Error Message
If you get this warning then go back to the scramble page and make sure you entered the colors correctly. If the program keeps returning this error message then your cube might have been taken apart and put back together in an unsolvable configuration. There's only a 8.3% (1/12) chance that your cube will be solvable if you take it apart and rebuild it in a randomly scrambled position.
If your cube is unsolvable then you have to take it apart and rebuild the pieces in the solved position or flip an edge and rotate a corner, according to the instructions given by the program.
If the program says "An edge needs to be flipped", it doesn't matter which one, because of the parity rule. Edge flips always occur in pairs so it doesn't matter which edge you choose to flip.
What Do The Letters Mean In The Solution?
The rotations of the six sides of the puzzle are marked with letters:
FRUR2BR'
F - Front, R - Right, U - Up, D - Down, L - Left, B - Back
🔄 Counterclockwise 90° turns are marked by an apostrophe '
✌️ Double turns (180°) are marked by 2.
Each letter means a ninety-degree clockwise rotation of the marked side. Counterclockwise turns are marked with an apostrophe, while double-turns are marked with the number 2. Activate the Animate rotations option to see these explained during the playback.
Find the animated demonstration of the Rubik's Cube notations on this page.
Frequently Asked Questions
Does this show the shortest possible solution?
The solver finds solutions in 20 moves, but for slower devices this can go up to 25, which are near optimal.
Why is my solution different from the moves I scrambled with?
The algorithm calculates a new optimal path to the solved state, not simply the reverse of your scramble.
Why does the solver say my cube is impossible?
This usually means one piece is flipped or twisted in a way that cannot occur in normal scrambling.
🎓 How To Solve The Rubik's Cube?
You can learn the Rubik's Cube beginner's method if you want to solve the cube by yourself without using this program. In a couple of days you can master it, if you practice consistently and follow the steps patiently.
Other Puzzle Solvers
Beside the classic 3x3 cube we have online solvers on this website for the 2x2 cube and the Pyraminx.
Ruwix 


Any one guide or share with me some sources /links for ROUX method.
I want to learn ROUX method.