# Rubik's Cube Solver - Optimal Solution

**You are on the solution page, generated by the online Rubik's Cube solver.
Allow some time for the program to calculate and return the solution. This usually takes around 20 seconds but it can go up to 2 minutes so please be patient. If you don't want to wait for the optimal solution then use the link to the layer-by-layer solution which generates the steps much quicker but the solution takes around 70 steps.**

**D**turn: Down clockwise### How to use?

First of all take the cube in your hands with the yellow center piece pointing up and the orange center facing you, as seen above.

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 optimal speed, while you're following the turns.

Be careful because if you miss or fail one move you end up with a scrambled cube!

### How does it find the optimal 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° rotatoins 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 the nearly optimal solution.

### What do the letters mean in the solution?

The rotations of the six sides of the puzzle are marked with letters:

**F** - Front, **R** - Right, **U** - Up, **D** - Down, **L** - Left, **B** - Back

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.

### How can I learn to solve the Rubik's Cube?

You can learn the Rubik's Cube beginner's method clicking the floating button on the left bottom corner of the screen.

### Is there a solver for any other puzzles?

Not yet but we're thinking about the 2x2 and 4x4 versions.