What it does
A Rubik's Cube simulator that works like a real cube in your browser, with nothing to install. Turn it with your mouse or finger, the move buttons, or the keyboard.
- 2×2, 3×3, 4×4 and 5×5 cubes.
- Drag a sticker to turn that layer, like grabbing the real thing. Drag the background to spin the whole cube around.
- A scramble button, undo and redo, a move counter, and a timer that starts on your first move after scrambling and stops when the cube is solved.
- Standard cube notation: type an algorithm like
R U R' U'and watch it play.
Example
Press Scramble, then type R U R' U' and press Enter: the cube plays the four moves and the move counter goes up by 4. Type the same thing five more times and the cube is back to how it started: the "sexy move" repeated 6 times always undoes itself.
How to use Rubik's Cube Simulator
- Pick a size and press Scramble.
- Turn layers by dragging stickers, pressing the buttons, or using the keyboard: U D L R F B turn that face clockwise, and with Shift counterclockwise. M E S turn the middle slices on a 3×3, and X Y Z rotate the whole cube.
- Use the arrow keys or drag the background to look at the back.
- When every face is one color, the timer stops and shows your time and move count.
Notation
Each letter is a face: Up, Down, Left, Right, Front, Back. A letter on its own means a clockwise quarter turn as if you were looking at that face. An apostrophe (R') means counterclockwise, and 2 (R2) means a half turn. Rw or a lowercase r turns two layers at once, and x, y, z turn the whole cube.
Rubik's Cube Simulator FAQ
Can it solve my cube for me?
That's the Rubik's Cube Solver: enter your real cube's colors and it shows an animated solution of about 20 moves.
Does it work on a phone?
Yes. Drag a sticker with your finger to turn a layer, and drag outside the cube to spin it. The move buttons work too.
How random is the scramble?
It's a series of random moves: 25 on a 3×3, and more on bigger cubes, so the cube ends up thoroughly mixed. For official-style random-state scrambles, use the Speedcubing Timer.