Password combinations calculator.

The number of possible passwords equals the pool size raised to the length. A 4-digit PIN has 10^4 = 10,000 combinations, 8 lowercase letters have 26^8, about 209 billion, and 15 characters from all 94 printable keyboard characters have about 3.95 × 10^29. Entropy in bits is the base-2 logarithm of the count: 15 × 6.55 = 98.3 bits.

Updated Typed values never leave your browser

Combinations by length and character set

Pick the length and the character types. A custom pool size, if filled, replaces the checkboxes.

Length
Tab next field Ctrl K search for another tool
Passwordscalterix
4.76 × 10^23
94^12 combinations, 78.7 bits of entropy
  • Character setslowercase 26 + uppercase 26 + digits 10 + symbols 32
  • Pool size94
  • Length12 characters
  • Formula94^12
  • Scientific notation4.76 × 10^23
  • Digits in the full number24
  • Full number475,920,314,814,253,376,475,136
  • Entropy78.7 bits
78.7 bitsof 128 bits
Counts assume every character or word is chosen at random. Passwords made up by people are much easier to guess.

How to calculate password combinations

Each position in a random password can hold any character from the pool, and characters may repeat. Multiply the pool size by itself once per position and you get the count. Twelve positions from a pool of 62 means 62 multiplied by itself 12 times.

Combinations = pool size ^ length
Pool = 26 lowercase + 26 uppercase + 10 digits + 32 symbols = 94
Entropy (bits) = length × log2(pool size)
Example: 8 lowercase letters, 26^8 = 208,827,064,576 combinations, 8 × 4.70 = 37.6 bits.

The count above is for passwords where order matters and repeats are allowed, which is how passwords work. The textbook "n choose k" combination formula, where order does not matter, does not apply here.

To create one of those passwords instead of counting them, use the password generator. For very large powers by hand, the scientific calculator has an x^y key.

Combinations by length and character set

Each cell is the pool size raised to the length. Counts past 18 digits appear in scientific notation.

LengthDigits (10)Lowercase (26)Letters (52)Letters + digits (62)All 94
410,000456,9767,311,61614,776,33678,074,896
61,000,000308,915,77619,770,609,66456,800,235,584689,869,781,056
8100,000,000208,827,064,57653,459,728,531,456218,340,105,584,8966,095,689,385,410,816
1010,000,000,000141,167,095,653,376144,555,105,949,057,024839,299,365,868,340,2245.39 × 10^19
121,000,000,000,00095,428,956,661,682,1763.91 × 10^203.23 × 10^214.76 × 10^23
1610,000,000,000,000,0004.36 × 10^222.86 × 10^274.77 × 10^283.72 × 10^31
201.00 × 10^201.99 × 10^282.09 × 10^347.04 × 10^352.90 × 10^39
Exact counts with repeats allowed; "All 94" covers every printable keyboard character except the space.

PIN combinations: 4 and 6 digits

A PIN uses only the 10 digits, so the count is 10 raised to the number of digits. Every extra digit multiplies the count by 10.

PIN lengthCombinationsRangeEntropy
4 digits10,0000000 to 999913,3 bits
5 digits100,00000000 to 9999916,6 bits
6 digits1,000,000000000 to 99999919,9 bits
8 digits100,000,00000000000 to 9999999926,6 bits
Counts assume each digit is picked at random.
People rarely pick PINs at random. Birthdays, years, and repeated digits such as 1111 make up a large share of real PINs, so the real number of likely guesses is far smaller than the table shows.

From combinations to bits of entropy

Entropy is the base-2 logarithm of the number of possible passwords. One extra bit doubles the count, ten extra bits multiply the count by 1,024. Bits make very different setups easy to compare.

SetupCombinationsEntropy
4-digit PIN10,00013,3 bits
8 lowercase letters208,827,064,57637,6 bits
8 characters from all 946,095,689,385,410,81652,4 bits
12 letters and digits (62)3.23 × 10^2171,5 bits
15 characters from all 943.95 × 10^2998,3 bits
6 words from 7,7762.21 × 10^2377,5 bits
Computed with exact integer powers.

Why random matters more than the count

  • Every count on the page assumes each character or word is chosen at random. A password a person makes up, such as a name plus a year, sits in a much smaller set of likely guesses.
  • Length adds more than variety: going from 8 to 12 characters of 62 adds about 23.8 bits, while adding symbols to an 8-character password adds about 4.8 bits.
  • A reused password loses its strength the moment another site leaks it, whatever the count.
  • The page gives no time-to-crack figure, since cracking speed depends on how the site stores passwords and on the attacker's hardware.

Need a random pick for something other than a password? The random picker draws names or numbers from a list. All free online tools on Calterix run in the browser.

Back to the calculator

Main toolPassword generator: strong and randomRandom passwords and passphrases with an entropy meter

Related calculators

Frequently asked questions

How many combinations does a 4-digit PIN have?

10,000 combinations, from 0000 to 9999, because each of the 4 positions can hold any of the 10 digits: 10^4.

How many password combinations are possible with 6 numbers?

1,000,000 combinations, or 10^6, when each of the 6 digits is picked from 0 to 9 and repeats are allowed.

How many 8-character passwords are possible?

With lowercase letters only, 26^8 = 208,827,064,576. With all 94 printable keyboard characters, 94^8 = 6,095,689,385,410,816, about 6.1 × 10^15.

What is password entropy?

Entropy is the base-2 logarithm of the number of possible passwords, measured in bits. Each extra bit doubles the count, so 15 random characters from 94 give about 98.3 bits.

How many combinations does a 6-word passphrase have?

With the 7,776-word Diceware list, 7,776^6, about 2.21 × 10^23 passphrases, or 77.5 bits. With a 393-word list the count drops to about 3.68 × 10^15.

Sources and method

  • NIST Special Publication 800-63B, Digital Identity Guidelines: Authentication
  • Diceware word list (7,776 words, five dice rolls per word)

Every calculation on this page was checked against hand-worked examples. See the Calterix methodology.