Password Entropy Calculator
- Entropy = length x log2(pool) = 12 x log2(62) = 71.5 bits - each character adds log2(62) = 5.95 bits because it is drawn from a pool of 62 symbols.
- An attacker finds the password after searching half the space on average: 2^(71.5 - 1) = 1.61 x 10^21 guesses.
- Against an offline fast-hash attack at 1 billion guesses a second, that average search takes 51,117.1 years.
- Entropy assumes every character is chosen uniformly at random; human-chosen passwords follow patterns that cut the real search space far below the headline bits.
A password entropy calculator turns a password's length and character pool into a single number: bits of entropy. The formula is entropy = length × log2(pool size). A 12-character password drawn from 62 symbols (lowercase, uppercase and digits) has 71.5 bits of entropy. That 71.5-bit password needs on average 1.61 x 10^21 guesses — half the space — to crack, and at an offline rate of 1 billion guesses per second it takes on average 51,117.1 years. A lowercase-only 8-character password has just 37.6 bits; even a throttled online attack at 1 thousand guesses a second averages 3.3 years against it, but offline it would fall almost instantly. A 16-character password using all 95 printable symbols reaches 105.1 bits, beyond any brute-force horizon even at 100 billion guesses a second.
The underlying method is the accepted standard for this kind of calculation because it measures the size of the guessable space directly from what an attacker must search: the length of the password and the number of symbols available at each position. That is why the same formula explains both the 37.6-bit lowercase-only example and the 105.1-bit 16-character example. This page shows the formula, the step-by-step workings, worked examples and sources so you can check every number yourself rather than trust a black box.
Worked examples
12 characters, letters and digits, offline attack
Password entropy = 71.5 bits. Character pool size: 62; Average guesses needed: 1.61 x 10^21; Average crack time: 51,117.1 years. (12 · Yes · Yes · Yes · No · Offline fast hash - 1 billion guesses/s)
| Password entropy | 71.5 bits |
| Character pool size | 62 |
| Average guesses needed | 1.61 x 10^21 |
| Average crack time | 51,117.1 years |
8 lowercase letters, online attack
Password entropy = 37.6 bits. Character pool size: 26; Average guesses needed: 104,413,532,288; Average crack time: 3.3 years. (8 · Yes · No · No · No · Online attack - 1 thousand guesses/s)
| Password entropy | 37.6 bits |
| Character pool size | 26 |
| Average guesses needed | 104,413,532,288 |
| Average crack time | 3.3 years |
16 characters, full pool, GPU rig
Password entropy = 105.1 bits. Character pool size: 95; Average guesses needed: 2.20 x 10^31; Average crack time: 6,973,386,262,767 years. (16 · Yes · Yes · Yes · Yes · GPU rig - 100 billion guesses/s)
| Password entropy | 105.1 bits |
| Character pool size | 95 |
| Average guesses needed | 2.20 x 10^31 |
| Average crack time | 6,973,386,262,767 years |
What password entropy measures
Password entropy is a way of putting a number on how much guessing a password would require. The formula is simple: entropy equals length times log2 of the pool size, where the pool is the set of symbols the password could be drawn from. A 12-character password drawn from 62 symbols (lowercase letters, uppercase letters, and digits) has 71.5 bits of entropy. That single figure summarizes both how long the password is and how many choices each position offered.
The number matters because it translates directly into work for an attacker. A 71.5-bit password needs on average 1.61 x 10^21 guesses — half the total space — to crack. At an offline rate of 1 billion guesses per second, that example takes on average 51,117.1 years. This is why the password entropy calculator focuses on bits rather than on how complicated a password looks: the bit count is what tells you how much effort a guesser must invest.
Length and pool size pull in different directions, and the three worked examples show it. A lowercase-only 8-character password has just 37.6 bits. Even a throttled online attack at 1 thousand guesses a second averages 3.3 years against it — but offline it would fall almost instantly. Compare that with the 71.5-bit mixed 12-character password, and then with a 16-character password using all 95 printable symbols, which reaches 105.1 bits, beyond any brute-force horizon even at 100 billion guesses a second.
The pattern across those examples is the key idea: each added character multiplies the work. Adding a character extends the length term, and because the formula multiplies length by log2 of the pool, every extra position scales the total search space by the size of the pool. Moving from 8 lowercase characters to 12 mixed characters, and then to 16 characters over the full printable set, does not add a little difficulty — it multiplies it at each step.
- Lowercase only, 8 characters: 37.6 bits — offline it would fall almost instantly, though a throttled online attack at 1 thousand guesses a second averages 3.3 years.
- Lowercase, uppercase, and digits, 12 characters (62 symbols): 71.5 bits — 1.61 x 10^21 guesses on average, or 51,117.1 years at 1 billion guesses per second offline.
- All 95 printable symbols, 16 characters: 105.1 bits — beyond any brute-force horizon even at 100 billion guesses a second.
Length beats complexity tricks
It is tempting to think that adding a symbol or two is the secret to a strong password. The maths says otherwise. A password entropy calculator shows that pool size matters, but length matters far more. Entropy is length times log2(pool size), so every extra character multiplies the guessing space, while every extra symbol type only nudges the logarithm upward.
Consider a 12-character password drawn from 62 symbols — lowercase, uppercase and digits. That gives 71.5 bits of entropy. On average an attacker needs 1.61 x 10^21 guesses to crack it, which is half the total space. At an offline rate of 1 billion guesses per second, that 71.5-bit example takes on average 51,117.1 years. That sounds reassuring, but it is only a modest lead against fast hardware.
Now shrink the length instead. A lowercase-only 8-character password has just 37.6 bits. Even a throttled online attack at 1 thousand guesses a second averages 3.3 years against it — but offline it would fall almost instantly. The lesson is stark: a short password is fragile no matter how clever its character mix, because the pool only enters the formula through a logarithm.
Stretch the length and the picture changes completely. A 16-character password using all 95 printable symbols reaches 105.1 bits, beyond any brute-force horizon even at 100 billion guesses a second. Moving from a pool of 26 to 62 helps, but length dominates. A long passphrase works on the same maths: treat each word as a symbol and the pool becomes the number of words you choose from, so a string of ordinary words can build a large space without any complexity tricks.
Online vs offline attack rates
The same password can be safe in one setting and hopeless in another, because what changes is not the password but the speed of the attacker. A password entropy calculator measures the size of the guessing space; the attack rate decides how fast that space is searched. Comparing a slow online attack with a fast offline one shows why a bit count alone never tells the whole story.
Online attacks are throttled. When someone tries to log in to a live account, the server can slow things down, lock the account, or add delays, so an attacker might manage around 1 thousand guesses per second. Against that rate, the lowercase-only 8-character password with just 37.6 bits of entropy still averages 3.3 years to crack. That is the scenario where a short, weak password can appear to hold up. It holds up only because the attacker is being held back, not because the password is strong.
Offline attacks remove the brake. Once a password database is stolen, the attacker guesses against a copy of the hashes on their own hardware, with no server to slow them down. At 1 billion guesses per second, the 71.5-bit example — a 12-character password drawn from 62 symbols (lowercase, uppercase, and digits) — needs on average 1.61 x 10^21 guesses, half the space, and takes 51,117.1 years. That same 71.5-bit password would be far safer than the 37.6-bit one online, but the comparison only works because the rates differ by a factor of a million. Put the 37.6-bit password in the offline setting and it falls almost instantly.
Push the hardware further and the gap widens. A GPU rig running at 100 billion guesses per second is a hundred times faster than the 1 billion per second case. Even at that rate, a 16-character password using all 95 printable symbols reaches 105.1 bits, which sits beyond any brute-force horizon. The lesson is that the attack rate you assume changes the verdict completely, so always ask which rate applies before trusting a number.
When you use a password entropy calculator, treat the attack rate as an input, not a footnote. A figure that looks comfortable against 1 thousand guesses per second can collapse against 1 billion, and a GPU rig at 100 billion per second leaves even less room. Length and a wide symbol pool are what keep the 71.5-bit and 105.1-bit examples out of reach, while the 37.6-bit example survives only while the attacker is throttled.
- Online, throttled: about 1 thousand guesses per second — the 37.6-bit password averages 3.3 years.
- Offline, fast: about 1 billion guesses per second — the 71.5-bit password averages 51,117.1 years, while the 37.6-bit one falls almost instantly.
- GPU rig: about 100 billion guesses per second — the 105.1-bit, 16-character, 95-symbol password stays beyond any brute-force horizon.
Why human-chosen passwords are weaker
Every figure a password entropy calculator produces rests on one assumption: that each character was chosen at random from the full pool, with no preference for any symbol. Under that model, entropy is simply length times log2(pool size). A 12-character password drawn from 62 symbols — lowercase, uppercase, and digits — works out to 71.5 bits of entropy. That is a strong number on paper, and it translates into a real cost for an attacker: cracking it by brute force takes, on average, 1.61 x 10^21 guesses, half the total space. At an offline rate of 1 billion guesses per second, that averages 51,117.1 years.
People, however, do not choose characters at random. They reach for patterns, names, dictionary words, dates, and keyboard walks such as qwerty or 1qaz2wsx. Each of these habits collapses the effective pool far below the one the formula assumes, because an attacker who knows how humans behave does not have to try every combination — only the ones people actually pick. This is why the entropy figure on screen describes the best case, not the password in front of you. A password can be long and still rate poorly once its structure is predictable.
The gap between the model and reality shows up clearly at the low end. A lowercase-only 8-character password has just 37.6 bits of entropy. Against a throttled online attack limited to 1 thousand guesses a second, it would still last 3.3 years on average — but offline, with no such limit, it would fall almost instantly. Length and pool size both matter, yet neither rescues a password built from a recognizable pattern.
At the other end, a 16-character password using all 95 printable symbols reaches 105.1 bits, which sits beyond any brute-force horizon even at 100 billion guesses a second. The lesson is not to trust a single number but to make the randomness real: use a generator to create passwords, and a password manager to store them, so you are not tempted to fall back on names and keyboard walks. When you run a password entropy calculator, read its result as an upper bound — the strength you get only if the characters really were chosen at random.
FAQs
How many bits of entropy does my password have?
Entropy is calculated as length times log2 of the pool size. For example, a 12-character password drawn from a pool of 62 possible characters gives 71.5 bits of entropy. The calculator applies this same formula to your password so you can see the result in bits.
Is 71.5 bits of entropy enough?
For most purposes, yes. Against an offline cracking attack running at 1 billion guesses per second, 71.5 bits averages 51,117.1 years to break. That is comfortably enough for a strong password, though the margin depends on the attack speed you assume.
Why is a lowercase-only password weak?
A lowercase-only password has a pool of just 26 characters, so 8 characters give only 37.6 bits of entropy. Its 3.3-year figure assumes a throttled online attack. Against an offline attack, that same password falls almost instantly, which is why the limited pool matters so much.
How long a password do I need?
Length matters most. A 16-character password using the full pool reaches 105.1 bits of entropy. Aim for length first, then increase the pool size by mixing character types. Adding characters raises entropy faster than most people expect, so prioritize a longer password.
What does 'average guesses' mean?
On average, an attacker searching the keyspace finds the password halfway through, so average guesses equal half the total space. For the 71.5-bit example, that is 1.61 x 10^21 guesses. This average is the figure used to estimate cracking time at a given guess rate.
Does entropy apply to passphrases?
Yes. The same formula applies, with words treated as the symbols. Length in words replaces length in characters, and the pool becomes the number of words you choose from. This lets you compare a passphrase's entropy against a traditional password using the same bit-based measure.