How to Read a Rubik's Cube Algorithm
Learn how to read Rubik's Cube algorithms step by step. Understand what each letter and symbol means so you can follow any solve sequence with confidence.

Pick up any beginner solve tutorial and you will run into a line like R U R' U' almost immediately. To someone new to cubing, that string of letters looks like a secret code, but it is actually a compact, precise language that tells you exactly which face to turn, in what direction, one move at a time. Once you know the rules, you can follow any algorithm in any guide without having to watch a video.
This article walks through the full system from scratch, including a move-by-move breakdown of a real beginner sequence, so you can start reading and executing algorithms on your own.
What an Algorithm Actually Is
An algorithm is a fixed sequence of face turns written left to right. You perform each move in order, one after the other, without rotating the whole cube between moves. The sequence is designed to affect specific pieces while leaving the rest of the cube undisturbed, or close to it.
That last point is important. An algorithm is not a random list of moves. Every sequence was worked out (or discovered) because it produces a predictable, repeatable result. Apply it to the right starting situation, from the right orientation, and the same thing happens every time.
Algorithms vs. intuitive moves
Early in a solve, you will often move pieces around intuitively, sliding edges into rough position, rotating the cube to see what you have. Algorithms come in later, when you need surgical precision. They are short programs, not general guidelines.
Starting orientation matters
An algorithm only works correctly from a specific starting orientation. Most beginner tutorials specify something like "hold the cube with white on the bottom and the piece you want to affect on the front face." If you pick up the cube and run the algorithm from a different angle, you will get a different result. Before executing any sequence, take a moment to identify which face should be facing you. This is the front face, and all the letters in the algorithm are defined relative to it.
The Six Face Letters
Every move in an algorithm refers to one of the six faces of the cube. Each face has a single-letter name:
- R, Right face (the rightmost layer)
- L, Left face (the leftmost layer)
- U, Upper face (the top layer)
- D, Down face (the bottom layer)
- F, Front face (the face pointing toward you)
- B, Back face (the face pointing away from you)
A letter by itself means you turn that face 90 degrees clockwise, as viewed from outside the cube looking directly at that face. So R means grab the right layer and rotate it clockwise when you look at the right side straight on. See Rubik's Cube Notation Explained: R, U, L, D, F, B for a full visual breakdown of each face.
The Two Modifiers: Prime and 2
Only two symbols modify a base letter, and they each have a clear job.
The prime symbol ( ' )
A letter followed by ', called "prime", means the move goes counter-clockwise instead of clockwise. So while R rotates the right face clockwise, R' rotates it counter-clockwise (when you look directly at the right face from outside the cube). Beginners often say "prime means backwards." That is a useful shorthand. For a deeper look at this symbol and why it appears so often, see What Does the Prime Symbol Mean in Cube Notation.
The number 2
A letter followed by 2, for example U2, means you turn that face 180 degrees. It does not matter which direction you go because two quarter-turns in either direction land on the same position. In practice, most people pick whichever direction feels natural for their grip in that moment.
Quick reference
| Symbol | Meaning | Example |
|---|---|---|
| Letter only | 90° clockwise | R |
Letter + ' | 90° counter-clockwise | R' |
Letter + 2 | 180° (half turn) | U2 |
Walking Through a Real Algorithm: R U R' U'
This four-move sequence is one of the first algorithms beginners learn. It is sometimes called the "sexy move" in cubing circles because it is fast and smooth to execute. Here is what happens, move by move.
Hold the cube with white on the bottom and pick a front face, say, the red face is pointing toward you.
Move 1, R: Turn the right face 90° clockwise (as viewed from the right side). The top-right corner and the two pieces below it rotate forward, toward you.
Move 2, U: Turn the upper face 90° clockwise (as viewed from above). The top layer rotates to the right. The corner that just moved up is now sliding toward the back.
Move 3, R': Turn the right face 90° counter-clockwise. This undoes the shape of the first R move, pulling that corner back down on the right side.
Move 4, U': Turn the upper face 90° counter-clockwise. This returns the top layer toward its starting position, but with one key difference, the pieces have been permuted and twisted in a specific, controlled way.
Execute R U R' U' six times in a row and the cube returns to exactly where it started. That is a property of many short algorithms, repeat them enough times and you cycle back. It is a good sanity check if you ever wonder whether you are reading a sequence correctly.
Tips for Following Algorithms as a Beginner
Go slower than you think you need to
Speed comes later. At first, read one symbol, execute that one turn, then read the next. Many beginners misread algorithms because they try to process several moves at once and lose track of where they are in the sequence.
Find your front face before you start
Algorithms break down fast if you switch orientations mid-sequence. Put something on the table in front of the cube, or mark the front face with a sticky note, until holding orientation becomes automatic.
Reset if you lose your place
If you get halfway through and are not sure whether the last move was U or U', do not guess. Undo what you have done (run the moves in reverse, with directions flipped) and start over. Finishing a broken sequence usually makes the cube worse, not better.
Learn move pairs, not single letters
R U R' U' is four symbols, but experienced cubers execute it as one smooth hand motion. As you repeat an algorithm, notice which moves naturally pair together for your hands. Learning those chunks, sometimes called finger tricks, is what makes algorithms feel fluid rather than robotic.
Remember: centers define the faces
If you are ever confused about which face is which, recall that the center pieces never move relative to each other. The center of the face you see on top is always the U face, no matter how jumbled the rest of the puzzle looks. Understanding why the centers never move and why it matters can clear up a lot of confusion about how algorithms stay consistent.
FAQ
What does the letter "R" mean in a cube algorithm?
R stands for the Right face, the rightmost layer of the cube. A plain R means you rotate that layer 90 degrees clockwise, as seen from the right side. It is one of the six face letters (R, L, U, D, F, B) used to write every move in standard cube notation.
What is the difference between R and R' in cube notation?
R rotates the right face clockwise; R' (said "R prime") rotates the right face counter-clockwise. The prime symbol always reverses the direction of the move. You can think of it as "the opposite of" whatever the plain letter does.
Do I rotate the whole cube when following an algorithm?
No. This is one of the most common mistakes beginners make. An algorithm assumes you keep the cube in a fixed orientation, the same face pointing toward you, the same face on top, throughout the whole sequence. Rotating the cube mid-algorithm changes which face each letter refers to and breaks the result.
What happens if I do an algorithm from the wrong position?
You will get the wrong result. Algorithms are position-specific: they are designed to solve a particular pattern from a particular setup. Before executing any sequence, check that the cube matches the case shown in your tutorial and that you are holding it with the correct face in front.
Can I learn cube notation without memorizing it all at once?
Absolutely. Most beginners start with R, L, U, and D, the four faces they use most in the beginner method, and pick up F, B, and the modifier symbols as they encounter them. You do not need to memorize the whole table before you start solving. Read the notation guide, keep it open while you practice, and the letters will become automatic within a few sessions.