Rubik's cube notation in one minute
Rubik's cube notation is the short code that cube guides, solvers and timers use to write moves. It is the standard of the World Cube Association (WCA), the body that runs official competitions, and every 3x3 solver on this site uses it.
- Six letters for six faces:
Rright,Lleft,Uup,Ddown,Ffront,Bback. - A letter alone is a quarter turn clockwise, judged as if you look straight at that face. That is why
Rmoves the front column up whileLmoves it down: they turn the same way only when each is seen from its own side. - A prime (
R', said "R prime") is a quarter turn counter-clockwise. A 2 (R2) is a half turn; clockwise or not makes no difference. - Wide turns:
Rworrturns the right face and the layer next to it together. On bigger cubes,3Rwturns three layers. - Slices turn only a middle layer of the 3x3:
M(between L and R, same direction as L),E(between U and D, like D) andS(between F and B, like F). - Rotations turn the whole cube in your hand:
xlike R,ylike U,zlike F. Nothing on the cube changes, only how you hold it. - Inner slices on a 4x4: a number in front without a w, like
2R, turns only that layer, counted from the face.
Reading an algorithm
Read it left to right and keep the same grip the whole time unless a rotation says otherwise: the face called F is whichever face points at you at that moment. Take R U R' U': right face up, top face to the left, right face down, top face to the right. Typed into the box above, you can watch it, step back one move, or press Reverse it to get the sequence that undoes it (here U R U' R'). Reversing reads the moves backwards and flips every quarter turn, which is how a scramble is undone.
How moves are counted
The WCA counts moves in the outer block turn metric: every face turn and every wide turn counts as one, half turns included, and rotations count as zero (WCA regulation 12a5). So R U2 x R' is three moves. The solvers on this site count the same way, and slice turns such as M count as one move when they appear.
Common mix-ups
- Clockwise for L, D and B. Look at the face itself: for
Dthat means from below, so from the front the bottom row moves to the right. - U' versus U2. A prime is a quarter turn back; a 2 is a half turn.
- Lowercase letters. In most guides
rmeans the same asRw. Some older 4x4 guides usedrfor the inner slice alone; check the guide's own key. - M direction.
MfollowsL, so the front middle column goes down. Our animation shows it.
Once the letters make sense, practice reading them on the Rubik's cube patterns page, where every pattern is a short sequence written in this notation.
Sources: WCA Regulations, version of 1 April 2026, article 12 (notation). Rules checked . Found a problem? Tell us.
Questions
What does R' mean on a Rubik's cube?
Turn the right face a quarter turn counter-clockwise, as you look at the right face. From the front, the right column moves down.
What does the 2 in R2 mean?
A half turn of the right face (180 degrees). Turning it either way gives the same result.
What is the difference between r and R?
R turns only the right face. r, also written Rw, turns the right face and the middle layer next to it together.
What do x, y and z mean?
They turn the whole cube in your hands without changing it: x in the direction of R, y in the direction of U, z in the direction of F. With a prime they go the other way.
Which way is M?
M turns the middle layer between L and R in the same direction as L, so the front middle column moves down. M' moves it up.