Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

How long it takes a computer to guess your password

Each extra character multiplies the guessing time — length beats everything.

Brute-force cracking tries every combination. The number of combinations is the alphabet size raised to the password length, so adding one character multiplies the work — which is why length matters more than symbols.

Combinations grow exponentially

Raise the number of possible characters to the power of the password length to count the combinations, then divide by the guesser's speed.

N=cLN = c^{L}

Combinations for length L from an alphabet of c

An 8-letter lowercase password

Against a billion guesses a second.

Time to crack

  1. 1

    Combinations

    268≈2.09e+1126^{8} \approx 2.09e+11
  2. 2

    Divide by 10^9 per second

    ≈209 s\approx 209\text{ s}
  3. 3

    Add one more letter

    26^9 is 26x longer — one character buys a huge jump in safety.

Answer

About 209 seconds — but each extra character multiplies that by 26.

The formula behind it

Combinations

N=cLN = c^{L}

The takeaway

Password strength is exponential in length. Adding characters multiplies the cracking time far more than swapping in a symbol.

Back to all stories