Megaminx solver
Type your Megaminx scramble or ask for a random one, and follow a layer-by-layer solution in nine steps on a 3D Megaminx, from the bottom face to the top.
Hold the cube with the yellow center on top and green in front. Pick a color and paint the squares; you can drag.
How to get the most out of it
To learn, not to set records
The solution uses the beginner course method, so it is long (about 140 moves) but every step makes sense and links to its lesson. A computer can solve any scramble in 20 moves or fewer, but you cannot learn that solution.
How to paint it right
Look at each face straight on, in this order: top (yellow) with green at the bottom, then the side faces and finally the bottom. If you make a mistake, the solver tells you if a color is missing or extra, or if a piece is impossible.
Follow it in 3D
The 3D cube starts from your scramble. Play it, stop wherever you want and jump to any step. If a step is hard, open its lesson.
How to use the Megaminx solver
This Megaminx solver works from the scramble: there is no template to paint and no camera scan. You can give it your position in two ways:
- Type the scramble with face turns, for example
R U2' F BR' DBL2 D, and press Apply and solve. - Press Random scramble. The tool writes 70 random face turns into the box, never turning the same face twice in a row. Apply them to your solved Megaminx and press Solve.
The solution appears in under a second, split into nine steps with the number of turns in each. A 3D Megaminx starts at the scrambled position and plays the whole solution: you can pause it and step forwards or backwards one turn at a time. Each step has a Go to this step button that takes the 3D Megaminx to the point where that step begins.
How to write the scramble: faces and turns
The scramble uses one letter per face, based on how you hold the Megaminx, with face U on top and face F in front:
- U is the top face and D the bottom face.
- Around U, seen from above and going clockwise: F in front, R on the right, BR back right, BL back left and L on the left.
- Around D, each face is opposite one of the top ones: B is opposite F, DBL opposite R, DL opposite BR, DR opposite BL and DBR opposite L.
R turns that face 72° (a fifth of a turn) clockwise, looking straight at it. R2 is 144°, and R' and R2' are the same turns the other way. Leave a space between turns. Brackets followed by a number repeat a section, as in (R U R' U')6. There is no half turn, and U3 is not accepted: write U2', which leaves the face in the same place.
WCA competition notation, with turns like R++ D-- U', is not supported yet. An official scramble pasted here gives the message “I can't read that scramble”. To practise, use the random scramble.
How to hold the Megaminx to follow the solution
Scramble and solve with the Megaminx held the same way, without turning the whole puzzle at any point:
- Pick the face that goes on top: that is U. The face in front, touching U, is F.
- Apply the scramble to the solved Megaminx, held that way.
- Follow the solution without letting go or turning it over. To turn a bottom face such as DBL or DBR, tilt the puzzle until you can see it: clockwise is counted looking straight at that face, not from above.
On the 3D Megaminx, U is white, F green, R red, BR blue, BL yellow and L purple; underneath, D is grey, B light green, DBL orange, DBR light blue, DL cream and DR pink. If yours has other colours, or only six, that is fine: the position comes from the scramble, so what counts is where each face is, not its colour.
What solution you get: layer by layer, in nine steps
The tool does not look for the shortest solution. It follows a layer-by-layer method, from the bottom face (grey on the 3D puzzle) to the top one (white), in these steps:
- Bottom star: the five edges of D.
- Bottom corners: the five corners of D.
- Second-layer edges: the five edges between two lower faces.
- Rest of the lower faces: five more corners and ten more edges; those faces are now only missing their top corner.
- Last pairs under the top face: those five corners, each with the edge above it.
- Top star: the five edges of U, with their colour facing up.
- Place the top corners in their spots.
- Orient the top corners, twisting them until face U is a single colour.
- Place the top edges, the last step.
In the first five steps, the program searches for short sequences that do not undo earlier work; the four top-face steps use stored algorithms. The result is about 190 turns on average, almost always between 170 and 215, with each face turn counted as one.
If you get an error or your Megaminx does not end up solved
If you see “I can't read that scramble”, one of the turns is not part of the notation. It is usually an R++ from an official scramble, a U3, a lower-case letter or two turns written together without a space.
If a solution appears but your Megaminx is not solved at the end, the scramble was read correctly but does not match the puzzle in your hand. The usual causes:
- A different grip. You scrambled with one face on top and followed the solution with another, or turned the whole Megaminx halfway through.
- The direction of the bottom faces.
DRis clockwise looking straight at DR; seen from above it looks reversed. - One turn too many or too few. With 70 turns it is easy to skip one or drop a prime while copying.
- Letters from another guide. Some tutorials and apps name the bottom faces differently.
- The scramble applied to an unsolved Megaminx.
To find the mistake, use Go to this step and compare your Megaminx with the 3D one at the start of each step.
From the solver to solving it yourself
The solver's solution is useful to get unstuck or to check a step, but its sequences are chosen by a computer and are not meant to be learned. For learning there is the guide on how to solve the Megaminx step by step, with the five-step layer-by-layer method and a handful of algorithms similar to those of the 3x3. General cube notation is explained in the notation guide.
To practise without scrambling yours, use the Megaminx simulator. Once you can solve it on your own, time yourself with the timer and compare with the world records. For other puzzles there are more solvers and the guide to types of cubes.
Frequently asked questions
How do I solve a Megaminx online?
Type the scramble you used to mix up your Megaminx, with face turns such as R, U2' or DBL, or ask for a random scramble and apply it to your solved puzzle. When you press Solve you get a layer-by-layer solution in nine steps, with a 3D Megaminx that plays it turn by turn.
Can I paint my Megaminx colours or scan it with the camera?
No. For the Megaminx the position can only be entered as a scramble, typed by hand or generated at random. If you don't know which scramble mixed up your puzzle, the tool cannot read it.
Does the Megaminx solver accept official WCA scrambles with R++ and D--?
Not yet. That notation turns almost the whole Megaminx at once, and the solver only understands single-face turns. An official scramble gives the message “I can't read that scramble”.
How many moves does the solution have?
About 190 on average, almost always between 170 and 215, counting each face turn as one, whether it is 72° or 144°. It is not the shortest possible, because it follows a layer-by-layer method split into nine steps.
What do BR, DBL and DR mean?
They are Megaminx faces, named by how you hold the puzzle. BR and BL are the back right and back left faces next to the top face. The ones starting with D are underneath: DR and DL touch the front face, and B, DBL and DBR are at the back.
Does it work with a Megaminx in other colours?
Yes. Because the position comes from the scramble, the colours do not matter. Just keep the same face on top and the same face in front while you scramble and while you follow the solution.
Keep learning
- Solving the MegaminxThe 12-sided dodecahedron, layer by layer.
- Beginner's courseEight short lessons to solve the cube for the first time.
- Notation: what each letter meansR, U, F, the prime and the 2, shown turning in 3D.
- Solving the 2x2The pocket cube, in three steps.
- Solving the PyraminxThe pyramid, with its tips and centres in 3D.
- Solving the SkewbThe cube that turns around its corners, with two algorithms.
- How to solve the Rubik's Clock18 dials and 4 pins, face by face with a worked example.