Overview

This shows how many possible passwords there are for a given length and character set, and how long it would take to try every one. It explains why length matters so much.

Enter the character set size, the password length, the guesses per second and the number of machines guessing. 26 is lowercase letters, 62 adds capitals and digits, and 94 includes all printable symbols.

Worked examples

InputsResult
Character Set Size72Password Length12Guesses per Second1,000,000,000Parallel Guessers1Total combinations: 19,408,409,961,765,343,000,000Entropy: 74.04 bitsExhaustive search time: 615,436.64 years (at 1,000,000,000 guesses/s)
Show 2 more examples
Character Set Size62Password Length10Guesses per Second1,000,000,000Parallel Guessers1Total combinations: 839,299,365,868,340,200Entropy: 59.54 bitsExhaustive search time: 26.61 years (at 1,000,000,000 guesses/s)
Character Set Size94Password Length16Guesses per Second10,000,000,000Parallel Guessers10Total combinations: 37,157,429,083,410,090,000,000,000,000,000Entropy: 104.87 bitsExhaustive search time: 11,782,543,468,864.18 years (at 100,000,000,000 guesses/s)

Total combinations by password length

With the calculator's starting values, the total combinations is 19,408,409,961,765,343,000,000. The table shows how it changes with the password length.

Password LengthTotal combinations
6139,314,069,504
8722,204,136,308,736
103,743,906,242,624,487,400
12starting value19,408,409,961,765,343,000,000
14100,613,197,241,791,540,000,000,000
16521,578,814,501,447,300,000,000,000,000
182,703,864,574,375,503,000,000,000,000,000,000

Other inputs: Character Set Size: 72 · Guesses per Second: 1,000,000,000 · Parallel Guessers: 1. Change them in the calculator above for your own numbers.

How it works

There are charset^length possible passwords. Entropy is that number expressed in bits, its base-2 logarithm. The search time is the combinations divided by the total guess rate. It assumes a randomly chosen password. Real passwords built from words and patterns are cracked far faster.

The formula

Combinations = charset^length
entropylog₂(combinations), in bits

Practical tips

  • A random 12-character password from 72 symbols is 74 bits, about 615,000 years at a billion guesses a second.
  • A random 10-character password from 62 symbols would take about 26.6 years at that rate.
  • Adding length helps more than adding symbol types, and a password manager can generate random ones.

Frequently asked questions

What guess rate is realistic?

Online logins are often limited to a few tries. Offline attacks on stolen password hashes can reach billions a second for weak hashing.

Does this mean my password is safe?

Only if it's truly random. Dictionary words, names and reused passwords are guessed much faster.

How much entropy do I need?

Around 70 bits or more is a common target for important accounts, along with two-factor authentication.