Skip to the cube solver

Cube Solver Online

Paint your Rubik's Cube, press Solve and follow every move on a smooth 3D cube. Free for 3x3 and 2x2.

Hold your cube with white on top and green in front.

Private by design: your cube is solved on your own device. Nothing you paint is uploaded.

Solve a Scrambled Rubik's Cube One Move at a Time

This cube solver reads the colors you paint on a 3D cube and works out the moves that bring it back to solved. You watch each move turn the cube on screen, then copy the same turn on the cube in your hands. It handles the classic 3x3 Rubik's Cube and the small 2x2 pocket cube, and it runs entirely in your browser.

Banner of a 3D Rubik's Cube solver with a color palette, previous and next arrows, and Solve and Play buttons
Paint the colors, press Solve, then step through the moves with the arrows or press Play.

It helps when you are stuck on the last layer, when a second-hand cube arrives scrambled, or when you simply want to see how a position is solved before you learn a method.

How to Use the Cube Solver

  1. Choose 3x3 or 2x2 at the top of the tool.
  2. Hold your real cube with white on top and green in front. Pick a color under the cube, then tap each sticker to match your cube. Drag the cube to turn it and reach the other faces.
  3. Check that every color appears the right number of times, then press Solve Cube.
  4. Press Play to watch the solution, or use the left and right arrows beside the cube to go one move at a time. Copy each move on your own cube.

How to Read the Moves

The solution uses standard cube notation, the same letters you see in most Rubik's Cube guides. Each letter is one face of the cube.

A letter on its own, such as R, is a clockwise quarter turn when you look straight at that face. A letter with an apostrophe, such as R', is a counter-clockwise quarter turn. A letter with a 2, such as F2, is a half turn. Under the cube the tool also says which face to turn by its color, so you never have to guess which side is meant.

Tips for the Best Result

Copy the colors carefully. Most errors come from one sticker painted the wrong color, often orange for red or yellow for white. Paint one face at a time and turn the cube on screen to reach the faces you cannot see. Count the colors. A 3x3 has 9 stickers of each color and a 2x2 has 4. Keep the same orientation while you copy: white on top and green in front.

The solver gives a correct solution but not always the shortest one on a 3x3, and speedcubers use methods that are faster to perform by hand. The first solve needs a few seconds to prepare, and cubes bigger than 3x3 are not supported.

When a Cube Solver Helps

Beginners use it to get unstuck. Parents and teachers use it to rescue a cube that was scrambled beyond repair. Hobbyists use it to check a scramble or to compare their own solution with a computer answer. Because you can step backward and forward, it also works as a small training tool: try a position yourself first, then replay the computer solution and see where it differs.

Frequently Asked Questions

How do I use the cube solver?

Choose 3x3 or 2x2, pick a color from the palette under the cube and tap each sticker until the cube on screen matches the one in your hand. Press Solve Cube, then press Play to watch the solution or use the arrows beside the cube to go one move at a time. Hold your cube with white on top and green in front so it lines up with the screen.

What do the arrows beside the cube do?

The right arrow turns the cube by the next move of the solution and the left arrow takes one move back. The Play button runs all the moves automatically, and it changes to Pause so you can stop at any point.

Is this Rubik's Cube solver free?

Yes. There is no account, no payment and no limit on how many cubes you solve.

Is my cube data private?

Yes. The colors you paint are handled by the solver inside your own browser and are never sent to a server. After the page has loaded, the solver also keeps working without an internet connection.

Which cubes can it solve?

It solves the classic 3x3 Rubik's Cube and the 2x2 pocket cube. Bigger puzzles such as the 4x4 and 5x5 are not supported.

How long are the solutions?

On a 3x3 the answer is usually around 19 to 22 moves, which is short for a computer solution but not always the shortest possible. On a 2x2 the solver finds a shortest solution, never more than 11 moves. Every answer is replayed on a virtual cube and checked before it is shown to you.

How do I get the colors right?

Copy one face at a time while holding the cube with white on top and green in front, and check that each color appears 9 times on a 3x3 or 4 times on a 2x2. Good daylight helps you tell orange from red and white from yellow.

Why does it say my cube is invalid?

The solver checks that your colors could exist on a real cube. The usual causes are one sticker painted the wrong color, a twisted corner, a flipped edge or two swapped pieces. Compare each face with your cube again, fix the sticker named in the message and press Solve again.

Why does the first solve take a few seconds?

The first time you press Solve, the tool prepares its lookup tables inside your browser. This can take a few seconds on a slow phone. Later solves are usually much faster.

Does it work on a phone?

Yes. The page fits a phone screen, you drag the cube with one finger to rotate it, and tap a sticker to paint it. The color palette, the arrows and the Solve and Play buttons all stay together on one screen.