Password Entropy Calculator

Calculate password entropy bits and estimate crack time

100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.

password
lock

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

About this tool

Password entropy is a number, in bits, for how many guesses a password could take: every extra bit doubles the count. This calculator works it out as you type - length x log2 of the character pool - and shows the pool it detected (lowercase, uppercase, digits, symbols, extended characters), the strength band, and how long a brute-force attack would take at four speeds, from an old PC to a state-level attacker. It also lists what would raise the score. The password never leaves your browser.

Workflow

Lock down an account properly

  1. 1Generate a passwordLong and random beats clever.Open
  2. 2Check its strengthSee how long it would take to crack.Open
  3. 3Measure the entropyThe maths behind how guessable it really is.You are here

How to use this tool

  1. Type or paste a passwordUse the eye button to show it while you check for typos. Nothing is sent anywhere, but you can also test a password with the same pattern as your real one.
  2. Read the entropy and strength bandUnder 28 bits is Very Weak, under 36 Weak, under 60 Fair, under 128 Strong, and 128 or more Very Strong.
  3. Check the character pools and crack timesSee which pools count towards the score, then the average time to try every combination at 1 thousand, 1 million, 1 billion and 100 billion guesses per second.
  4. Follow the suggestionsThe list below the results says what is missing - a character type or more length. Adding length almost always helps most.

How password entropy is calculated

Entropy = length x log2(pool size). The pool is the total of every character type the password uses: 26 lowercase letters, 26 uppercase, 10 digits, 32 symbols and 128 for any character outside basic ASCII. A 12-character password using all four keyboard types has a pool of 94, so 12 x 6.55 = about 79 bits.

The formula assumes every character was picked at random. Real passwords built from a word, a year and a symbol have far less entropy than the number shows, because attackers try those patterns first. Use the score to compare random passwords, and use a generator to make them.

Key features

  • Shows the actual formula inputs - length, pool size and unique characters - not just a coloured bar.
  • Crack times at four attack speeds, so you can see why the same password is safe online but not against a leaked fast hash.
  • Updates on every keystroke, so you can watch what one more character does.
  • Runs in your browser only; the password is never uploaded or stored.

Common uses

  • Checking how long a randomly generated password needs to be for a given strength.
  • Showing colleagues or students why length beats swapping letters for symbols.
  • Comparing a passphrase with a short complex password.
  • Sanity-checking a password policy's minimum length.

Tips for better results

  • Aim for at least 60 bits for online accounts and 80 or more for a password manager's master password - and make sure the password is random.
  • One extra random character from the full keyboard adds about 6.5 bits; a symbol swapped in for a letter adds almost nothing in practice.
  • Use a different password for every site and let a password manager remember them.
  • Read the crack times as a comparison between passwords, not as a promise.

Mistakes to avoid

  • Trusting a high score for a password you made up yourself. The sample, Sunshine88!, scores about 72 bits here, but it is a dictionary word plus digits and a symbol - a pattern cracking tools try first.
  • Adding a symbol at the end to satisfy a rule instead of making the password longer.
  • Reusing a strong password on several sites - one leak exposes all of them.
  • Skipping two-factor authentication because the score looks high.

Frequently asked questions

For a random password, 60 bits or more is a reasonable target for online accounts and 80 or more for anything that protects other passwords, such as a password manager. This calculator labels 60 to 127 bits Strong and 128 or more Very Strong.

The number of possible combinations (pool size to the power of the length) is divided by twice the guessing speed, because on average an attacker finds the password halfway through. It is shown for 1 thousand, 1 million, 1 billion and 100 billion guesses per second.

Only if it is random. "passwordpasswordpassword" scores well on length, but an attacker would guess it almost immediately. The formula measures the possible search space, not how predictable your choice was.

Because the formula cannot see patterns. Sunshine88! uses all four keyboard character types, so it gets a pool of 94 and about 72 bits - yet a word, two digits and an exclamation mark is one of the first shapes a cracking tool tries.

Add length. With a pool of 94, each extra random character adds about 6.5 bits. Adding symbols to a 12-character password of letters and digits adds about 7 bits - roughly one more character's worth, and a longer password is usually easier to type.

They depend on how the password is stored. A site using a slow hash such as bcrypt lets an attacker try only thousands of guesses per second, while a leaked fast hash may allow billions - so the same password can last centuries in one case and hours in another.

Related guides