Skip to main content
CalcChef

Password Entropy Calculator

Estimate password entropy as length × log₂(pool size) and average crack times at three guess rates. Common passwords and patterns are rated Very Weak. How it works

Use the Password Entropy Calculator

The password stays in this field: it is not put in the address bar, saved, or shown anywhere else on the page.

Entropy
Enter a password to see its entropy and crack-time estimates.

About the Password Entropy Calculator

A random 12-character password that uses lowercase, uppercase, digits and symbols has 78.66 bits of entropy (12 × log₂ 94), which the tool rates Strong. At its assumed 10 billion guesses a second, searching half of the 4.8 × 10^23 combinations takes about 754,567 years. The figure holds only for characters picked at random: password and password123 are rated Very Weak because they are on the tool’s small built-in list of common passwords. Estimate from settings gives the same figures for a generator’s length and character groups with no password typed: 16 characters from all four groups give 104.87 bits.

Entropy and offline crack time of random passwords

Length26 (lowercase only)62 (letters and digits)94 (all four groups)
837.6 bits, 10 seconds47.6 bits, 3 hours52.4 bits, 4 days
1047.0 bits, 2 hours59.5 bits, 1 year65.5 bits, 85 years
1256.4 bits, 2 months71.5 bits, 5,115 years78.7 bits, 754,567 years
1465.8 bits, 102 years83.4 bits, 19.7 million years91.8 bits, 6.7 billion years
1675.2 bits, 69,141 years95.3 bits, 75.6 billion years104.9 bits, 58.9 trillion years
2094.0 bits, 31.6 billion years119.1 bits, 1.1 quintillion years131.1 bits, more than a sextillion years

The column heading is the pool size N. Time is the average case, half of N^L guesses, at the tool’s assumed offline rate of 10 billion guesses a second. The rate is an assumption, not a measurement, and the table holds only for characters chosen at random.

What the tool says about some example passwords

PasswordLengthPoolBitsLabelOffline crack time
password82637.60Very Weakamong the first guesses
password123113656.87Very Weakamong the first guesses
qzvkxwpj82637.60Weak10 seconds
Tr0ub4dor&3119472.10Strong8,027 years
xT7#kQ9@vL2&129478.66Strong754,567 years
correcthorsebatterystaple2526117.51Strong375.4 quadrillion years

password and password123 are on the built-in list, so the label is Very Weak whatever the bits say. The last password is not on the list and is rated Strong, though it is made of four common words; the model cannot see that.

How to use this tool

  1. Type or paste a password into the field. Show password reveals it.
  2. Read the entropy in bits, the label and the three crack-time estimates: online (10,000 guesses a second), offline (10 billion) and supercomputer (100 trillion).
  3. If a flag appears, the password is on the common list or is a simple pattern, and the entropy figure does not describe it.
  4. Press Show Calculation Details for the length, the pool size, the number of combinations and the formula with your numbers.
  5. To size a generator instead, switch to Estimate from settings, enter a length from 1 to 1,000 (a larger number gets a message), tick the character groups and add any extra characters of a custom pool.

Frequently asked questions

How is password entropy calculated?
E = L × log₂(N) bits, where L is the length in characters and N is the pool of characters the password draws on: 26 for lowercase, 26 for uppercase, 10 for digits and 32 for any other character, added for each group present. For xT7#kQ9@vL2&, L is 12 and N is 94, so E is 78.66 bits.
How long would it take to crack an 8-character password?
If the 8 characters are random lowercase letters, the tool gives 37.60 bits: 4 months at 10,000 guesses a second, 10 seconds at 10 billion and less than a second at 100 trillion. With all four groups, 8 characters give 52.4 bits, and 4 days offline. The rates are assumptions, not measurements. Read the online column as an upper speed: NIST SP 800-63B-4 requires a login service to allow no more than 100 failed attempts in a row on an account, so a real attack against a login form is far slower than 10,000 guesses a second.
Is a longer password better than a complex one?
In this model length counts for more. 16 random lowercase letters give 75.2 bits, close to 12 characters from all four groups (78.7 bits) and far above 8 characters from all four groups (52.4 bits). NIST SP 800-63B-4 sets a minimum of 15 characters for a password used as the only factor.
Why is password123 Very Weak when it has 56.87 bits?
The bits describe a password picked at random from its pool. password123 is on the tool’s list of common passwords, which attackers try first, so the tool rates it Very Weak and says the entropy figure does not describe it. A listed word followed by up to four digits or symbols (password99), a listed word with letters swapped for symbols, a repeated character and a run such as abcdef are treated the same way.
Where does the common-password list come from?
It is a small sample of 165 passwords written by the tool’s author from general knowledge of widely leaked ones. It is not a published list. A password that is not flagged can still be easy to guess: correcthorsebatterystaple is not on it and shows 117.51 bits.
Is it safe to type my password here?
The password stays in the field: the page does not put it in the address bar, save it or show it anywhere else. If you would rather not type a real password, switch to Estimate from settings and enter only the length and the character groups it uses; the figures are the same as for a random password built that way.

Related Tools

View all tools