What Am I Using?

Rubik’s Cube solver with camera

Scan your cube with your device’s camera or enter the colours yourself, then follow animated moves. Free in your browser, with no app to download and no account needed.

Runs on your device. Your cube colours stay in this browser.

Your cube, solved one move at a time

Copy the colours into the squares below, or use your camera to capture one face at a time. Check the model, then find your solution.

  1. 1. Copy your cubeChoose a face, pick a colour and tap its squares. Repeat for all six faces.
  2. 2. Check the modelDrag the 3D cube around and compare it with the cube in your hands.
  3. 3. Follow your solutionPress Find my solution, then do one move at a time.
2 × 29 × 9

3×3 has about 43 quintillion legal possibilities.

See the exact number

Ordinary solid-colour cubes: identical stickers and rotating the whole cube do not create new positions. Count and formula: OEIS A075152.

Larger puzzles can take longer to solve; you can cancel a search.

1. Copy your cube colours0 of 6 faces checked

Enter all six faces

The starting colours are an example. Replace them with the colours on your real cube.

How should I hold my cube?

Choose a front and an up face and keep using those same names. On a standard cube, start with white up and green in front. On an odd-sized cube the fixed centre identifies each face. On an even-sized cube, choose these directions using the corner colours.

Look straight at each face when copying it. The editor tells you which neighbouring face belongs above and below it. Turn the whole cube to look at a side, without twisting its layers. Use the 90° correction buttons if you copied a face sideways.

Capture one face, check the colours and copy them into the solver. Images stay on your device.

Practise with an example scrambleFor learning or testing, instead of entering your real cube

R2 is a half turn; R′ is anticlockwise. Rw turns two right layers; 3Rw turns three. 2R turns only the second right layer.

2. Check your cube

Drag the cube to look around. This changes your view, not the stickers.

Copy and check all six faces first. Then compare this model with your real cube.

Rotate view

Calculating…

Your device is working out the moves. Larger cubes can take longer.

Preparing the solver…

Time elapsed 0 seconds

Your cube stays on your device.

Scan your cube

Photos stay on your device. Check the detected colours before using each face.

Copy front · F

Your camera is off.
Press Start camera to begin.

Line up the face with the grid, then hold still for automatic capture.

Mirroring changes the live view only; captured faces keep their correct orientation. Use bright, even light and avoid glare. You can always press Capture this face yourself.

Can I solve a Rubik’s Cube using my camera?

Yes. Use your phone’s camera or a desktop webcam to scan the six faces of your cube directly in this online solver. Choose your cube size, press Scan with your camera and allow camera access. Hold each face square to the guide for automatic capture, or use the capture button. Check the detected colours and orientation before accepting each face, then check the 3D model and find your animated solution.

Do I need to download a cube solver app or create an account?

No app download, installation or account is needed. This free Rubik’s Cube solver runs in your web browser and supports sizes from 2×2 to 9×9, with 3×3 selected by default. Camera scanning is optional: you can enter every colour manually instead.

Are photos of my cube uploaded?

No. Camera frames and cube solving are processed on your device. Colour detection can be affected by lighting, glare and camera focus, so check every square before solving. Captured images are cleared when you close the scanner.

Optional beginner guide

Learn a beginner method

This is a general tutorial, separate from your personalised solution. To solve the cube in your hands, copy its six faces into the tool above, check the 3D model and press Find my solution. Your own move-by-move instructions will appear in the solver.

How do I solve a 3×3 Rubik’s Cube as a beginner?

A beginner method solves the puzzle in stages, so you can concentrate on a small number of pieces at a time. A 3×3 has fixed centres: their colours tell you where each side belongs. Corners have three colours and edges have two. Match complete pieces, rather than trying to move one sticker independently.

1. Make a white cross

White cross with matching side edgesGoal: four white edges around the white centre, with white above. The front and right examples show each edge’s other colour matching its side centre. Check the blue and orange sides too. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Up · white facenot relevant to this stage stickerwhite stickerWnot relevant to this stage stickerwhite stickerWwhite stickerWwhite stickerWnot relevant to this stage stickerwhite stickerWnot relevant to this stage stickerFront · green centrenot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerRight · red centrenot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage sticker
Goal: four white edges around the white centre, with white above. The front and right examples show each edge’s other colour matching its side centre. Check the blue and orange sides too. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

