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

Why Longer Passwords Win

A 12-character password is 4 billion times harder to crack than an 8-character one.

Password strength is measured in bits of entropy. Each character from a 95-character set adds about 6.6 bits. More bits = exponentially more guesses needed.

Entropy Calculation

Entropy = log₂(characters^length). A 95-character set (upper + lower + digits + symbols) with 8 characters: log₂(95⁸) ≈ 52.6 bits. With 12 characters: ≈ 78.8 bits.

H=L×log⁡2(C)H = L \times \log_2(C)

L = length, C = character set size

8 vs 12 characters from 95-character set

  1. 1

    8-char entropy

    8×log⁡2(95)≈8×6.57=52.6 bits8 \times \log_2(95) \approx 8 \times 6.57 = 52.6 \text{ bits}
  2. 2

    12-char entropy

    12×6.57=78.8 bits12 \times 6.57 = 78.8 \text{ bits}
  3. 3

    Difficulty increase

    278.8−52.6=226.2≈7.9×1072^{78.8 - 52.6} = 2^{26.2} \approx 7.9 \times 10^7
Answer

About 79 million times harder — each extra character multiplies difficulty by ~95

The takeaway

Every extra character multiplies the guessing work by the size of the character set. Length beats complexity.

Back to all stories