Report

Help us improve this tool

Password Combination Calculator

Calculate how many password permutations exist for a given length and character set with optional uppercase, number, and symbol requirements.

O M T

Why Count Password Combinations?

Every extra character and character type multiplies the number of possible passwords an attacker must guess. Counting combinations helps you estimate brute-force resistance before choosing a policy. Related tools: Password Strength Analyzer and Strong Password Generator.

Permutations With Repetition

Passwords allow repeated characters, so the base count is $n^k$, where $n$ is the size of the allowed character set and $k$ is password length. If you require at least one uppercase letter, one digit, or one symbol, invalid passwords are removed using the inclusion-exclusion principle.

$$\text{Valid passwords} = n^k - \sum |A_i| + \sum |A_i \cap A_j| - \cdots$$

Example

With lowercase, uppercase, and digits only ($n = 62$) and length 8, there are $62^8 \approx 2.18 \times 10^{14}$ unrestricted passwords. Requiring at least one uppercase and one digit removes passwords built from only lowercase, only uppercase, or only digits.

Frequently Asked Questions

Are password combinations the same as combinations in combinatorics?

No. Passwords are ordered strings with repetition allowed, so they are counted as permutations with repetition ($n^k$), not unordered combinations.

Why is lowercase always included?

Lowercase letters are the baseline character set in most password policies. This tool treats them as always available.

Does a bigger number always mean a safer password?

More combinations generally improve resistance to random guessing, but users still pick predictable patterns. Length and randomness both matter.

How many symbols does the default include?

The default symbol set size is 32 common keyboard symbols. You can adjust the count if your policy uses a smaller subset.