Brute Force Time Calculator
Work out how long an exhaustive search of a keyspace takes at a given guess rate, from the character set and length.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Brute Force Time Calculator does
The brute force time calculator on this page will work out how long an exhaustive search of a keyspace takes at a given guess rate, from the character set and length. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for sizing a key or token so that exhaustive search is infeasible. There are more free online tools on FreeToolsWorld.org.
How to use it
- Enter the length of the secret being searched.
- Enter the number of symbols possible at each position — 95 for printable ASCII, 62 for alphanumeric, 16 for hex.
- Set the guess rate for the attack you are modelling, and the number of machines.
- Compare the average time with the two what-if rows to see whether length or hardware dominates.
How it works
An exhaustive search tries every possibility until one works. The size of the space is the alphabet raised to the length, and the expected time to succeed is half that divided by the guess rate — half, because on average the right answer turns up midway through. The worst case is the whole space, which is only twice as long, so the distinction rarely changes a decision.
The row comparing one extra character against double the hardware is the whole lesson of this page. Doubling an attacker's compute halves their time. Adding one character to a 95-symbol secret multiplies their time by 95. Exponential growth in the defence beats linear growth in the attack so decisively that a secret which is long enough today stays long enough as hardware improves, which is why key lengths are chosen with decades of margin and then left alone.
What this calculation does not model is that real attacks are almost never exhaustive. Cracking tools try dictionary words first, then common mangling rules, then patterns learned from previous breaches, and they find most human-chosen passwords long before brute force would be relevant. The figures here are therefore an upper bound on how long the attacker needs, valid only when the secret is genuinely random. For a human-chosen password the real time is very much shorter.
The guess rate deserves scrutiny whenever you see one quoted. It depends on the hash function, the hardware, and whether the attacker has the hashes at all. Billions of guesses per second is realistic against unsalted MD5 or SHA-1 on a GPU cluster; a correctly configured Argon2 or bcrypt reduces that by five or six orders of magnitude; and an online attack against a rate-limited endpoint never gets beyond a handful per second. Any headline about passwords being cracked "in seconds" is making an assumption about this number, and it is usually the most aggressive one available.
When to use it
- Sizing a key or token so that exhaustive search is infeasible.
- Demonstrating why one extra character beats faster hardware.
- Estimating the exposure window for a weak legacy credential.
- Comparing attack feasibility across hash functions with different speeds.
Common mistakes to avoid
- Using these figures for a human-chosen password. Real attacks use dictionaries and find such passwords far sooner.
- Quoting a crack time without stating the guess rate and the hash it assumes.
- Assuming an attacker must search the whole space. The average is half, and a smart attacker searches the likely region first.
Frequently asked questions
How long does a 10-character password take to brute force?
With all 95 printable ASCII characters, about 6.6 × 10¹⁹ possibilities — roughly 66 bits. At a billion guesses a second that averages over a thousand years; at ten billion, over a century. Against a slow hash like bcrypt it is astronomically longer, and against a human-chosen password of that length it may be minutes, because brute force is not how such passwords fall.
Why is the average half the keyspace?
Because the key is equally likely to be anywhere in the search order, so on average you find it after checking half the candidates. The full space is the worst case, only a factor of two worse.
Does adding a character really help that much?
Yes. Each extra character multiplies the keyspace by the alphabet size — 95 times longer for printable ASCII. No feasible hardware improvement matches a single extra character, which is why length is the lever that matters.