2x2 Cube Solver (Optimal)

Cube Solver Lab · See the cube as a graph

·

—
0 / 0

Solve any 2×2 cube in your browser: enter the colors, press Solve and follow the solution move by move on a 3D model.

How to solve a 2×2 cube with this solver

  1. Hold your 2×2 cube the way the net shows (this page already selects the 2×2 cube).
  2. Enter the scrambled state: paint the stickers on the net, scan every face with your camera or upload photos, or type the scramble in standard notation.
  3. Press Solve. The solver runs inside your browser; nothing is uploaded.
  4. Follow the solution: the 3D model turns step by step while the permutation graph shows every sticker moving. In Free play mode you can scramble and turn the puzzle yourself, with a timer.

Solver and measured move counts

Proven optimal: a complete distance table of all 3,674,160 positions is built in about 0.3 s. In 100 random scrambles the solutions had 8.87 moves on average and at most 10 (half-turn metric).

Notation

Standard WCA notation: U D L R F B turn a face clockwise, ' means counterclockwise and 2 a half turn; x y z rotate the whole cube.

What the permutation graph shows

Every sticker is a node. Each move permutes the stickers and splits them into cycles, drawn as circles: on a 2×2 cube the 2 layers of each of the three axes appear as 2 concentric circles. A solution is a path through the puzzle's state graph from your scramble to the solved state, and the graph animates that path move by move.

Frequently asked questions

Is the solver free, and are my photos uploaded?

It is free and runs entirely in your browser. Camera images and photos are processed on your device and never uploaded. The site counts visits with Cloudflare Web Analytics, which uses no cookies; Google Analytics is loaded only if you accept it in the banner, and you can change that choice in the footer.

Is the solution the shortest possible?

Yes. The solver uses a complete table of every position, so each solution has the fewest possible moves.

Can I scan my 2×2 cube with the camera?

Yes. Open the Camera / photo tab, show each face to the camera or upload a photo of each face, then check the result on the net and correct any sticker before solving.