Rubik's Cube Solver

Scan or enter your scrambled cube and watch it solve itself in 3D.

Enter a scrambled Rubik's Cube's colors (or scan it with your camera) and get an instant solution using Herbert Kociemba's two-phase algorithm — usually 20-25 moves. Watch it play out on a realistic, animated 3D cube with play, pause, step and speed controls, then follow along on your own cube. Runs fully in your browser — no account, no paid APIs.

About Rubik's Cube Solver

Rubik's Cube Solver features

How to use Rubik's Cube Solver

  1. Enter your scramble

    Pick a color, then click stickers on the unfolded net to match your physical cube — or scan it with your camera.

  2. Hit solve

    The solver checks your scan is a real, reachable cube state and computes a short solution instantly.

  3. Watch it solve

    A realistic 3D cube plays the solution move by move — pause, step, or slow it down to follow along.

  4. Follow along on your cube

    Match each animated turn on your physical cube, one move at a time, until it's solved.

Popular use cases

Stuck mid-solve

Scan wherever your cube is right now and get the exact moves to finish from that exact state — no need to restart your solve.

Learning to speedcube

Step through a real solution one move at a time and mirror each turn on your own cube to build muscle memory.

Teaching a friend or kid

Scramble a cube, then use the slow-motion 3D playback to show, layer by layer, how a solve actually works.

Verifying a solve

Not sure if your cube is truly solved or one sticker off? Scan it and check instantly.

Curious about the algorithm

See exactly how many moves Kociemba's two-phase algorithm needs for any scramble you throw at it.

No cube on hand

Hit "Try a random scramble" to see a full scan-to-solve demo without needing a physical cube at all.

Frequently asked questions

Is this Rubik's Cube solver really free?

Yes — completely free, with no account, no watermark, and no paid API calls. Color scanning and solving both run locally in your browser.

What algorithm does it use to solve the cube?

Herbert Kociemba's two-phase algorithm, a well-known near-optimal Rubik's Cube solving method that typically finds a solution in 20-25 moves in well under a second.

Does it work with any cube color scheme?

Manual color entry works with any scheme — you paint exactly what's on your cube. Camera scanning assumes the standard scheme (it tells you which color to show for each shot, since a photo is the least reliable way to read a center); if your cube uses a different scheme, fix the affected centers on the net afterward — they're always editable.

Why does it say the scan is invalid?

A facelet combination that can't exist on a real cube (for example two stickers accidentally swapped) is rejected before solving — double-check the colors you entered or scanned against your physical cube and try again.

Can I follow the solution on my own physical cube?

Yes — use the step and speed controls to pace the animated 3D solve to match your own turning speed, one layer at a time.

How long does it take to solve a Rubik's Cube?

A beginner using the layer-by-layer method takes 2-5 minutes; someone learning CFOP is usually down to 40-90 seconds; advanced solvers with full CFOP and look-ahead hit 15-30 seconds. Competitive speedcubers average 5-10 seconds — the official world record for a single solve is 2.76 seconds (Teodor Zajder, Poland, February 2026).

How many possible ways can a Rubik's Cube be scrambled?

43,252,003,274,489,856,000 — about 43 quintillion. Exactly one of those combinations is the solved state, which is part of why solving one by trial and error is essentially impossible without an algorithm.

Related tools — Puzzles & Games