Rubik's cube notation: how to read moves and scrambles

Cube notation is the short language used for moves, scrambles, and algorithms. Once you know the letters, a scramble is just a list you follow from left to right.

The six faces and their letters

Hold the cube however feels comfortable, then name each face by where it is: U up, D down, F front, B back, R right, and L left. Centers tell you which face is which, so do not rename a face by its color.

Up, front, and right

Clockwise turns, counterclockwise turns, and half turns

A letter alone is one quarter turn clockwise as you look straight at that face. R turns the right face clockwise. An apostrophe, called a prime, reverses it: R' is counterclockwise. A 2 is a half turn: R2 turns the face twice, so its direction does not matter.

R
R'
R2

The same ending works with every face letter. For example, U' is the top face counterclockwise and F2 is the front face halfway around.

Wide moves, slice moves, and whole-cube rotations

Wide moves

A wide move turns two layers together. Rw turns the right two layers. On a 3x3, a lowercase letter means the same thing, so r and Rw match. The other wide moves are Uw, Dw, Fw, Bw, and Lw.

Rw

Slice moves

Slice moves turn the middle layer only: M is between L and R, E is between U and D, and S is between F and B. Their direction follows the matching face: M follows L, E follows D, and S follows F.

M
E
S

Whole-cube rotations

x, y, and z rotate the entire cube, not one layer. They turn the cube in the same direction as R, U, and F. Use a prime or 2 here too, such as y' or x2.

x
y
z

How to read a scramble

Read moves from left to right. Keep the cube in the same position between moves unless the scramble says to rotate it.

R U R' U' F2 D

  1. R: turn the right face clockwise.
  2. U: turn the top face clockwise.
  3. R': turn the right face back counterclockwise.
  4. U': turn the top face back counterclockwise.
  5. F2: turn the front face halfway around.
  6. D: turn the bottom face clockwise as you look at the bottom.
After the whole scramble

Big-cube notation

On a 4x4 or bigger cube, a number says how many layers to turn. 3Rw means turn the three rightmost layers together. 2R means the second layer in from the right, not the outer R face. Different apps may write inner slices a little differently, so check their key when you practice.

Cheat sheet

MoveMeaning
R L U D F BTurn the right, left, up, down, front, or back face clockwise.
R' L' U' D' F' B'Turn that face counterclockwise.
R2 L2 U2 D2 F2 B2Turn that face halfway around.
Rw Lw Uw Dw Fw BwTurn that face and the layer beside it together.
r l u d f bShort form of the matching wide move on a 3x3.
M E STurn the middle slice between L/R, U/D, or F/B.
x y zRotate the whole cube like R, U, or F.
' and 2Add a prime for counterclockwise or 2 for a half turn.

Questions and answers

What does R' mean on a Rubik's cube?

R' means turn the right face one quarter turn counterclockwise, while looking straight at the right face. It is read as R prime.

What does U2 mean?

U2 means turn the top face halfway around. A half turn goes the same place whether you turn it clockwise or counterclockwise.

Which way is clockwise on a Rubik's cube?

Look straight at the face you are turning. Clockwise is clockwise from that view, even for the left, back, or bottom face.

What is a wide move?

A wide move turns two layers together. Rw turns the right two layers; a lowercase r means the same move on a 3x3 cube.

What do x, y, and z mean in cube notation?

They rotate the whole cube: x turns it like R, y like U, and z like F. They do not turn just one layer.