Naar de inhoud
OneKitly

Password Entropy Explained: Bits, Length, and How Long a Password Takes to Crack

Gepubliceerd op 24-2-2026 · 4 min leestijd · Ontwikkelaarstools

Daniel Okonkwo

Daniel Okonkwo — Front-enddeveloper en techredacteur bij OneKitly

Webprestaties · Bestandsformaten

Getoetst aan 2 bronnen

Profiel bekijken →
Kort gezegd

Password entropy measures unpredictability in bits. For a password drawn randomly from an alphabet of N symbols and L characters long, entropy equals L times the base-2 logarithm of N. Each extra bit doubles the number of guesses an attacker needs, so an 80-bit password is roughly a million times harder to crack than a 60-bit one. Length raises entropy faster than adding symbol types, which is why a long random passphrase beats a short but complicated password.

Advertentie

What password entropy really measures, why length beats complexity, and how bits of entropy translate into a realistic crack time.

What a bit of entropy actually means

Entropy counts how many equally likely possibilities a password could have been, expressed on a logarithmic scale. One bit means two possibilities, two bits means four, ten bits means 1,024. Because the scale is logarithmic, adding a single bit doubles the search space an attacker must sweep through. A password worth 40 bits sits somewhere among about a trillion candidates, while 60 bits reaches a quintillion.

The formula only holds when the password is chosen at random. If a human picks it, real entropy collapses because people favor names, dates, and predictable substitutions like a zero for the letter O. A tool estimates entropy from the character set and length, but that number is an upper bound: it assumes every position was rolled independently, which is exactly what a password manager does and a tired human does not.

Length beats complexity

Adding a character type widens the alphabet, but only once. Moving from lowercase letters (26 symbols) to lowercase plus digits (36) to a mixed set of 94 printable symbols raises the per-character entropy from about 4.7 bits to 5.2 to 6.6. Adding one more character, by contrast, adds those bits again for every extra position. Twelve random lowercase letters carry more entropy than eight characters from the full symbol set.

This is why passphrases work. Four random words from a 7,776-word list carry about 51 bits, roughly the strength of a 10-character symbol soup, yet they are far easier to type and remember. The lesson is to lengthen first and only widen the alphabet after length is exhausted, since length compounds while alphabet changes do not.

From bits to crack time

To turn entropy into time, divide the number of possibilities by an attacker's guess rate. A mid-range GPU rig can try billions of guesses per second against a fast hash, so a password with 44 bits, around 17 trillion combinations, falls in hours. Add 20 bits to reach 64 and the same rig needs thousands of years, because those 20 bits multiply the work by roughly a million. This is why small increases in length produce dramatic jumps in safety.

Crack time also depends on how the password is stored. A slow, salted hash such as bcrypt or Argon2 deliberately caps the guess rate to thousands per second, buying enormous margin. A leaked database that used a fast unsalted hash gives no such protection, so the same password that looks safe in one system is trivial in another. Treat crack-time estimates as offline worst cases and pick a length that survives them.

Uitgewerkt met onze eigen calculator

Calculator wachtwoordentropie

Gegeven

Lengte van een willekeurig wachtwoord
6
Tekenset
Kleine letters (26)

Resultaat

Entropie (bits)
28,203

Deze cijfers komen uit de calculator hieronder, ze zijn niet met de hand ingetypt — ze worden opnieuw berekend telkens als de tool verandert.

Reken het door met je eigen cijfers →
Advertentie

Veelgestelde vragen

How many bits of entropy is enough?
For accounts protected by a slow hash and rate limiting, 60 to 70 bits is comfortable. For high-value secrets or fast-hash exposure, aim for 80 bits or more, which usually means a long random passphrase or a manager-generated string.
Does adding symbols really help less than length?
Yes. Widening the alphabet raises entropy per character once, while each extra character adds entropy again and again. Beyond a mixed set, one more character usually beats one more symbol type.
Is a password reused across sites still safe if it has high entropy?
No. Entropy protects against guessing, not against reuse. If one site leaks the password in plain text or a weak hash, attackers try it everywhere. Use a unique high-entropy password per site.
Why does a password checker rate my clever password as weak?
Good checkers model human habits, so they discount dictionary words, keyboard patterns, and predictable leetspeak substitutions. Your password may be long, but if its structure is guessable the effective entropy is far below the theoretical maximum.

Artikelen die je misschien interesseren

Alle gidsen →
UitlegWhat Is UTF-8 and Unicode? Code Points, Byte Encoding, and Why UTF-8 WonUnicode assigns every character a code point; UTF-8 encodes those code points in one to four bytes. Here is how it works and why it beat the alternatives.UitlegBig O Notation for Beginners: O(1), O(n), O(n squared), and O(log n) ExplainedBig O describes how an algorithm's work grows as input grows. Here is what O(1), O(n), O(n squared), and O(log n) mean and why the difference matters.UitlegPassword Entropy: What a Strength Meter Cannot KnowEntropy measures the process that produced a password, not the characters in it. H = L x log2(R) is only true when every character was chosen at random — which is exactly why a meter scoring a human-invented password on its character classes is measuring the wrong thing.GidsWhat a Password Manager Cannot MeasureEntropy prices one attack: offline guessing against a stolen hash. Above roughly 90 bits the number stops deciding anything — and the meter on this site under-reported a random 20-character password in 300 draws out of 300.HandleidingHoe lang duurt het downloaden van een bestand? Tijd, bits tegenover bytes en overheadSchat de downloadtijd uit de bestandsgrootte en de snelheid van je verbinding. Lees de formule grootte ÷ snelheid, de cruciale omrekening van bits naar bytes (deel door 8) en waarom echte downloads langzamer gaan dan de rekensom voorspelt.UitlegHow Subnet Masks Work: CIDR, Network Bits, and Usable HostsUnderstand how a subnet mask splits an IP address into network and host parts, what /24 means, and how to count usable hosts.

Vergelijkbare tools

Bronnen

Een fout in dit artikel gezien?