Password Combination Calculator

Count possible passwords and compare estimated brute-force times under different guessing assumptions.

Runs entirely in your browser. Your inputs are never sent to a server.

How it works

A password combination calculator counts how many distinct passwords a generator could produce. Choose the character sets the generator actually draws from, then enter its output length. If each position can independently hold any of C characters and there are L positions, the number of combinations is CL. Order matters, and repeats are allowed. Each additional character multiplies the space by C.

The controls combine character sets into one pool. For example, selecting lowercase, uppercase and digits gives 62 choices at every position. It does not require each result to include a digit or an uppercase letter. If the generator requires a mix of classes, fixes a character at a particular position or forbids repeats, its actual set of possible outputs is smaller. A known suffix contributes no additional choices.

If your generator produces different lengths, compare them separately. A single fixed-length result cannot describe a generator that also emits shorter or longer passwords.

The calculator divides half the keyspace by the assumed guesses per second. For a uniform secret and a search that never repeats a guess, the exact expected guess position is (combinations + 1) / 2. Half is a close approximation for large spaces. Searching every candidate would take roughly twice that estimate. An individual guess could succeed at any point, so the average gives you a comparison across scenarios, with no minimum survival time.

Worked examples

Compare two generated passwords at the same hypothetical guessing rate. Uncheck everything except lowercase for the first row. Add uppercase and digits for the second row, leaving symbols unchecked. The two rows assume independent, equally likely character choices.

GeneratorCombinationsAverage at 1011 guesses/s
8 lowercase characters268 = 208,827,064,576About 1.04 seconds
12 uppercase, lowercase or digit characters6212 ≈ 3.23 × 1021About 512 years

At an illustrative 10,000 guesses per second, the eight-character case instead averages about 121 days. Changing the rate leaves the combination count intact. Changing the generation rules changes the count itself. Compare those two inputs separately when choosing between proposed password policies.

Online and offline guessing

Online guesses go through the live sign-in service. Account-level throttling limits failed attempts, and multi-factor authentication (MFA) can require a second factor even when the password is correct. The calculator's constant-rate rows are illustrative assumptions. Use your actual attempt limits, delays and recovery process to assess the sign-in surface. A burst of allowed attempts and a sustained rate are different quantities.

Offline guessing becomes possible when an attacker obtains password hashes. Testing candidates against a copy bypasses the sign-in rate limit. A password hash such as Argon2id makes each guess costly in time and memory. Bcrypt uses an adjustable work factor and is a legacy choice in OWASP's guidance. Fast general-purpose hashes such as MD5, SHA-1 and plain SHA-256 are poor password storage choices. A per-password salt prevents a single precomputed lookup from serving every account. It leaves the password's own combination count unchanged.

The actual offline rate depends on the algorithm, cost settings, hardware and number of hashes being tested. Use the rows to see how sensitive your result is to a change in rate. See OWASP's password storage guidance and NIST's password verifier requirements.

What to do with your result

If a password manager generates your credentials, use a unique generated password for each service and increase the length where the service supports it. For a secret you need to remember, generate a random passphrase and count in words. Avoid applying the character formula to a sentence you wrote or an old password you lengthened with a date. Guessing can start with common choices, leaked passwords or recognizable patterns, well before exhaustive search becomes relevant.

If you maintain the login service, evaluate the result alongside throttling, the password hash configuration and MFA coverage. Check whether reset or legacy sign-in routes bypass the controls you count on. A reused credential exposed by another service can succeed without searching your theoretical keyspace. The password policy guide turns these assumptions into policy and rollout checks.

FAQ

How many possible passwords are there for a given length?

Raise the number of choices per position to the password length, assuming every position uses the same pool and repeats are allowed. For eight lowercase letters that is 26 to the eighth power, or 208,827,064,576 combinations.

Is average crack time a guarantee?

The average describes a uniformly generated secret searched at a fixed rate without repeated guesses. One candidate could turn up immediately, and a predictable secret can be near the front of a guesser's list.

Does requiring a symbol give me the full symbol pool?

The pool represents characters that can be drawn at every position. A rule requiring at least one symbol excludes outputs with zero symbols, and a fixed symbol at the end adds no random choices at all.

What rate should I use for bcrypt or Argon2id?

Treat the calculator rows as sensitivity tests. The cost settings and hardware determine how fast a hash can be evaluated, so there is no universal guess rate for either algorithm.

How do I calculate combinations for a passphrase?

Use the wordlist size as the pool and the number of independently drawn words as the length. Keep the word order and use a consistent separator. The length in characters is incidental to that generation process.

Can this calculator score the password I already use?

It models a generation process from length and pool size. Use the result to compare random generator settings. Replace a reused or exposed password even if it looks long and complex.

From the channel

Video thumbnail: Password Cracking Explained — See It Happen Live Password Cracking Explained — See It Happen Live Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸ Video thumbnail: 14 Million Passwords. Both Cracked in 4 Seconds. 14 Million Passwords. Both Cracked in 4 Seconds. Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