Online 3x3 cube solver
3x3 Cube Solver
Use this 3x3 cube solver to solve 3x3 cube states with flat input, 3D painting, or local face photos. Validate centers, sticker counts, and the cube state before following a step-by-step solution.
- Editable centers
- Step playback
Entry rule— Keep the front face fixed while entering adjacent faces. Do not rotate the physical cube to make each side face you.
Keep the front face fixed while entering adjacent faces. Do not rotate the physical cube to make each side face you.
Color your cube
Use flat face entry for precision, rotate the 3x3 cube and paint visible stickers directly, or apply six face photos.
Drag to rotate 360 degrees. Click any visible sticker to paint it with the selected color.
Cube entry progress
6 of 54 stickers filled
- Up1/9
- Right1/9
- Front1/9
- Down1/9
- Left1/9
- Back1/9
Enter your cube colors
2D cube net
Tap any face to open it in the larger 2D editor.
Choose a color, then click any sticker across U, L, F, R, B, and D.
U Up
L Left
F Front
R Right
B Back
D Down
Solution playback
Generate a move list, then follow the larger 3D cube one turn at a time.
No solution generated yet
Center colors
A standard 3x3 cube has fixed center stickers. You can still edit them here for non-standard color schemes, but the six centers must remain unique before solving.
Cube move notation
Read each move from the perspective of looking directly at that face.
R
Turn the right face clockwise.
R'
Turn the right face counterclockwise.
R2
Turn the right face twice.
U F L D B
Use the same pattern for up, front, left, down, and back.
How to use this cube solver
Step 1
Enter the stickers
Use flat entry, 3D entry, or six local face photos.
Step 2
Validate the colors
Check missing stickers, color counts, centers, and size-specific rules.
Step 3
Follow the solution
Generate moves and use the step-by-step 3D playback to solve the cube.
3x3 cube anatomy: fixed centers, 12 edges, and 8 corners
A classic 3x3 puzzle contains 54 visible stickers distributed across 6 immovable center caps, 12 two-color edge pieces, and 8 three-color corner pieces. Because the core keeps opposite centers locked together, the center sticker on each face permanently defines that face's solved color.
On a standard Western (BOY) color scheme, White sits opposite Yellow, Green opposite Blue, and Red opposite Orange. If you own an older Japanese-scheme or custom cube, edit the six center stickers in the flat editor first—every edge and corner is then decoded relative to your actual centers. Review opposite pairs and face order in the standard 3x3 color scheme guide.
How this 3x3 cube solver checks the three mathematical laws
Filling all 54 stickers with nine of each color does not automatically guarantee a solvable cube. Only 1 in 12 mechanical assemblies of a 3x3 belongs to the solvable orbit reachable by legal face turns. Before computing moves, the 3x3 engine pre-validates three mathematical invariants:
| 3x3 Invariant | Required Condition | Typical Cause When Violated |
|---|---|---|
| Corner orientation | Sum of corner twists is divisible by 3 (mod 3 = 0) | One corner accidentally twisted in place during a fast turn or drop |
| Edge orientation | Number of flipped edges is even (mod 2 = 0) | An edge popped out and was snapped back backwards, or two adjacent stickers were mis-entered |
| Permutation parity | Combined corner + edge swaps is even | Two pieces swapped after disassembly, swapped center caps, or rotated back face during entry |
How to fix invalid 3x3 cube solver states without guessing
If pre-validation flags an impossible state, check your entry before opening the physical cube. The most common mistakes are confusing red and orange under warm indoor light, rotating the physical cube toward yourself when entering side faces, or flipping the back face (B) upside down. For step-by-step physical diagnosis of twisted corners, flipped edges, and swapped center caps, read why a Rubik's cube won't solve.
- Audit color counts first: Every one of the six center colors must appear exactly 9 times across the 2D net.
- Keep one anchor orientation: Hold the same Front (F) and Up (U) faces throughout entry so L, R, D, and B rows never rotate 90 or 180 degrees.
- Inspect impossible pieces: A corner showing both white and yellow—or two identical green-red edge pieces—points straight to a mis-painted sticker.
How the 3x3 cube solver computes ~20-move solutions locally
Once your 54-sticker state passes pre-validation, our browser Web Worker runs Herbert Kociemba's two-phase algorithm. Phase 1 reduces the cube into a symmetry subgroup where every corner and edge is oriented; Phase 2 completes the permutation using restricted half-turn moves, typically returning a clean 18-to-22-move sequence in standard Singmaster notation. Learn the math behind it in our Kociemba two-phase explainer or compare move counts against human layer-by-layer and CFOP methods.
Frequently Asked Questions
How many moves does the 3x3 cube solver typically generate?
Kociemba's two-phase engine generally produces practical solutions around 18 to 22 half-turn moves (HTM)—close to God's Number (20) without making you wait for an exhaustive shortest-path proof.
Can I solve a non-standard or Japanese color-scheme 3x3?
Yes. Edit the six center stickers in the flat editor to match your physical cube's centers. As long as all six centers are unique and each color appears nine times, the solver maps your custom scheme accurately.
Why does a complete 54-sticker 3x3 still report a twisted corner or parity error?
Either a single sticker or face orientation was entered incorrectly (most often red/orange or the back face B), or the physical cube has a twisted corner, backwards edge, or reassembled piece swap.
Why do the generated moves look different from the beginner layer-by-layer method?
Human beginner methods solve one layer at a time in 90 to 120 moves so you can memorize checkpoints. Kociemba's solver aligns pieces across all six faces simultaneously to solve the exact state in roughly 20 moves.