Loved by Kids, Trusted by Parents and Teachers Worldwide

Magic Cube

Turn the faces to make every side one color. Stuck? It will show you the next move.

Free Shows you the next move Always solvable
Moves0
Best-
Away-

Press Mix it up to begin

Tap a letter below to turn the cube

How to read the moves

Every cube guide, book and video uses these six letters. Learn them here and you can follow any of them. Each letter is one face of the cube, and turning it clockwise means clockwise as you look straight at that face.

R RightThe face on your right. Turn it like a steering wheel, clockwise.
L LeftThe face on your left, turned clockwise as you look straight at it.
U UpThe face on top. Clockwise means looking down on it from above.
D DownThe face underneath, turned clockwise as if you were looking up at it.
F FrontThe face pointing at you. This is the easiest one to picture.
B BackThe face round the other side, hidden from you.

The little marks after a letter

' PrimeSay it as prime. It means turn that face the other way. R prime is the right face turned backwards.
2 DoubleTurn that face twice, all the way round to the other side. R2 is R done twice, and it does not matter which way you go.
w WideTurn two layers together instead of one. You only meet this on the 4x4, because it has layers a plain turn cannot reach.

Press Solve it and the moves appear here one at a time as the cube turns, which is the clearest way to watch how a piece travels and to get used to reading the letters.

About the cube in your hand: the solution here solves the cube on this screen, not a different cube that happens to be mixed too. Every scramble needs its own answer, so there is no set of turns that finishes them all. What does carry over is the part that matters: the letters, and the habit of building one layer at a time. Learn those here and you can follow any cube guide with your own cube.

Teaching a child from scratch? The guide to solving a magic cube covers which cube to start on, the method that finishes, and what to say when they are stuck.

No ratings yet. Be the first to rate this game.

Choose a cube and a first goal

The 2x2 has eight corner pieces. The 3x3 adds edges and centers, and the 4x4 adds movable centers and wide turns. Choose a size, press New mix and try to build a complete layer with matching side colors. A matching top face with mixed side colors is not a finished layer.

Reading the letters

Every cube guide, video and printed sheet uses the same shorthand, and it takes about a minute to learn. R means the right face, L the left, U the face on top, D the one underneath, F the face towards you and B the one at the back. A letter on its own means turn that face clockwise while looking straight at it. An apostrophe after the letter means turn it the other way, so R prime is the right face counterclockwise. A 2 after the letter means turn it twice, which lands in the same place whichever way you go.

The buttons under the cube here are labeled with those same letters. Press them a few times and watch which pieces move, because the notation stops being abstract the moment you can see what each letter does.

How the solve actually works

The method that works is to finish the cube in layers rather than chasing single colors around it. Build one complete face first, and check that the band of color immediately below it lines up too, because a face that looks right on top but has a mismatched skirt underneath is not really finished. That gives you a solid bottom layer to work from. Everything after that happens in the top layer, and the trick is that you can move pieces up there without disturbing what you have already built, so long as you put back whatever you take out.

That is the whole idea behind every cube algorithm: a short sequence of turns that lifts a piece out of the way, moves something, and puts the first piece back exactly where it was. Press Next move and you will see one move at a time from a real solution. Press Solve it and the cube finishes itself slowly enough to follow, which is the fastest way to see how pieces travel.

Watch a move before copying it

Press Next move and follow one corner through that turn. Solve it demonstrates the solution for the screen scramble. On the larger cubes the demonstration can retrace the scramble and your moves, so it is not a promise of the shortest solution or a lesson in a beginner layer algorithm. Step back reverses a move you made. For another sequence puzzle, try Tower of Hanoi.

Frequently asked questions

How do you solve a 2x2 cube?

Work in two stages rather than trying to fix everything at once. First build a complete layer with matching side colors. Finishing the remaining layer requires a case specific sequence. Next move shows a move for this screen scramble, and Solve it demonstrates a complete solution. These controls do not inspect a separate physical cube.

What do R, U and F mean on a cube?

They are the names of the faces you turn. R is the right face, U is the face on top, F is the one facing you. A plain letter means turn that face clockwise as you look straight at it. A letter with an apostrophe, like R prime, means turn it the other way. A letter with a 2 means turn it twice. Every cube guide in the world uses these letters, so learning them here means you can follow any of them.

What age can a child start on a cube?

Start when the child can follow one turn and track a corner piece. The 2x2 has fewer pieces to inspect, but completing it still takes a method. Demonstrate a turn, try one layer and stop if the task becomes frustrating.

Is this the same as the cube I have at home?

Yes, the puzzle works exactly the same way. The 2x2 here is the pocket cube with eight corner pieces, and the 3x3 is the standard one. Colors are laid out the usual way, with white opposite yellow, green opposite blue and red opposite orange, but a demonstrated solution fits only the current screen position. A physical cube needs instructions for its own position.

Why does the cube never break when I turn it?

Because every position you can reach here was made by turning a solved cube, the same as twisting a real one. A cube you scramble by pulling the stickers off and putting them back at random is usually impossible to solve, and a lot of online cube pages let that happen. Here you can always get back, and the solver proves it.