The U-perm algorithm is the PLL that nearly everyone already knows, even before they have heard its name: the last step of the beginner's method for the Rubik's Cube is a U-perm. This post shows you how to tell the two versions, Ua and Ub, apart, the algorithm for each one, a shorter version that uses the middle slice (M-slice), and pictures for all four angles.

Find your case fast

Look at your cube from above and tap the picture that matches it to see how to solve it. Grey cells are stickers you can ignore.

Every algorithm and every picture in this post was tested on the EasyRubic cube simulator.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

What is the U-perm?

The U-perm is one of the PLL cases, the last step of CFOP, once the whole top face is yellow. According to the SpeedSolving Wiki, PLL has 21 cases (SpeedSolving Wiki). The U-perm is the simplest of them:

  • All four corners are already in the right place.
  • One edge is already in the right place.
  • The other three edges cycle around.

Because one edge and the two corners on either side of it are all correct, there is always one side where the whole top row is a single colour. We call that the solved side. It is the sign that tells you it is a U-perm.

The picture below only colours the four edges of the top layer. The back edge stays put, and the other three swap places in a circle.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

There are two versions, going in opposite directions. Looking down from the top, with the solved side at the back:

  • Ua: the front edge goes to the right, the right edge goes to the left, and the left edge comes to the front. The three pieces move anticlockwise.
  • Ub: the front edge goes to the left, the left edge goes to the right, and the right edge comes to the front. The three pieces move clockwise.

If the letters R, U and F are still new to you, see Rubik's Cube notation for beginners first.

How to tell Ua and Ub apart

Hold the cube with yellow on top, then turn U (or turn the whole cube) so the solved side is at the back. Now you only need to look at one sticker: the edge sticker in the middle of the top row on the front face.

  • That sticker matches the right face: the front edge needs to go right. That is Ua.
  • That sticker matches the left face: the front edge needs to go left. That is Ub.

In the pictures in this post, the front face is green, the right face is orange, the left face is red and the back face is blue.

Ua: the front edge sticker matches the right face

The top row of the front face is green, orange, green. The orange sticker in the middle matches the right face, so this is Ua.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

Ub: the front edge sticker matches the left face

The top row of the front face is green, red, green. The red sticker in the middle matches the left face, so this is Ub.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

No solved side at all? Then it is not a U-perm. If all four corners are correct but no side is solved, it is an H-perm or a Z-perm, the two other cases in the edge step of 2-look PLL.

The Ua algorithm

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

Ruwix lists this algorithm for the U case (Ruwix), and it is also in the SpeedSolving Wiki's list for Ua. It is the very same algorithm as step 7 of how to solve the 3x3 Rubik's Cube for beginners, so many of you will already know it by heart.

It is 11 moves and uses only R and U, so you never need to change your grip. A memory trick: split it into chunks.

  1. R U' R U R U R U': R is always clockwise, while U goes in turn: anticlockwise, clockwise, clockwise, anticlockwise.
  2. R' U' R2: the finish.
See it in 3D, before and after
  1. You start with (input)
  2. After the formula

In the EasyRubic step-by-step guide, this is step 7:

  1. You start with (input)Yellow corners in place
  2. Result you will get after finishing this stepCube solved

The Ub algorithm

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

Ruwix and the SpeedSolving Wiki both list this one too. Here is the fun part: Ub is just Ua written backwards. Read Ua from the end to the start and flip the direction of every move, and you get exactly Ub. That is why the two algorithms have the same rhythm, just in opposite directions.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

Not got the hang of Ub yet? Doing Ua twice in a row also solves the Ub case, just more slowly. Cycling three edges twice in one direction is the same as cycling them once in the other direction. The beginner's method uses exactly this trick.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

The M-slice version: 7 moves

If you are comfortable turning the middle slice, the U-perm has a shorter version that uses only M and U:

  • Ua: M2 U M U2 M' U M2
  • Ub: M2 U' M U2 M' U' M2

Both are in the SpeedSolving Wiki's list. The same page also says the U-perm needs at least 7 moves if each middle-slice turn counts as one move, so the M-slice version is already the shortest possible (SpeedSolving Wiki).

What is M? M is the middle slice, between the R face and the L face. According to Ruwix, M turns the same way as L (Ruwix). With the front face towards you, M pulls the front centre down and M' pushes it up. M2 is a half turn, so the direction does not matter.

Hold the cube just as for the R version: solved side at the back. The result is exactly the same as the R version too, so the before and after pictures for Ua and Ub are the two pictures in the "How to tell Ua and Ub apart" section above. The picture below only colours the four edges for Ub: the three edges move clockwise and the back edge stays put.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula

A memory trick: the two versions only differ in the two U moves. Ua uses U, Ub uses U'. The M2, M, U2, M', M2 part is exactly the same.

Which version should you pick? The R version is easier for beginners, because everyone already knows R and U. The M-slice version is shorter, but you need practice to turn the middle slice smoothly. Try both and keep whichever your hands do faster.

Recognising it from every angle

The solved side will not always be sitting at the back. Instead of turning the whole cube, you can turn U first and then do the algorithm. The table below covers all four cases, and it works for both Ua and Ub, in both the R and the M-slice versions:

