Cube Coach

Rubik’s Cube Notation: Every Move Explained

R, L, U, D, F, B, primes, double turns, slice moves and cube rotations — the complete notation reference, with tables.

Last updated: 29 November 2026

Why notation exists

A Rubik's cube has 43 quintillion states, but only six things you can ever do to it. Notation is the shorthand that turns those six things into a written language, so a sequence that took someone years to discover can be passed to you in twelve characters. Without it, every instruction becomes a paragraph: "turn the layer on your right-hand side one quarter turn in the direction that moves the front face upward." With it, that is just R.

Notation is also what makes a cube solvable by a machine. When you enter your colours into the solver on the homepage and it returns a line like R U2 F' L D R', it is speaking the same language as every tutorial, every algorithm sheet and every competitor at a speedcubing event. Learning to read it fluently is maybe two hours of work, and it unlocks essentially all cubing material ever written.

Face names depend on how you hold the cube

This is the single most important idea on this page, and the one beginners skip. The letters do not refer to colours. They refer to positions relative to you, right now. The face pointing at your chest is the Front. Whatever is on your right is the Right. If you rotate the whole cube in your hands, every letter now means a different set of stickers.

So before you execute an algorithm, you must know which face is supposed to be in front and which on top. Good instructions always say: "hold the cube with the yellow centre on top and the unsolved corner at the front-right." If you set the cube down, pick it up again at a different angle and continue, the algorithm will do something else entirely — and it will usually look like the algorithm was wrong. It wasn't. This is the number one cause of "my cube got worse", which we cover further on common mistakes.

The six face moves

Each letter means: turn that one outer layer a quarter turn clockwise. "Clockwise" is always judged as if your eye were directly in front of that face, looking straight at it from outside the cube.

MoveWhat turnsDirection
RRight face, one layerClockwise as seen from the right of the cube (front edge travels upward)
LLeft face, one layerClockwise as seen from the left of the cube (front edge travels downward)
UUp face, one layerClockwise seen from above (front row travels to the left)
DDown face, one layerClockwise seen from underneath (front row travels to the right)
FFront face, one layerClockwise from where you are sitting (top row travels to the right)
BBack face, one layerClockwise as seen from behind the cube (top row travels to the left)
The D and L trap. Because clockwise is measured from outside the face, D looks counter-clockwise if you keep your eyes on the top of the cube, and L looks counter-clockwise if you stare at the front. Do not try to convert in your head. Physically tilt the cube so you are looking at that face, decide which way clockwise is, then turn.

Primes and double turns

A prime symbol — the straight apostrophe after a letter — means the same layer, the same quarter turn, the opposite direction. R' is read aloud as "R prime" and means the right layer counter-clockwise. A plain letter and its prime undo each other: R followed by R' leaves the cube exactly as it was.

A 2 means a half turn, 180 degrees, of that layer. U2 is two quarter turns of the top layer, and because 180 degrees lands in the same place either way, direction is irrelevant — U2 and U2' describe the same result. Some sheets still write U2'; that is a hint about which way your fingers should push it, which matters for speed but not for correctness. More on that on the speedcubing page.

Those three forms cover every face move: F, F', F2 and the same for the other five letters — eighteen in total. The overwhelming majority of algorithms you will ever meet are written with nothing else. The slices and rotations below are conveniences layered on top.

Slice moves: M, E, S

The three middle layers have no outer face, so they get their own letters. These appear constantly in last-layer edge algorithms and in anything built around the centre of the cube.

Each slice borrows its direction from a neighbouring face, and this is where almost everyone gets confused. The rule is worth memorising as three short phrases: M follows L, E follows D, S follows F. In other words, each slice turns the same way as the face it is paired with — so M is not "the middle layer clockwise from the right", it is "the middle layer the way L goes".

Whole-cube rotations and wide moves

Sometimes an algorithm needs you to reorient the entire puzzle rather than twist a layer. That is what x, y and z do: nothing is scrambled, you simply change which face counts as Front and Up. They borrow their directions from R, U and F respectively.

MoveWhat turnsDirection
MMiddle slice, between L and RSame way as L — the front centre travels downward
EEquatorial slice, between U and DSame way as D — the front centre travels to the right
SStanding slice, between F and BSame way as F — the top centre travels to the right
xWhole cube, no layer twistedSame way as R — the front face rolls up to become the top
yWhole cube, no layer twistedSame way as U — the front face swings to the left
zWhole cube, no layer twistedSame way as F — the top face tips over to the right

Between a single layer and the whole cube sit the wide or double-layer moves, written Rw (modern style) or r (compact style) and read "R wide". These grab the outer face and the slice behind it, two layers at once, turning in the face's direction. That gives you a tidy set of identities:

A notation warning. Some older books and websites use lowercase letters for the inner slice alone rather than for two layers. If an algorithm with lowercase letters behaves oddly, test it as a double-layer turn and then as a slice-only turn; one of the two will be what the author meant. Current competition notation treats r and Rw as identical.

How algorithms are written and read

An algorithm is just a space-separated list of moves, executed strictly left to right. R U R' U' means: right layer clockwise, top layer clockwise, right layer counter-clockwise, top layer counter-clockwise. Nothing is simultaneous and nothing is optional.

R U R' U'

That particular four-move sequence is nicknamed the "sexy move" and is the most reused fragment in cubing. It is also a lovely demonstration of why order matters: do it once and the cube looks wrecked, do it six times in a row and the cube returns to exactly where it started.

Longer algorithms are easier if you stop reading them as letters and start reading them as chunks. Sune, the workhorse of last-layer corners, chunks as a trigger, a single U, then the same trigger with a double turn inside it — R U R' / U / R U2 R':

R U R' U R U2 R'

Experienced cubers see three groups there, not seven moves. The same chunking makes a 14-move permutation algorithm like the T permutation manageable:

R U R' U' R' F R2 U' R' U' R U R' F'

Slice algorithms read the same way once the direction rule is automatic. The H permutation, which swaps the two pairs of opposite top-layer edges, is almost all M2:

M2 U M2 U2 M2 U M2

How to practise reading an algorithm slowly

Fluency comes from deliberately slow repetition, not from speed. A method that works:

  1. Say each move out loud before you turn. "R. U. R prime. U prime." Speaking it forces you to decode the symbol rather than copy a hand shape from a video.
  2. Start from a solved cube. Apply the algorithm, watch what it changes, then apply the inverse — reverse the order and flip every prime — and confirm you are back to solved. R U R' U' inverts to U R U' R'. If you don't land on solved, you misread something, and you have found the exact habit worth fixing.
  3. Don't re-grip mid-algorithm. Keep the same face in front from the first move to the last. Rotating the cube to make a turn more comfortable is the fastest way to ruin an otherwise correct sequence.
  4. Use the single-moves playground. The homepage lets you fire off individual moves and watch the 3D cube respond, which is the quickest way to make D', B and B' stop feeling like guesses.
  5. Then slow down further. Three correct repetitions beat twenty sloppy ones. Speed is a later problem.

Once notation reads like words instead of code, the step-by-step method on how to solve a cube stops being memorisation and starts being comprehensible — and the solver's move strip on the homepage becomes something you can simply follow, move by move, in exactly the notation described above. If a term in a tutorial is still unfamiliar, the glossary covers the vocabulary that sits on top of this alphabet.