Password Strength Calculator

Work out how many passwords are possible, the strength in bits, and how long guessing would take.

Your details

Optional; 10,000,000,000 if left empty

Your data stays in your browser

Result

Pick the characters and enter the length, then press “Check strength”.

Password strength

Your result will be marked here once calculated.

  1. Very weakUnder 28 bits
  2. Weak28–35 bits
  3. Fair36–59 bits
  4. Strong60–127 bits
  5. Very strong128 bits or more

For random passwords only; a word or a date is far weaker than shown.

Analysis and suggestions

Once calculated, this shows what your result means and suggestions based on your numbers.

Behind the result

Work out how many passwords are possible, the strength in bits, and how long guessing would take.

Example · التركيبات = عدد الحروف ^ الطول | الإنتروبيا = الطول × log₂(عدد الحروف) | الوقت المتوقع = التركيبات ÷ 2 ÷ سرعة التخمين

8 × log2(62) = 47.63 bit

How it is calculated

Comprehensive Calculator Guide

This calculator gives the number of possible passwords, the strength in bits and the expected time to crack by brute force, from the character set and length. A random 8-character alphanumeric password has 47.6 bits and falls in about 3 hours at 10 billion guesses a second.

Length wins

Combinations = N^L; bits = L × log2(N); expected time = N^L ÷ 2 ÷ rate. Four more characters do far more than adding symbols. All this assumes truly random passwords.

How to Use

  1. Pick the character set.
  2. Enter the length and, optionally, the guess rate.
  3. Press “Check strength” to see bits and crack time.

Formula Used

Combinations = N^L | Bits = L × log2(N) | Time = N^L ÷ 2 ÷ rate

Practical Examples

Example 1
8 alphanumeric: 47.6 bits, ~3 hours.
Example 2
6-digit PIN: 19.9 bits, under a second offline.

Important Tips

  • Use 12+ characters.
  • Never reuse passwords.
  • Use a generator and a manager.

Common Mistakes to Avoid

  • Predictable substitutions.
  • Birthdays and names.
  • Applying this to non-random passwords.

Frequently Asked Questions

How many bits?
60+ strong, 128 very strong.
Longer or more symbols?
Longer.
Why is a phone PIN safe?
The phone limits attempts.

Read Also

Results are estimates for educational purposes and may vary depending on your situation and data sources.