Home › Fun & Games › Online Cube Simulator

Online Cube Simulator

Play with a 3D puzzle cube in your browser. Drag a sticker to turn its layer, drag the background to look around, or type moves in standard notation. Scramble it, race the timer and undo any turn.

Last updated:

Time0:00.00
Moves0
Best–

Scramble
–
Your moves
–

Stuck on a 3×3?

Advertisement
Advertisement

How to use the Online Cube Simulator

  1. Pick a cube size (2×2 to 5×5) and press Scramble.
  2. Turn layers by dragging across a sticker in the direction you want it to move, or press U, D, L, R, F, B (hold Shift for counter-clockwise).
  3. Look around by dragging the empty area around the cube or using the arrow keys.
  4. Type an algorithm such as R U R' U' and press Apply moves to practise it.
  5. Solve it: the timer starts on your first turn and stops when every face is one color. Use Undo for mistakes.

Cube notation cheat sheet

The simulator uses the standard notation from the World Cube Association regulations. Turns are always described as if you were looking straight at the face being turned.

MoveMeaningKeyboard
R, L, U, D, F, BClockwise quarter turn of the right, left, up, down, front or back faceR L U D F B
R'Counter-clockwise quarter turn ("R prime")Shift + R
R2Half turn (direction does not matter)R twice
Rw or rWide turn: the outer two layers togetherType in the moves box
3RwWide turn of the outer three layers (5×5)Type in the moves box
2ROnly the second layer from the right (4×4, 5×5)2 then R
M, E, SMiddle slice: M follows L, E follows D, S follows F (odd cubes)M E S
x, y, zRotate the whole cube like R, U or FX Y Z

Practise these algorithms

NameAlgorithmUsed for
Sexy moveR U R' U'Inserting corners; repeat 6 times to return to the start
SuneR U R' U R U2 R'Orienting last-layer corners
T-permR U R' U' R' F R2 U' R' U' R U R' F'Swapping two corners and two edges
CheckerboardM2 E2 S2A pattern on the 3×3 (try it on the 5×5 too)
SuperflipU R2 F B R B2 R U2 L B2 R U' D' R2 F R' L B2 U2 F2Flips every edge; it needs 20 moves, the 3×3 maximum

How many positions does each cube have?

The number of reachable positions grows enormously with size. A 2×2 has 3,674,160 positions, and any of them can be solved in at most 11 half-turn moves. The 3×3 has 43,252,003,274,489,856,000 (about 4.3 × 1019) positions, and in 2010 a computer search proved that every one can be solved in 20 moves or fewer, a number nicknamed God's number. The 4×4 has about 7.4 × 1045 positions and the 5×5 about 2.8 × 1074.

Frequently asked questions

How do I turn the cube with the mouse or finger?

Press on a sticker and drag in the direction you want that sticker to travel. The layer that moves the sticker that way turns a quarter turn. Dragging the background around the cube rotates your view without changing the puzzle.

What does the notation R U R' U' mean?

