Password Combination Calculator

Calculate password combinations, entropy bits, and brute-force crack time. Compare password length and character set impacts on security strength.

Password Combination Calculator

Character Sets

Brute-force speed (default: 1 billion/sec)
Total Combinations
218,340,105,584,896
62^8
Entropy
47.6 bits
8 × log₂(62)
Strength
Moderate
Moderate
Avg Crack Time
1.3 days
At 1,000,000,000 attempts/sec
Character Pool
62
Lowercase (a-z): 26, Uppercase (A-Z): 26, Digits (0-9): 10
Log₁₀(combos)
14.34
Order of magnitude

Entropy by Password Length

LengthCombinationsEntropy (bits)Avg Crack Time
414,776,33623.87.4 ms
656,800,235,58435.728.4 seconds
8218,340,105,584,89647.61.3 days
1010^17.959.5> age of universe
1210^21.571.5> age of universe
1610^28.795.3> age of universe
2010^35.8119.1> age of universe
2410^43.0142.9> age of universe
3210^57.4190.5> age of universe

Effect of Character Pool Size

Character SetPoolEntropyAvg Crack Time
Digits only1026.6 bits50.0 ms
Lower alpha2637.6 bits1.7 minutes
Alpha (mixed)5245.6 bits7.4 hours
Alphanumeric6247.6 bits1.3 days
All printable9452.4 bits> age of universe

Visual: Entropy Strength

0 bits (trivial)48 bits128+ bits (excellent)
Planning notes, formulas, and examples

About the Password Combination Calculator

Password security depends mainly on length and character pool size. A password of length L drawn from a pool of P characters has P^L possible combinations, so each extra character or larger character set can expand the search space quickly.

This calculator reports total combinations, entropy in bits, and an estimated brute-force crack time for a chosen mix of lowercase letters, uppercase letters, digits, symbols, or custom characters. It is useful for comparing common policy choices and seeing which ones actually increase resistance to guessing attacks.

The output makes it easy to tell whether a password is long enough to matter or only looks complex on paper.

When This Page Helps

Password rules often focus on symbol requirements even though length usually contributes more entropy per added character. This page makes those trade-offs visible so you can compare policy options with actual numbers instead of intuition.

How to Use the Inputs

  1. Enter the password length.
  2. Check the character sets to include (lowercase, uppercase, digits, symbols).
  3. Optionally add custom characters.
  4. Set the brute-force speed for crack time estimation.
  5. Or click a preset for common scenarios (PIN, standard password, strong password).
  6. Review the total combinations, entropy, and estimated crack time.
  7. Compare how length and character pool affect security.
Formula used
Total Combinations = P^L where P = character pool size, L = password length Entropy = L × log₂(P) bits Average brute-force attempts = P^L / 2 Crack time = P^L / (2 × attempts_per_second) Common pool sizes: Digits: 10, Lower: 26, Mixed alpha: 52, Alphanumeric: 62, All printable ASCII: 94

Example Calculation

Result: 218,340,105,584,896 combinations, 47.6 bits entropy

An 8-character alphanumeric password (62^8) has about 218 trillion combinations and 47.6 bits of entropy. At 1 billion guesses/second, average crack time is about 30 hours. Adding symbols (94^8 = 6 quadrillion) would increase entropy to 52.4 bits and crack time to 36 days.

Tips & Best Practices

  • Length matters more than complexity. A 12-char lowercase password (26^12) has more entropy than an 8-char alphanumeric password (62^8).
  • Every additional character multiplies combinations by the pool size. Going from 8 to 12 characters makes the password ~14 million times harder to crack.
  • The entropy scale: <28 bits = trivially crackable, 40-60 bits = moderate, 80+ bits = strong against offline attacks, 128+ bits = virtually uncrackable.
  • Modern GPUs can try 10+ billion hashes per second for weak hash functions like MD5. Use bcrypt/scrypt to slow this down.
  • Password managers eliminate the trade-off between security and memorability — use long random passwords.
  • These calculations assume truly random passwords. Real human-chosen passwords have much less entropy due to patterns.

The Mathematics of Password Security

Password security is fundamentally a combinatorics problem. P^L total possibilities means an attacker must try, on average, P^L/2 passwords. The logarithmic measure (entropy = L × log₂P) lets us compare passwords across different pool sizes and lengths on a uniform scale.

Why Length Beats Complexity

Each additional character adds log₂P bits of entropy. For alphanumeric (P=62), each character adds ~5.95 bits. Going from 8 to 12 characters adds 23.8 bits — that's 2^23.8 ≈ 14.8 million times harder to crack. Mandatory symbols increase pool from 62 to 94, adding only log₂(94/62) ≈ 0.6 bits per character — negligible compared to adding length.

Real-World Attack Scenarios

Online attacks (rate-limited to ~100/sec): Even a 6-char alphanumeric password survives ~18 years on average. Offline attacks (10 billion/sec): need 80+ bits for adequate security. State-level attacks (custom hardware, 10¹⁵/sec): need 100+ bits. The attack speed determines the security threshold.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • 10^4 = 10,000 combinations. At even 1,000 attempts per second, all PINs can be tried in 10 seconds. PINs rely on lockout mechanisms (e.g., 3 attempts then lock) rather than combinatorial security.