R, L, U, D, F, B, primes, double turns, slice moves and cube rotations — the complete notation reference, with tables.
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.
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.
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.
| Move | What turns | Direction |
|---|---|---|
R | Right face, one layer | Clockwise as seen from the right of the cube (front edge travels upward) |
L | Left face, one layer | Clockwise as seen from the left of the cube (front edge travels downward) |
U | Up face, one layer | Clockwise seen from above (front row travels to the left) |
D | Down face, one layer | Clockwise seen from underneath (front row travels to the right) |
F | Front face, one layer | Clockwise from where you are sitting (top row travels to the right) |
B | Back face, one layer | Clockwise as seen from behind the cube (top row travels to the left) |
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.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.
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".
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.
| Move | What turns | Direction |
|---|---|---|
M | Middle slice, between L and R | Same way as L — the front centre travels downward |
E | Equatorial slice, between U and D | Same way as D — the front centre travels to the right |
S | Standing slice, between F and B | Same way as F — the top centre travels to the right |
x | Whole cube, no layer twisted | Same way as R — the front face rolls up to become the top |
y | Whole cube, no layer twisted | Same way as U — the front face swings to the left |
z | Whole cube, no layer twisted | Same 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:
Rw = R + M', and Lw = L + MUw = U + E', and Dw = D + EFw = F + S, and Bw = B + S'x = Rw L'r and Rw as identical.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.
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':
Experienced cubers see three groups there, not seven moves. The same chunking makes a 14-move permutation algorithm like the T permutation manageable:
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:
Fluency comes from deliberately slow repetition, not from speed. A method that works:
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.D', B and B' stop feeling like guesses.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.