Password Strength Meter

Password Strength Meter is evaluated from Password Length, Contains Lowercase? and Contains Uppercase?. The calculation reports Character Set Size, Possible Combinations and Entropy.

Results

Thanks — we’ve logged this for review.

About the Password Strength Meter

### Why Use the Password Strength Meter Calculator?
The Password Strength Meter calculator is a valuable tool for anyone who wants to assess the security of their passwords. In today's digital age, passwords are the primary means of securing online accounts, and a weak password can leave an account vulnerable to unauthorized access. This calculator helps users evaluate the strength of their passwords by considering factors such as password length, the presence of lowercase and uppercase letters, and other character types. By using this calculator, users can determine the character set size, possible combinations, and entropy of their passwords, which are all important indicators of password strength. This information can be used to identify weaknesses in a password and make informed decisions about how to improve its security.

### History of the Password Strength Meter
The concept of password strength meters has its roots in the early days of computer security. As computers became more widespread and the internet emerged, the need for secure passwords became increasingly important. In the 1980s, computer scientists began developing algorithms to estimate the strength of passwords. One of the key figures in this area was Morris and Thompson, who in 1979 published a paper on password security that laid the foundation for modern password strength analysis. Their work introduced the concept of password entropy, which is a measure of the amount of uncertainty or randomness in a password. Over time, password strength meters have evolved to incorporate additional factors, such as password length and character diversity. Today, password strength meters are a common feature in many online applications and are used by individuals and organizations to help protect against password-related security threats.

### The Science Behind the Calculations
The Password Strength Meter calculator uses a combination of mathematical formulas to estimate the strength of a password. The calculations are based on the following variables: password length (L), the presence of lowercase letters (l), the presence of uppercase letters (u), and other character types. The character set size (N) is calculated based on the types of characters used in the password. For example, if a password contains only lowercase letters, the character set size would be 26 (the number of letters in the alphabet). If the password also contains uppercase letters, the character set size would be 52 (26 lowercase + 26 uppercase). The possible combinations (C) of a password are calculated using the formula C = N^L, where N is the character set size and L is the password length. The entropy (E) of a password is calculated using the formula E = L \* log2(N), where L is the password length and N is the character set size. The time to crack (T) a password is estimated using the formula T = C / G, where C is the number of possible combinations and G is the number of guesses per second.

### Real-Life Application and Examples
Let's consider a real-world scenario where someone uses the Password Strength Meter calculator to evaluate the strength of their password. Suppose a user has a password that is 12 characters long and contains a mix of lowercase and uppercase letters, but no numbers or special characters. The user enters the following inputs into the calculator: password length = 12, contains lowercase = 1, contains uppercase = 1, contains numbers = 0, contains symbols = 0. The calculator returns the following outputs: character set size = 52, possible combinations = 7.22 x 10^16, entropy = 85.3 bits, time to crack (worst case) = 2.27 x 10^6 seconds. Based on these results, the user can see that their password has a relatively large character set size and a high number of possible combinations, which makes it more resistant to guessing attacks. However, the user may also notice that the time to crack the password is relatively short, which could indicate that the password is vulnerable to brute-force attacks. The user can use this information to decide whether to change their password to make it more secure. For example, they could add numbers or special characters to increase the character set size and make the password more resistant to attacks.

Formula & How It Works

The calculation applies the following relations exactly as recorded in the metadata:

Character set size is the total pool of possible characters. Entropy in bits = length x log₂(charset). Crack time assumes an attacker tries half the combinations on average before finding the right one.

Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.

Worked Examples

Example 1: Common 8-char password: lowercase + numbers only

Inputs

password_length: 8 has_lowercase: 1 has_uppercase: 0 has_numbers: 1 has_symbols: 0 guesses_per_second: 1000000000
Character Set Size: 36 chars. Possible Combinations: 2,821,109,907,456. Entropy: 41.4 bits. Time to Crack: 1,410.55 sec. Strength Score: 60 /100. Password Strength: Strong

With Password Length = 8, Contains Lowercase? = 1, Contains Uppercase? = 0 and Contains Numbers? = 1 as the stated inputs, the result is Character Set Size = 36 chars, Possible Combinations = 2,821,109,907,456 and Entropy = 41.4 bits. Each value corresponds to the declared output fields.

Example 2: Strong 12-char password: all 4 character types

Inputs

password_length: 12 has_lowercase: 1 has_uppercase: 1 has_numbers: 1 has_symbols: 1 guesses_per_second: 1000000000
Character Set Size: 94 chars. Possible Combinations: 475,920,314,814,253,359,955,968. Entropy: 78.7 bits. Time to Crack: 237,960,157,407,126.69 sec. Strength Score: 90 /100. Password Strength: Very Strong

With Password Length = 12, Contains Lowercase? = 1, Contains Uppercase? = 1 and Contains Numbers? = 1 as the stated inputs, the result is Character Set Size = 94 chars, Possible Combinations = 475,920,314,814,253,359,955,968 and Entropy = 78.7 bits. Each value corresponds to the declared output fields.

Example 3: Passphrases: 5-word passphrase (25 chars, lowercase only)

Inputs

password_length: 25 has_lowercase: 1 has_uppercase: 0 has_numbers: 0 has_symbols: 0 guesses_per_second: 1000000000
Character Set Size: 26 chars. Possible Combinations: 236,773,830,007,967,605,947,763,074,374,041,600. Entropy: 117.5 bits. Time to Crack: 118,386,915,003,983,800,444,125,184 sec. Strength Score: 60 /100. Password Strength: Strong

With Password Length = 25, Contains Lowercase? = 1, Contains Uppercase? = 0 and Contains Numbers? = 0 as the stated inputs, the result is Character Set Size = 26 chars, Possible Combinations = 236,773,830,007,967,605,947,763,074,374,041,600 and Entropy = 117.5 bits. Each value corresponds to the declared output fields.

Example 4: Maximum security: 20-char password, all character types

Inputs

password_length: 20 has_lowercase: 1 has_uppercase: 1 has_numbers: 1 has_symbols: 1 guesses_per_second: 1000000000
Character Set Size: 94 chars. Possible Combinations: 2,901,062,411,314,618,312,178,035,371,024,110,845,952. Entropy: 131.1 bits. Time to Crack: 1,450,531,205,657,309,213,031,378,452,480 sec. Strength Score: 90 /100. Password Strength: Very Strong

With Password Length = 20, Contains Lowercase? = 1, Contains Uppercase? = 1 and Contains Numbers? = 1 as the stated inputs, the result is Character Set Size = 94 chars, Possible Combinations = 2,901,062,411,314,618,312,178,035,371,024,110,845,952 and Entropy = 131.1 bits. Each value corresponds to the declared output fields.

Common Use Cases

  • Check if a password is strong enough
  • Estimate how long it would take to crack a password
  • Understand what makes passwords secure