Home · Statistics · Probability & Combinatorics · Password Combination Calculator

Password Combination Calculator

How many distinct passwords a character pool and length allow, with characters either reusable or used at most once — the size of the space an attacker would have to search.

Your figures

Example result — edit the figures to make it yours

218,340,105,584,896

Rule usedWith repetition: pool^length

What this calculator does

How many distinct passwords a character pool and length allow, with characters either reusable or used at most once — the size of the space an attacker would have to search. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

With repetition: pool^length. Without repetition: pool! / (pool − length)!

With repetition allowed, every position is a free choice from the full pool, giving pool^length.

Without repetition, positions draw from a shrinking pool, giving the falling product pool·(pool−1)·…·(pool−length+1).

The count is the size of the search space only; real strength also depends on the passwords being chosen uniformly at random.

Worked example

With the example inputs this page opens with (character pool size 62, password length 8), the result is 218,340,105,584,896. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying character pool size
Character pool sizeResult
31852,891,037,441
62218,340,105,584,896
935,595,818,096,650,401
12455,895,067,029,733,380
63248,155,780,267,521
64281,474,976,710,656

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How big is the pool for a typical password?

Lowercase letters alone give 26; adding uppercase gives 52; adding digits gives 62; adding common symbols takes it to roughly 94. Each extra pool character multiplies the space by that factor per position.

Does forbidding repetition make passwords much weaker?

Only slightly at these sizes: with a pool of 62 and length 8 the no-repetition count is about 62×61×…×55, roughly 84% of 62⁸. Length and pool size matter far more.

How does the Password Combination Calculator work?

How many distinct passwords a character pool and length allow, with characters either reusable or used at most once — the size of the space an attacker would have to search. Character pool size · Password length · Repetition allowed? → Number of passwords. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Password Combination Calculator need?

Character pool size · Password length · Repetition allowed? → Number of passwords. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.