Bring the four white edges around the white centre. Each edge’s other colour must also match its side centre. A white plus sign with mismatched side colours is not a finished cross.

2. Finish the first-layer corners

Completed white first layerGoal: white underneath, with its corners in place. The bottom row on every side must match that side’s centre. A white face on its own is not enough. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Down · white facewhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWFront · green centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickergreen stickerGnot relevant to this stage stickergreen stickerGgreen stickerGgreen stickerGRight · red centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickerred stickerRred stickerRred stickerR
Goal: white underneath, with its corners in place. The bottom row on every side must match that side’s centre. A white face on its own is not enough. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

Turn the cube so the white cross is underneath. Find a white corner and place it above the gap between its matching side centres. For the front-right position, repeated R U R′ U′ turns can bring the corner into place. Keep checking all three colours; a white face alone does not guarantee a solved layer.

3. Complete the middle layer

Completed first two layersGoal: the middle row now matches the bottom row on all four sides. White stays underneath. The top-layer colours are not the focus yet. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Down · white facewhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWwhite stickerWFront · green centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickergreen stickerGgreen stickerGgreen stickerGgreen stickerGgreen stickerGgreen stickerGRight · red centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred stickerRred stickerRred stickerRred stickerRred stickerRred stickerR
Goal: the middle row now matches the bottom row on all four sides. White stays underneath. The top-layer colours are not the focus yet. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

Find a top-layer edge without yellow. Match its front colour to the front centre, then insert it into the appropriate middle-layer slot. For a right-hand insertion, use U R U′ R′ U′ F′ U F; the left-hand version is U′ L′ U L U F U′ F′. Turn the whole cube to put the slot at the front before using a sequence.

4. Build the yellow cross

Yellow cross aboveGoal: a yellow plus sign, with yellow above and white underneath. The yellow corners and the side colours of these top edges can still be unsolved. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Up · yellow facenot relevant to this stage stickeryellow stickerYnot relevant to this stage stickeryellow stickerYyellow stickerYyellow stickerYnot relevant to this stage stickeryellow stickerYnot relevant to this stage stickerFront · green centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerRight · red centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage sticker
Goal: a yellow plus sign, with yellow above and white underneath. The yellow corners and the side colours of these top edges can still be unsolved. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

With yellow above and white underneath, F R U R′ U′ F′ is a common yellow-cross sequence. The starting pattern and orientation matter. Use the illustrated official guide linked below to distinguish its dot, line and L-shaped cases.

5. Match the yellow cross to the side centres

Yellow cross edges aligned with side centresGoal: each yellow edge’s side sticker matches its side centre, just as the front and right examples do here. Check all four side centres. This shows the finished goal, not the two-match starting case. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Up · yellow facenot relevant to this stage stickeryellow stickerYnot relevant to this stage stickeryellow stickerYyellow stickerYyellow stickerYnot relevant to this stage stickeryellow stickerYnot relevant to this stage stickerFront · green centrenot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerRight · red centrenot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage sticker
Goal: each yellow edge’s side sticker matches its side centre, just as the front and right examples do here. Check all four side centres. This shows the finished goal, not the two-match starting case. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

Turn U to match as many yellow edges as possible. With two adjacent matches, hold them at the back and right. Use R U R′ U R U2 R′, then adjust U. If the matches are opposite, run the sequence once to get an adjacent case, set it up again and repeat.

6. Put the yellow corners in the right places

A correctly positioned yellow corner before orientationSetup example: the three outlined stickers are one upper front-right corner. Its yellow, green and red colours match the surrounding centres, so it is in the right place even though yellow faces right. Keep a correctly positioned corner here while cycling the others. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Up · yellow centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickeryellow stickerYnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickergreen sticker · highlighted cornerGFront · green centrenot relevant to this stage stickernot relevant to this stage stickerred sticker · highlighted cornerRnot relevant to this stage stickergreen stickerGnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerRight · red centreyellow sticker · highlighted cornerYnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage sticker
Setup example: the three outlined stickers are one upper front-right corner. Its yellow, green and red colours match the surrounding centres, so it is in the right place even though yellow faces right. Keep a correctly positioned corner here while cycling the others. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

