Home Education Password Strength Calculator (Entropy and Crack Time)

Password Strength Calculator (Entropy and Crack Time)

Estimate the entropy of a password and how long a brute-force attack would take, all computed in your browser.

Advertisement

How it works

Strength is measured in bits of entropy: how many guesses an attacker needs. Each character adds the log of the pool size in bits, so length adds more than symbols do. A stolen hash attacked offline can try billions of guesses a second, which is the honest worst case. Nothing is sent anywhere: the page works from length and character classes alone.

Advertisement

Formula

entropy = length x log2(pool)
time = pool^length / guesses per second, and half of that for an average attack

Example

10 characters from a 62-character pool: 10 x log2(62) = 59.5 bits, and 62^10 is 8.4e17 combinations. At 10 billion guesses a second that is about 2.7 years for the whole space, and 1.3 years on average.

Frequently asked questions

Is my password sent anywhere?

No. Nothing leaves the browser, and length plus character classes is enough to compute the result.

What is entropy?

Bits of uncertainty. Each extra bit doubles the time an attacker needs.

Online or offline attack?

An offline attack on a stolen hash is far faster, so it is the honest worst case to test against.

Long or complex?

Length wins. One more character multiplies the search space by the whole pool.

Advertisement

Related calculators

GPA Calculator

Weighted GPA on the 4.0 scale from your grades and credits.

Weighted Grade Calculator

Find your overall grade when homework, quizzes and exams count for different shares.

Final Grade Calculator

The score you need on the final exam to reach the grade you want.

Ohm's Law Calculator

Voltage, current, resistance and power: enter any two values, leave the unknowns at 0, and get the rest.