Online Rubik's cube solver: scan it or paint its colors

Kubixel

Click or drag over the centers: paint · the background: rotate the view

Click or drag over the stickers: paint · the background: rotate the view

Drag a piece to turn its layer · drag the background to rotate the view · click to pick UDRLFB faces · ⇧ prime · 2…6 + face: inner layer · MES middle

How to solve your Rubik's cube with Kubixel

  1. Hold your cube with yellow on top and blue in front. Those are the centers shown by the cube on screen.
  2. Enter the colors. Pick a color and tap the stickers on the 3D cube or on the 6-face net, or press Scan and show the faces to your camera: the order and rotation don't matter, the real cube is worked out when you finish.
  3. Choose how to solve it and press Solve.
  4. Follow the moves on the 3D cube: step by step, backwards or jumping to any move.

The shortest solution

In about a second it finds a solution of around 20 moves at most, and if your cube is one turn away from solved, it gives you that turn. It's the option to get your cube solved as fast as possible.

Step by step to learn

It solves the cube with the beginner (layer-by-layer) method, the same one taught in the academy. It's more moves, but grouped into steps (the white cross, the corners, the second layer...) and each step links to its lesson.

Smart scanner

Show the six faces to your camera in any order, turning the cube however you like. When you finish, Kubixel tries every way the faces can fit together and picks the only one that makes a real cube, so you don't need to scan again if you mixed up the order.

Every move in 3D

The cube on screen makes each turn along with you. You can pause, go back or turn the view to see the back face, and the moves are rewritten for the way you're looking at it.

How the solver works

Kubixel uses Herbert Kociemba's two-phase algorithm, the one behind the best-known cube solvers. In the first phase it looks for moves that bring your cube to a special state, from which it can be finished by turning only the top and bottom faces and giving half turns to the others. In the second phase it finishes it with those moves. While it has time left, it keeps looking for shorter combinations and keeps the best one.

The 3x3 cube has 43,252,003,274,489,856,000 possible positions (over 43 quintillion), and yet in 2010 it was proven that any of them can be solved in 20 moves or fewer. That number is called "God's number". That's why the shortest solution never goes beyond about 20 moves.

How to read the solution

Each letter is a face of the cube, looking at it from the front: R right, L left, U up, D down, F front and B back. A letter on its own is a quarter turn clockwise (as if you were looking straight at that face); with an apostrophe (R') it's counterclockwise, and with a 2 (R2) it's a half turn. It's explained with examples in the notation guide.

Tips to enter the colors correctly

If it says your cube can't be solved

Kubixel checks that the colors make a real cube and tells you what's wrong: missing stickers or too many of a color, a corner or edge that doesn't exist, or a twisted corner, a flipped edge or two swapped pieces. It's almost always a wrong color; check the marked pieces. If every color is right, someone has taken apart or twisted a piece of the real cube, and then it can't be solved with normal turns.

Learn to solve it yourself

The solver gets you out of trouble, but learning to solve the cube is easier than it looks: the beginner method takes seven steps and just a few algorithms. Start with the guide to solving a Rubik's cube or go straight to the academy, where you practice each step on the 3D cube. Once you've got it, time yourself with the timer.

Frequently asked questions

Is it free?

Yes. The solver and the scanner are free, with no usage limit and no account needed.

Do I need to download anything?

No. It runs in the browser on your computer, tablet or phone, with no app to install.

Is the camera image sent anywhere?

No. The scanner and the solver run in your own browser: the camera image never leaves your device and isn't stored.

Can I use it without a camera?

Yes. Pick a color and tap the stickers on the 3D cube or on the 6-face net. It takes a couple of minutes.

How many moves is the solution?

The shortest is usually 18 to 21 moves. The beginner method one is about 100-160, since it goes piece by piece, but it's the one you can learn and repeat on your own.

Is it the shortest possible solution?

It's almost always within one or two moves of optimal. Finding the exact shortest solution can take minutes; the two-phase algorithm gives one almost as short in a second, which is what you want when following it with the cube in your hands.

Why does another site give me a different solution?

The same cube can be solved in a huge number of ways with the same number of moves. As long as the solution solves the cube, they're all equally good.

Does it work for a 4x4 or other cubes?

For now the solver is for the 3x3. For big cubes there's the Swap tab, which works out algorithms to move pieces on cubes up to 7x7.

The scanner mixes up red and orange

They're the most similar colors. Scan in good light without glare; if one comes out wrong, fix it by painting before solving.