Rubik's Cube Algorithms

A Rubik's Cube algorithm is an operation on the puzzle which reorganizes and reorients its pieces in a certain way.

Algorithms to solve the cube »

Algorithm Calculator

Enter an algorithm using the standard notation:

  • Inverse:

    To reverse a Rubik’s Cube algorithm, perform the same moves in reverse order, changing each move to its opposite direction (e.g. R becomes R′).

  • Rotate x:

    As seen from the bottom of the cube. / Rotating on the x-axis spins the cube like turning the R face clockwise, shifting the front to the top.

  • Rotate y:

    As seen from the right side of the cube. / Rotating on the y-axis spins the cube like turning the U face clockwise, moving the front to the right.

  • Rotate z:

    As seen with my head tilted to the left. / Rotating on the z-axis turns the cube as if twisting the F face clockwise, shifting the top to the right.

  • Mirror L-R:

    Mirroring left-to-right flips the algorithm across a vertical plane, swapping L with R and reversing their turns.

  • Mirror F-B:

    Mirroring front-to-back reflects the moves across a depth plane, switching F with B and inverting their turns.

  • Mirror U-D:

    Mirroring up-down flips the moves across a horizontal plane, swapping U with D and reversing their rotations.

  • Manipulate:

    Use this to apply custom transformations or tweaks to the algorithm as needed for special cases or patterns.