Free tool

Password Entropy Calculator

Estimate a password's entropy in bits and check for common words and patterns. Everything is calculated in your browser.

Rough estimate: bits = length × log2(alphabet size), minus fixed penalties for patterns. It does not use full dictionaries or substitution rules like zxcvbn. Nothing is sent to any server: everything is calculated in your browser.

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me

This calculator estimates how many bits of randomness a password has, based on its length and the alphabet it uses. It then subtracts points if it contains a word from a list of 21 very common terms, three consecutive characters in order (abc, 987) or three identical characters in a row. The analysis updates as you type and runs entirely in your browser. The result is a rough guide: it does not replace an analyzer with full dictionaries.

Features

  • ✓Entropy in bits from the alphabet used and the length
  • ✓Penalties for a list of 21 common words and patterns
  • ✓Detection of three consecutive characters and three identical characters in a row
  • ✓Time to cover the whole space at 10 billion guesses per second
  • ✓100% in browser, the password is never sent

How to measure a password's strength?

  1. 1

    Type the password

    The analysis updates instantly as you type.

  2. 2

    Check the bits of entropy

    More bits = more possible combinations = harder to guess.

  3. 3

    Fix the warnings if they appear

    A listed word marks it as very weak; sequences and repeats subtract bits.

How the entropy is calculated

The base is the brute-force formula: bits = length × log2(N), where N is the alphabet size. N adds 26 for lowercase letters, 26 for uppercase, 10 for digits and 33 for any other character, such as symbols, spaces, ñ or accents. Twelve lowercase characters give about 56 bits; with all four classes, the same length gives about 79 bits.

Fixed penalties are then subtracted: 25 bits if one of the 21 words or patterns in the list appears (password, 123456, qwerty, admin...), 15 bits if three consecutive characters run in ascending or descending order (abc, 987) and 10 bits if three identical characters appear in a row. Penalties add up and the result never drops below 0 bits.

Labels use these thresholds: under 28 bits is very weak, 28 to 39 weak, 40 to 59 medium, 60 to 79 strong and 80 or more very strong. A password containing a listed word is always labeled very weak, whatever its length.

What the brute-force time means

The time shown is 2^bits divided by 10 billion: how long it would take to cover the whole combination space at 10 billion guesses per second. That rate is an assumed offline attack against a fast hash. An attacker trying random combinations finds the key, on average, after half that time.

With a slow hash (bcrypt, scrypt or Argon2), or with an attempt limit on the service, the real time can be much longer. Values above one million centuries are shown as over 1,000,000 centuries.

Limits compared with zxcvbn

The analyzer does not use full dictionaries or substitution rules, and it does not detect dates, names or word combinations. That is why Perro.Azul.2024 comes out very strong (99 bits): it has all four character classes and no listed word, even though it is very predictable. Tr0ub4dor&3 comes out strong (72 bits), although it contains troubador with 0 for o and 4 for a.

To audit real passwords, use an analyzer with dictionaries, such as zxcvbn. This calculator is useful for comparing lengths and alphabets.

Privacy

The password lives only in the page state while you type: it is not stored in localStorage or cookies, it is not included in any network request, and it disappears on reload. The field has autocomplete turned off, and the eye button shows or hides the text.

Frequently asked questions

Is my password sent to any server?

No. The analysis is JavaScript running in your browser, and the password is not included in any network request. It is not stored in localStorage or cookies, and no leaked-password database such as Have I Been Pwned is queried.

How many bits of entropy do I need?

This tool labels under 28 bits as very weak, 28 to 39 as weak, 40 to 59 as medium, 60 to 79 as strong and 80 or more as very strong. Any password containing a word from the list is marked very weak. These are this analyzer's thresholds, not a standard; for important accounts, use a password manager that generates long random passwords.

Is it as accurate as zxcvbn (Dropbox's analyzer)?

It doesn't try to be. zxcvbn uses broad dictionaries, substitution rules (leetspeak, such as 0 for o or 4 for a), keyboard patterns, dates and repeats. This tool checks a list of 21 terms, looks for simple sequences and repeats, and counts the alphabet and length, so it rates a password like Tr0ub4dor&3 (72 bits) as strong.

Related tools

Embed Password Entropy Calculator on your site

Add Password Entropy Calculator to any web page with a simple iframe. Free, with attribution to miguelacm.es.

<iframe
  src="https://miguelacm.es/embed/password-entropy?locale=en"
  width="100%"
  height="700"
  frameborder="0"
  allow="clipboard-write"
  title="Password Entropy Calculator — miguelacm.es"
></iframe>
View embed in new tab →