Each letter is a face: R right, L left, U up, D down, F front, B back. A letter alone is a clockwise quarter turn as seen from that face, an apostrophe (R') is counter-clockwise and a 2 (R2) is a half turn. R U R' U' is a common trigger move used in many beginner and speedsolving methods.

How do I turn inner layers on a 4×4 or 5×5?

Put a number before the face for a single inner slice (2R turns the second layer from the right) or add w for a wide turn of the outer layers together (Rw or r turns two layers, 3Rw turns three). M, E and S turn the middle slice of odd cubes, and x, y, z rotate the whole cube.

How long are the scrambles?

Scrambles are random move sequences with no two turns of the same axis in a row: 11 moves for 2×2, 20 for 3×3, 40 for 4×4 and 60 for 5×5, similar to the lengths used for official random-move scrambles of big cubes. They are not random-state scrambles, so they are for practice rather than competition.

How does the timer work?

After a scramble the timer starts with your first layer turn (cube rotations with x, y or z do not start it) and stops automatically when every face is a single color. Turn on inspection to get 15 seconds to study the cube first. Your best time for each size is saved in your browser.

Can it solve the cube for me?

This page is a simulator, not a solver. For a 3×3, press Open in 3x3 Cube Solver: the current position is passed to the solver, which finds a short solution and shows each turn step by step.

Is my cube saved if I leave the page?

Yes. The current state and scramble for each size are saved in your browser's local storage, so the cube is still mixed up when you return on the same device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

3x3 Cube SolverPaint your scrambled 3x3 cube and get a short step-by-step solution with a 3D animation.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Lights Out GameTurn off every light in the classic 5x5 puzzle, with solvable random boards and a solver.StopwatchOnline stopwatch with laps, fullscreen mode and CSV export.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Connect FourPlay Connect 4 online against the computer or a friend.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.Taboo Word Game CardsDescribe the word without saying the forbidden ones: 100+ cards, timer and team scores.Tangram PuzzleDrag, rotate and flip 7 tangram pieces to fill 58 silhouettes, with snapping, hints and kids mode.Ultimate Tic Tac ToePlay 9 nested tic-tac-toe boards vs a Monte Carlo AI or a friend, with a rules guide.US Map PuzzleDrag the 50 states onto the US map. Snapping, timer, labels toggle, regions and an easy kids mode.US Presidents QuizName all 47 US presidencies in order against the clock, match years and facts, or study them.War Card GamePlay the classic War card game vs the computer: flip cards, fight wars, auto-play at any speed.Word Connect GameSwipe letters on a wheel to make words and fill the mini crossword. Hundreds of levels, hints, coins.Word Scramble GameUnscramble jumbled words against the clock. Pick a theme and difficulty, build streaks, use hints.Word Tile Game vs ComputerPlay a crossword board game against the computer: premium squares, tile bag, scoring, dictionary.Chinese Chess (Xiangqi)Play Chinese chess vs the computer at 5 levels or with a friend, with legal move highlights.Battleship GamePlace your fleet and sink the computer's ships in this classic naval guessing game.FreeCellPlay FreeCell solitaire online with the classic numbered deals, undo, hints and auto-move.Mastermind GameCrack the secret 4-color code in 10 tries using black and white feedback pegs.Tower of HanoiPlay the Tower of Hanoi puzzle with 3 to 8 disks, or watch it solve itself in the fewest moves.Maze GeneratorCreate random mazes in any size, solve them with the arrow keys, then print or save as PNG.Sudoku SolverType in any Sudoku and solve it instantly, get step-by-step hints and check it has one solution.Bingo Card GeneratorMake printable 75-ball or custom word bingo cards, from 1 to 200 unique cards, as PDF or print.Bingo Number GeneratorFree bingo caller for 75 or 90 balls with a live board, auto-call timer and spoken numbers.Online ScoreboardKeep score for any game: big team scores, game clock, periods, fullscreen and sport presets.Trivia Quiz300+ general knowledge trivia questions in 10 categories. 10-question rounds with a timer and score.Random Riddle Generator150+ riddles with hidden answers in easy, hard and kids levels. Guess, get a hint or reveal.Nonogram PuzzlePlay unlimited nonogram (picross) puzzles from 5×5 to 15×15, each with one unique solution.Crossword Puzzle MakerTurn a list of words and clues into a crossword you can play online, share or print.Pyramid SolitairePlay Pyramid Solitaire online: pair cards that add up to 13 and clear the pyramid.Yacht Dice GamePlay the classic 5-dice scoring game solo for a high score or against a friend.MancalaPlay Mancala (Kalah rules) online against a smart computer or a friend on one screen.BackgammonPlay backgammon online vs the computer or a friend, with doubling cube, undo and match scoring.Bubble Shooter GameAim, bounce and match 3 or more colored bubbles to pop them before the ceiling comes down.World Capitals QuizGuess the capital city of every country, by region, with multiple choice or typed answers.Categories Game GeneratorRandom letter and 12 categories from a 700+ pool, with round timer, printable sheets and scores.
See all 141 Online Games →