Apps & Software

How to Measure Password Strength: Shannon Entropy, Cracking Times & Best Practices

Understand mathematical Shannon entropy and how modern GPU clusters crack passwords. Learn why length beats complexity, what NIST guidelines recommend, and how to create uncrackable passphrases.

Quick Summary & Key Takeaways

  • Objective: Understand mathematical Shannon entropy and how modern GPU clusters crack passwords. Learn why length beats complexity, what NIST guidelines recommend, and how to create uncrackable passphrases.
  • Estimated Time: Approximately 7 minutes following our step-by-step instructions.
  • Safety Recommendation: Ensure your device battery is above 30% and preserve any important files or passwords before modifying system settings.
Digital cyber security padlock glowing with binary code data
Measuring password cryptographic entropy and brute-force resistance.

For decades, computer users were told to create passwords that looked like Tr0Ub4dor&3: 8 characters filled with awkward capital letters, numbers, and punctuation marks.

The irony? These complex short passwords are easy for computers to crack in seconds, yet nearly impossible for humans to remember.

Modern cybersecurity standards—formalized by the National Institute of Standards and Technology (NIST SP 800-63B)—have completely overturned legacy password rules. Today, length and mathematical entropy are what keep your accounts safe from modern GPU cracking rigs.

In this guide, we break down the formula for Shannon Entropy, demonstrate brute-force cracking speeds across modern hardware (like an RTX 4090 cluster), and show how to create memorable, uncrackable passphrases.

🚀 Try the Live Utility: Test password entropy in bits and estimate cracking resistance 100% on-device with our free Password Security Checker.


1. What is Password Entropy?

In cryptography, entropy measures the unpredictability and mathematical randomness of a password. It is measured in bits:

$\text{Entropy (Bits)} = L \times \log_2(N)$

  • $L$: The length of the password (number of characters).
  • $N$: The character pool size (total number of possible characters the attacker must guess from).

Character Pool Sizes ($N$):

  • Numbers only (0-9): $N = 10$
  • Lowercase letters (a-z): $N = 26$
  • Mixed case letters (a-z, A-Z): $N = 52$
  • Alphanumeric (a-z, A-Z, 0-9): $N = 62$
  • Full ASCII with symbols: $N = 95$

Practical Example: Why Length Dominates

  1. Short & "Complex" Password (P@ss1 - 5 characters from 95 pool):

$\text{Entropy} = 5 \times \log_2(95) = 5 \times 6.57 = \mathbf{32.8 \text{ bits}}$

  1. Long & Simple Passphrase (correct-horse-battery - 21 characters from 27 pool):

$\text{Entropy} = 21 \times \log_2(27) = 21 \times 4.75 = \mathbf{99.8 \text{ bits}}$

Every additional bit of entropy doubles the number of guesses an attacker must attempt. A 99-bit passphrase is not three times stronger than a 33-bit password—it is $2^{66}$ (73 quintillion) times harder to crack!


2. Modern Hardware Cracking Speeds: The RTX 4090 Threat

Modern cybercriminals do not guess passwords one at a time on an office laptop. They use dedicated password-cracking software (like Hashcat or John the Ripper) running on server clusters powered by arrays of high-end GPUs.

A single NVIDIA GeForce RTX 4090 can compute over 150 Billion NTLM or MD5 password hashes every single second:

| Password Structure | Character Set | Total Combinations | Time to Crack (RTX 4090 Cluster) |

| :--- | :--- | :--- | :--- |

| 6 characters | Numbers only | 1 Million | Instant (0.0001 seconds) |

| 8 characters | Lowercase only | 208 Billion | Under 2 seconds |

| 8 characters | Mixed + Numbers + Symbols | 6.6 Trillion | ~45 seconds |

| 10 characters| Mixed + Numbers + Symbols | 59 Quintillion | ~3.8 years |

| 14 characters| Mixed + Numbers + Symbols | 47 Octillion | Over 300,000 years |

| 16+ character passphrase | Diceware words | Vast | Millions of years |


3. What NIST SP 800-63B Guidelines Recommend

The National Institute of Standards and Technology discarded obsolete legacy password rules:

  1. NO Arbitrary Composition Rules: Requiring at least one symbol and one number leads humans to predictable patterns (like replacing 'a' with '@' or appending '!1' at the end), which hacking dictionaries predict instantly.
  2. NO Mandatory 90-Day Password Resets: Forcing users to change passwords every 3 months causes password fatigue. Users simply change Summer2026! to Autumn2026!.
  3. DO Require Minimum Length (15+ Characters): Length is the single most effective barrier against brute-force attacks.
  4. DO Screen Against Leaked Dictionaries: Passwords should be checked against known data breach dumps (such as Have I Been Pwned).

4. How to Generate Uncrackable Passphrases: The Diceware Method

The most secure and memorable technique is the Diceware Passphrase Method:

  1. Select 4 or 5 completely random, unrelated dictionary words.
  2. Separate them with hyphens or spaces.
  3. Example: tropic-frozen-stapler-falcon

Why Passphrases Win:

  • Massive Length: 25+ characters long, providing over 80 bits of mathematical entropy.
  • Easy to Type on Mobile: No tedious switching back and forth between number and symbol keyboard layers.
  • Memorable: Human brains excel at remembering visual word associations.

Audit your passwords safely with our client-side Password Security Checker.

Frequently Asked Questions

What is Shannon entropy in passwords?

Shannon entropy measures the mathematical randomness of a password in bits. Each additional bit of entropy doubles the number of guesses a brute-force attacker must calculate to crack the password.

Why is a long passphrase better than a short complex password?

Brute-force cracking scales exponentially with character length. A 20-character passphrase of simple words (e.g., 'sunset-jacket-guitar-river') has far more mathematical combinations than an 8-character complex password like 'P@ss!98', making it virtually uncrackable.

Does checking a password on this website send it over the internet?

No. Our Password Security Checker runs 100% locally in your client web browser using JavaScript. No passwords, keys, or keystrokes are ever transmitted to any external server.

Why did NIST eliminate mandatory 90-day password expiration rules?

Research proved that forcing users to change passwords every 90 days leads to predictable substitutions (such as changing 'Spring2026!' to 'Summer2026!'), resulting in weaker overall account security.

Marcus Brody

About the Author: Marcus Brody

Windows & Hardware Analyst

Marcus has built, benchmarked, and repaired Windows PCs and wireless networks for 15 years. He writes clear solutions for desktop OS headaches and performance bottlenecks.