Ekuation

Math

Password Combinations Calculator

How Strong Is Your Password?

Enter the size of your character set (e.g., 26 for lowercase letters, 62 for alphanumeric, 94 for all printable ASCII) and your password length to see exactly how many possible passwords exist. Uses permutations with repetition (n^r) because passwords allow repeated characters and order matters.

The total number of distinct items in the set

The number of items chosen or arranged from the total

Formula
C(n,r)=n!r!(nr)!C(n,\,r) = \dfrac{n!}{r!\cdot(n-r)!}

Try an Example

Pick a scenario to see how the calculator works, then adjust the values

Lottery Draw

Calculate the number of possible 6/49 lottery combinations.

Key values: Total balls: 49 · Drawn: 6 · Combination mode

Race Podium

Find the number of ways to award Gold, Silver, and Bronze among 8 runners.

Key values: Runners: 8 · Medals: 3 · Permutation mode

Secret Santa

Calculate valid gift assignments where nobody draws their own name.

Key values: Participants: 8 · Derangement mode

Password Keyspace

Estimate the number of possible 8-character passwords from printable ASCII.

Key values: Character set: 94 · Length: 8 · Repetition allowed

Documentation

This calculator is also known as Password Combinations Calculator.

Read the complete guide

Password Keyspace Formula

Password keyspace = (character set size)^(password length). Each additional character multiplies the keyspace by the character set size, making longer passwords exponentially harder to crack.

Examples

8-Character ASCII Password

How many 8-character passwords from 94 printable ASCII characters?

94^8 = 6,095,689,385,410,816 possible passwords.

Key takeaway: At 1 billion guesses per second, brute-forcing takes about 70 days.

Strengthening Your Passwords

Key strategies for stronger passwords:

  • Increase length -- each extra character multiplies the keyspace by the character set size
  • Use the full printable ASCII set (94 characters) instead of just lowercase (26)
  • A 12-character alphanumeric password has more combinations than an 8-character full-ASCII one

Frequently Asked Questions about Password Combinations Calculator

How is password keyspace calculated?

Password keyspace = (character set size)^(password length). For example, an 8-character password using all 94 printable ASCII characters has 94^8 = 6,095,689,385,410,816 possible combinations.

Does password length or character set size matter more?

Length usually matters more. Each extra character multiplies the keyspace by the full character set size (e.g., ×94 for full ASCII). Switching from lowercase (26 chars) to full ASCII (94 chars) only multiplies the keyspace by 94/26 ≈ 3.6 per character -- far less impact than adding a single character.

What is password entropy and how is it measured?

Password entropy is log₂(keyspace), measured in bits. An 8-character full-ASCII password has log₂(94⁸) ≈ 52 bits of entropy. Security guidelines recommend at least 80 bits for sensitive accounts, which a 13-character alphanumeric password achieves.

Specialized Calculators

Choose from 6 specialized versions of this calculator, each optimized for specific use cases and calculation methods.

Related Calculators

6 Calculators

More Math calculators

Calculator Search

Search and find calculators