A corner belongs between the three centres matching its colours, even if yellow faces sideways. Keep a correctly positioned corner at the upper front-right. U R U′ L′ U R′ U′ L cycles the other corners. With none correct, perform it once and inspect again.

7. Orient the last corners

Lower front-right corner after turning the whole cube overSetup example after turning the whole cube over: yellow is underneath and blue is now at the front. The outlined stickers mark the lower front-right working corner. Repeat complete R U R′ U′ sequences until its yellow sticker faces down; then turn only D to bring another unfinished corner here. On the Down panel, its top edge is beside Front. Each face is viewed straight on. Letter labels name the colours: W white, Y yellow, G green, R red and B blue. Grey stickers are not relevant to this stage.Down · yellow centrenot relevant to this stage stickernot relevant to this stage stickerblue sticker · highlighted cornerBnot relevant to this stage stickeryellow stickerYnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerFront · blue centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerblue stickerBnot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred sticker · highlighted cornerRRight · red centrenot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickernot relevant to this stage stickerred stickerRnot relevant to this stage stickeryellow sticker · highlighted cornerYnot relevant to this stage stickernot relevant to this stage sticker
Setup example after turning the whole cube over: yellow is underneath and blue is now at the front. The outlined stickers mark the lower front-right working corner. Repeat complete R U R′ U′ sequences until its yellow sticker faces down; then turn only D to bring another unfinished corner here. On the Down panel, its top edge is beside Front. Faces are shown straight on. Letters identify colours; grey means ignore that sticker for this stage.

Turn the whole cube over so yellow is underneath. At the lower front-right, repeat complete R U R′ U′ sequences until yellow faces down. Turn only D to bring the next unfinished corner there. Keep the whole cube still, and finish every four-move sequence. Earlier layers look disturbed temporarily; they recover after all corners are oriented and D is aligned. See J Perm’s beginner walkthrough for the setups and a worked solve.

For a complete illustrated walkthrough, use Rubik’s official beginner guide and its quick reference. The automatic solver above may choose a shorter two-phase or reduction route, rather than following this teaching method.

What do R, U, F and the apostrophe mean?

R is right, L left, U up, D down, F front and B back. View the turning face directly: a plain letter means clockwise, an apostrophe means anticlockwise, and 2 means a half turn. For larger puzzles, a w means a wide turn and a leading number specifies its width. This player also labels individual inner-layer turns.

Does a 3×3 really have 43 quintillion possibilities?

Yes: a standard 3×3 has 43,252,003,274,489,856,000 legal positions, about 43 quintillion. The Cube20 researchers give that exact count. Randomly matching colours is a poor strategy; structured moves make the problem manageable. This solver provides a verified solution, not a promise of the fewest possible moves.

Why can a cube’s colours be impossible to solve?

A mistyped sticker can create a piece that does not exist. A physically twisted corner, flipped edge or incorrectly reassembled cube can also leave a state that normal turns cannot fix. Check colour totals and each complete piece. A timed-out search is different from proving that a cube is impossible.

What changes on a 4×4 or bigger cube?

Larger cubes have additional centre and edge pieces. Reduction groups those pieces before treating the remaining structure like a 3×3, with extra parity cases where applicable. Entering a 9×9 means checking 486 stickers, so keep a consistent orientation. Longer solutions and searches are normal.

Advertisement · Amazon affiliate links

Looking for a cube to practise with?

We may earn a commission from qualifying purchases. These Geniuslinks take you to a regional shop. Check the current listing, size and price before buying.

Rubik’s Cube is a trademark of its owner. This is an independent tool, not an official Rubik’s service. Open-source solver credits, licence and corresponding source.

Keep this tool handy

Your browser saves the bookmark. This site cannot add it automatically.