# 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.

Source: https://www.calterix.com/en-us/tool/password-generator/password-combinations/ · Updated 11/06/2026 · en-US

## 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](https://www.calterix.com/en-us/tool/password-generator/). For very large powers by hand, the [scientific calculator](https://www.calterix.com/en-us/calculator/scientific/) 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.

| Length | Digits (10) | Lowercase (26) | Letters (52) | Letters + digits (62) | All 94 |
| --- | --- | --- | --- | --- | --- |
| 4 | 10,000 | 456,976 | 7,311,616 | 14,776,336 | 78,074,896 |
| 6 | 1,000,000 | 308,915,776 | 19,770,609,664 | 56,800,235,584 | 689,869,781,056 |
| 8 | 100,000,000 | 208,827,064,576 | 53,459,728,531,456 | 218,340,105,584,896 | 6,095,689,385,410,816 |
| 10 | 10,000,000,000 | 141,167,095,653,376 | 144,555,105,949,057,024 | 839,299,365,868,340,224 | 5.39 × 10^19 |
| 12 | 1,000,000,000,000 | 95,428,956,661,682,176 | 3.91 × 10^20 | 3.23 × 10^21 | 4.76 × 10^23 |
| 16 | 10,000,000,000,000,000 | 4.36 × 10^22 | 2.86 × 10^27 | 4.77 × 10^28 | 3.72 × 10^31 |
| 20 | 1.00 × 10^20 | 1.99 × 10^28 | 2.09 × 10^34 | 7.04 × 10^35 | 2.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 length | Combinations | Range | Entropy |
| --- | --- | --- | --- |
| 4 digits | 10,000 | 0000 to 9999 | 13,3 bits |
| 5 digits | 100,000 | 00000 to 99999 | 16,6 bits |
| 6 digits | 1,000,000 | 000000 to 999999 | 19,9 bits |
| 8 digits | 100,000,000 | 00000000 to 99999999 | 26,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.

| Setup | Combinations | Entropy |
| --- | --- | --- |
| 4-digit PIN | 10,000 | 13,3 bits |
| 8 lowercase letters | 208,827,064,576 | 37,6 bits |
| 8 characters from all 94 | 6,095,689,385,410,816 | 52,4 bits |
| 12 letters and digits (62) | 3.23 × 10^21 | 71,5 bits |
| 15 characters from all 94 | 3.95 × 10^29 | 98,3 bits |
| 6 words from 7,776 | 2.21 × 10^23 | 77,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](https://www.calterix.com/en-us/tool/random-picker/) draws names or numbers from a list. All [free online tools](https://www.calterix.com/en-us/tool/) on Calterix run in the browser.

## 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.
