xCubes

Rubik's cube solver · 2×2 – 15×15

Solve any cube, from 2×2 to 15×15. Free. Forever.

Enter a scrambled state, get a step-by-step solution. Works for every cube size between 2×2 and 15×15.

Drag to spin the cube

02 · How it works

Three steps to solved

  1. 01

    Pick your size

    Every cube from 2×2 to 15×15 has its own page with a matching input grid.

  2. 02

    Paint the stickers

    Pick a colour, tap the stickers. The state is checked before solving, so typos get caught.

  3. 03

    Follow the moves

    A step-by-step solution in standard notation, with a preview of every move.

Keep scrolling — the cube solves itself

03 · Why xCubes

Made for real cubes

  • Any size

    From the 2×2 Pocket Cube to the 15×15 — one solver for all of them.

  • Checked before solving

    Wrong sticker counts and impossible pieces are caught before you waste a solve.

  • Photo input

    Every size from 2×2 to 15×15: take six photos, one per face, and the colours are recognised right in your browser.

  • Free, no sign-up

    Nothing to install, nothing to pay. Works great on a phone.

What xCubes Solver does

xCubes Solver takes the current, scrambled state of a Rubik's-style cube and returns a complete sequence of moves that brings it back to solved. You describe the cube once — face by face, colour by colour — and the solver does the rest. It covers every size from the 2×2 Pocket Cube up to the 15×15, which is about as large as twisty puzzles are commercially made.

Nothing is installed and nothing is charged. The solver runs on our server, the cube state never leaves your browser except as a list of colours, and there is no account to create.

How to use it

  1. Pick your cube size from the grid above. Each size has its own page with a matching input grid.
  2. Enter the scramble. Click a colour from the palette, then click the stickers of that colour. Work one face at a time and keep the cube in the same orientation throughout — this is where almost every mistake happens.
  3. Or fill it from photos. Press Fill from photos and take six pictures, one per face. Photo input works for every size from 2×2 to 15×15, and the colours are recognised in your browser. Check the highlighted stickers before solving.
  4. Check and solve. The state is validated before solving, so an impossible cube (two identical corners, a wrong sticker count) is caught rather than silently mis-solved.
  5. Follow the moves. The solution is written in standard cube notation, with explicit depth prefixes on wide turns for the larger cubes.

How the solver works

For the 3×3 the solver runs a two-phase Kociemba search, which reliably finds solutions around 18–20 moves — close to the proven maximum of 20. For the 2×2 it searches the full state space directly. For every cube from 4×4 upward it uses the reduction method: build the six centres, pair the edge pieces into complete strips, then finish the cube as if it were a 3×3. That is the same strategy a human big-cube solver uses, which means the move list is something you can actually follow by hand rather than an incomprehensible machine output.

Even-layered cubes (4×4, 6×6, 8×8 and up) have no fixed centres, so they can end up in states that look impossible on a 3×3 — a single flipped edge, or two swapped corners. This is parity, and it is a property of the puzzle rather than a fault. The solver detects it and includes the correction in the solution.

Learn to solve it yourself

A solver is useful for unscrambling a cube you have given up on, for checking your own work when a phase goes wrong, or for resetting a collection. It is a poor substitute for learning. These guides cover the methods by hand: