← Simulator

Number 5 pattern lock

How to draw the number 5 as an Android unlock pattern, step by step, on the standard 3×3 grid and on 4×4, with the security score PatternGuard’s analyzer gives each version.

Number 5 pattern lock on a 3×3 grid, step by step: 3, 2, 1, 4, 5, 6, 9, 8, 7
Green = start, yellow = end. Numbers show the order.

The number 5 on a 3×3 grid

The number 5 can be drawn exactly on the 3×3 grid in a single stroke, without going back over any line.

  1. Start at dot 3 (top-right corner).
  2. Go to dot 2 (top middle).
  3. Go to dot 1 (top-left corner).
  4. Go to dot 4 (middle left).
  5. Go to dot 5 (center).
  6. Go to dot 6 (middle right).
  7. Go to dot 9 (bottom-right corner).
  8. Go to dot 8 (bottom middle).
  9. Finish at dot 7 (bottom-left corner).

PatternGuard’s analyzer gives it 20/100 (Very weak): 9 dots, 0 crossings, starting at the top-right corner.

Try it in the simulator

On 3×3 this is exactly the same pattern as the letter S: anyone who guesses one has guessed the other.

Is a number 5 pattern safe?

Not really. Numbers are easy to guess when they mean something: a birthday, a house number, a favorite number. A single digit drawn on the grid is also a short, recognizable shape that’s easy to spot over someone’s shoulder.

A stronger way to use the number 5

On 3×3 the number 5 already uses almost every dot, so there’s no room to hide it inside a longer stroke. If you want to keep it, the 4×4 version on this page gives you more room; otherwise, the safest pattern is one of your own that doesn’t spell anything.

Number 5 pattern lock on a 4×4 grid, step by step: 13, 14, 15, 12, 7, 6, 5, 1, 2, 3, 4

The number 5 on a 4×4 grid

Stock Android uses the 3×3 grid; 4×4 shows up in some custom ROMs and lock-screen apps, and the simulator supports it. The number 5 can be drawn exactly on the 4×4 grid in a single stroke, without going back over any line.

Order: 13 → 14 → 15 → 12 → 7 → 6 → 5 → 1 → 2 → 3 → 4

PatternGuard’s analyzer gives it 23/100 (Very weak): 11 dots, 0 crossings, starting at the bottom-left corner.

Try the 4×4 version

Why some numbers can’t be drawn exactly

Android’s pattern lock has three rules: at least 4 dots, no dot can be selected twice, and if the stroke passes over a dot you haven’t used yet, Android adds it automatically. Passing over a dot you already used is allowed, which is how some shapes can be traced exactly. On 3×3, shapes with a closed loop or three or more loose ends (like A, B or O) still need one line left out or one line added; the 4×4 grid has more room, but not always enough.