What Is an Alg in Speedcubing? Notation, Sources, and How to Learn Them

An alg (short for algorithm) in speedcubing is a fixed sequence of moves that transforms a specific cube state into another — usually solving a case or advancing toward a solve. It is not a general math algorithm; it is a memorized motor routine. You need algs once you move past beginner layer-by-layer methods and start learning case-based systems like CFOP, Roux, or ZZ. This guide explains how algs are written, where to find them, and how to actually learn them.

What an alg actually is

An alg is a string of move instructions tied to a case — a specific arrangement of pieces. For example, an OLL alg assumes the last layer is oriented in a particular pattern; applied to that pattern, it produces a solved (or further-advanced) state.

Two consequences follow:

  • An alg is case-specific. The same string applied to a different case gives a different, usually worse, result.
  • An alg is orientation-specific. Most algs assume a defined cube orientation (e.g., the unsolved face facing you). Rotate the cube and the same moves no longer solve the case.

Reading alg notation

Standard notation lets you read any alg sheet. Each letter is a face; a prime (') means counterclockwise; a number means repeat.

Symbol Meaning
R, L, U, D, F, B Right, Left, Up, Down, Front, Back face — clockwise 90°
R', U', F' Same face, counterclockwise 90°
R2, U2 Same face, 180°
r, u, f (lowercase) Wide move: the face plus the adjacent middle layer
M, E, S Slice moves: middle layer between L/R, U/D, F/B
x, y, z Whole-cube rotations (like turning the cube in your hands)

A sample alg like R U R' U' reads: right clockwise, up clockwise, right counterclockwise, up counterclockwise. That four-move sequence is the "sexy move," the building block of many beginner and advanced algs.

Where to find algs by puzzle and case

Algs are organized by puzzle and by case. Speed Cube Database (speedcubedb.com) is one example of a free online database covering algorithms and reconstructions for 2x2 through 6x6, plus SQ1, Pyraminx, and Megaminx. Its keyword set — alg, algorithm, algsheet, cubing, speedcubing, fingertricks, video — reflects what such databases typically offer: alg sheets per case, fingertrick notes, and video demonstrations.

When searching for algs, match three things:

  1. Puzzle (3x3, 4x4, etc.) — algs are not interchangeable across sizes.
  2. Method/system (CFOP OLL/PLL, Roux CMLL, etc.) — the same case may have different algs per system.
  3. Case name or diagram — use the visual to confirm you have the right one.

How to learn algs effectively

Memorizing the string is the easy part; making it fast is the work.

  • Chunk the alg. Break it into 2–4 move groups rather than 15 separate moves. R U R' U' is one chunk, not four.
  • Learn fingertricks. Each chunk maps to a finger motion (index push, ring pull, etc.). Databases that include fingertrick notes or video are more useful than raw text for this reason.
  • Drill in isolation first. Repeat the alg slowly until it is accurate, then build speed. Accuracy before speed prevents locking in bad habits.
  • Then drill in context. Apply it to scrambled cases so you practice recognition, not just execution.
  • Space your practice. Short daily sessions beat one long cram; algs are muscle memory and decay without repetition.

Troubleshooting an alg that doesn't work

If an alg fails, check in this order:

  1. Notation errors — a missed prime or a 2 read as a single turn is the most common cause.
  2. Wrong case — confirm the piece arrangement matches the alg's diagram.
  3. Cube orientation — verify which face is "front" and whether a rotation (x/y/z) is implied.
  4. Wide vs. slice confusion — lowercase r is not the same as R or M.
  5. Setup moves — some algs assume a preceding rotation or setup; check the full entry, not just the move string.

Work through these before assuming the alg itself is wrong — most failures are notation or orientation, not the sequence.

cytoscape.org
Cytoscape Official Web Site
speedcubedb.com
Free online speedcubing algorithm and reconstruction database, covers every algorithm for 2x2 - 6x6, SQ1, Pyraminx and Megaminx
yworks.com
High-quality software components for graph analysis, automatic graph layout, and visualization.