Solved side is on theTurn firstThen do
Back (hidden)NothingUa or Ub
Left (hidden)UUa or Ub
FrontU2Ua or Ub
RightU'Ua or Ub

After the U turn, look at the front edge sticker again to tell whether it is Ua or Ub. Each picture below includes the U turn at the start of the algorithm, so you can see the picture on the right is always a solved cube.

Solved side at the back

You cannot see a solved side, because it is at the back. Ua: the front face is green, orange, green. Ub: the front face is green, red, green. No U turn needed, just do the algorithm. The pictures for these two cases are the two pictures in the "How to tell Ua and Ub apart" section.

Solved side on the left

You cannot see a solved side here either. For Ua, the front face is red, green, red and the right face is green, orange, green. For Ub, the front face is red, orange, red and the right face is green, red, green. Turn U, then do the algorithm.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula
See it in 3D, before and after
  1. You start with (input)
  2. After the formula

Solved side at the front

The whole top row of the front face is blue. For Ua, the right face is red, green, red. For Ub, the right face is red, orange, red. Turn U2, then do the algorithm.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula
See it in 3D, before and after
  1. You start with (input)
  2. After the formula

Solved side on the right

The whole top row of the right face is blue. For Ua, the front face is orange, red, orange. For Ub, the front face is orange, green, orange. Turn U', then do the algorithm.

See it in 3D, before and after
  1. You start with (input)
  2. After the formula
See it in 3D, before and after
  1. You start with (input)
  2. After the formula

The U-perm in 2-look PLL

In 2-look PLL, Ua and Ub are two of the four algorithms in step 2, the step that swaps the edges. At this point all four corners are correct, so you only need to look at the edges:

  • One side solved: Ua or Ub, as shown above.
  • No side solved: H-perm or Z-perm.

When you move on to all 21 PLL algorithms, Ua and Ub stay exactly the same. Getting them right from the start is never wasted effort.

The J Perm video below shows both Ua and Ub in the edge part of 2-look PLL, with the hands working at real speed:

https://www.youtube.com/watch?v=f_Yor-ydZjs Video: J Perm, Rubik's Cube: Easy 2-Look PLL Tutorial (Beginner CFOP)

How to practise the U-perm

The SpeedSolving Wiki suggests practising finger tricks in this order: do them slowly to get the movement right first, then build up speed bit by bit. Pushing for speed too early makes it easy to pick up bad turning habits that are hard to fix later (SpeedSolving Wiki). The same page also suggests trying out which finger turns which layer most comfortably for your own hands, and then sticking with that.

A simple practice plan EasyRubic suggests for beginners (this is a suggestion, not a figure from the sources):

  • Each day, do Ua about 20 times on a solved cube, slowly and evenly. Doing Ua three times in a row brings the cube back to where it started, so there is no need to scramble it again.
  • Once your hands do it without thinking, practise Ub 20 times a day as well.
  • Then practise recognition: ask someone to set up a U-perm at any angle, then all you do is look, turn U so the solved side is at the back, guess Ua or Ub, and only then do it.
  • The M-slice version: only practise it once the R version is fast. If your hands are not used to turning the middle slice yet, just go very slowly at first.

A finger trick for the M move: put your left ring finger on the back of the middle slice and push up. The back goes up and the front goes down, which is the M direction. This is a way some players share on Ruwix (Ruwix), not a fixed rule. The Rubik's Cube finger tricks post has animations for this move and for R and U.

Common mistakes

  • The solved side is not at the back. The algorithm only works when that side is at the back. Always turn first.
  • Looking at the wrong face. Only look at the front edge sticker and compare it with the right face or the left face. Nothing else matters.
  • Turning M the wrong way. M goes the same way as L. If the M-slice version scrambles the cube even more, check the M direction first.
  • Doing Ua by mistake instead of Ub. No problem: the cube will be a U-perm again. Do Ua one more time and you are done.

What to see next

Done with the U-perm? Two PLL algorithms worth seeing next are the T-perm algorithm, which swaps two corners and two edges, and the J-perm algorithm, with both Ja and Jb. Once the number of algorithms starts to grow, read how to remember Rubik's Cube algorithms: split each algorithm into chunks, practise a little every day, and go back over the old ones.

Sources

Frequently asked questions

How many moves is the U-perm?

The version with R and U has 11 moves. The M-slice version has 7 moves if each middle-slice turn counts as one move. According to the SpeedSolving Wiki, 7 is also the fewest moves possible for the U-perm when counted that way.

What is the difference between Ua and Ub?

Both cycle three edges, just in opposite directions. With the solved side at the back, Ua sends the front edge to the right and Ub sends the front edge to the left.

Do I need both Ua and Ub?

At first, Ua is enough: doing it twice solves Ub. When you want to get faster, add Ub. Ub is just Ua written backwards, so it does not take long to get the hang of.

Is there an easy way to remember the name U-perm?

Draw arrows on the top face for the three edges that need to swap: the three arrows join the left edge, the front edge and the right edge, and they look like the letter U. "Perm" is short for permutation, which means rearranging, or swapping places.

EasyRubic Editorial

Friendly notes for anyone who wants to solve their first Rubik’s Cube.

Ready for your first turn?

Go from reading notation to each step of a solved cube.

Start with step 0

Learn the 3x3 step by step · 3x3 online timer