Computing & Software
Password Entropy & Brute-Force Time Estimate
Estimate the theoretical search space, entropy and average exhaustive-search time from password length and selected character sets.
How the calculation works
Character-set size is the sum of selected alphabet sizes. Search-space combinations = alphabet size raised to password length. Entropy = log2(combinations). Average exhaustive-search time assumes half the combinations at the entered guesses-per-second rate; convert seconds to Julian years using 31,557,600 seconds per year.
Worked example
Example inputs — Password length: 12; Lowercase letters: yes; Uppercase letters: yes; Digits: yes; Symbols: yes; Assumed guesses per second: 1000000000. Expected results — Selected character-set size: 72 characters; Theoretical combinations: 1.940840996e+22 possibilities; Theoretical entropy: 74.03910002 bits; Average exhaustive-search time: 9.704204981e+12 seconds; Average exhaustive-search time: 307507.6996 years.
Assumptions and limits
A theoretical upper-bound-style estimate under independent uniformly random characters and a constant attacker speed; real passwords are often predictable, reused, leaked, rate-limited or checked against blocklists. The result does not measure a real password and should never be used to validate or paste an actual secret. NIST recommends long passwords, screening against commonly used or compromised values and appropriate rate limiting; character-set size alone is not a security guarantee.
Reference and further reading
Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.
Related calculators
- CPU Instruction Count & CPI Runtime Calculator
- Amdahl & Gustafson Parallel Speedup Calculator
- Roofline Arithmetic Intensity Performance Calculator
- Memory Bus Theoretical Bandwidth Calculator
- DRAM Timing Cycles to Access Latency Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.