Free · runs in your browser

Brute Force Cost Calculator

Brute Force Cost Calculator. Set a character pool, length, and hashing cost to instantly estimate brute-force crack time. Whether the topic is data compression or a random secret, the free password entropy calculator puts mathematics behind how much uncertainty a string holds.

8

"Cost" here means computational cost (time), based on published GPU hashrate benchmarks for raw SHA-256. This models a properly salted, iterated hash (like PBKDF2) -- a fast unsalted hash (plain MD5/SHA-1) would need 0 or 1 iterations, making cracking dramatically faster.

  • No account, no logging
  • Open formulas explained below
  • Works offline once loaded

A brute force cost calculator turns a password's length and character set into the attacker's bill: how many guesses are needed, how long a GPU spends testing them, and what that rented time costs in dollars. Set your password rules and your target in the tool, and you get bits of entropy, time and USD in one pass, so a strong password is judged by what cracking it would really cost.

What a Brute Force Cost Calculator Measures

The tool divides the search space by the speed of an attacker, then multiplies the hours by a rental price. Speed is counted in guesses per second, also called hashes per second, and it changes with the chip and the target. The output is a price rather than a score, which makes it easy to compare an account protected by short passwords with one protected by long ones, whatever the sign-in screen looks like. Surveys of employees and users show repeats are common, and the password reuse checker gives a quick risk check in the browser.

Password Entropy Calculator Formula

Every estimate starts with Shannon entropy: the base-2 log of how many equally likely combinations exist. For random picks, the theoretical entropy in bits is: Run P@ssw0rd-style text through the leetspeak substitution detector to see why common substitutions add almost no strength.

$$E = L \times \log_2(N)$$

where \(L\) is the length and \(N\) the pool size. On average half the space is searched, so the estimate becomes:

$$\text{Guesses} = \frac{N^{L}}{2}, \qquad \text{Cost} = \frac{\text{Guesses}}{\text{Rate} \times 3600} \times \text{Price per hour}$$

Real people also lose effective entropy to patterns, so this formula is the ceiling for cryptographic strength, not a promise.

Character Pool Size and Password Length

The character pool is every symbol allowed in a position, and password length is the exponent, which is why length grows the space faster than complexity does. Typical pools for passwords:

  • Lowercase letters only: 26
  • Uppercase plus lowercase letters: 52
  • Letters plus numbers: 62
  • All printable symbols and special characters: 95

NIST Guidance on Length

NIST favors length over forced rules. Six diceware words drawn from a 7,776-word list give about 77.5 bits, more than most 12-symbol passwords and far easier to remember. Entered into the tool, that figure pushes the offline bill far past any realistic rental budget.

Brute-Force Cost Inputs: Hash Algorithm and Hardware

Two inputs move the bill more than anything else. The hash algorithm sets how much work each guess takes, and the hardware profile sets how many guesses fit into an hour. Fast functions such as MD5, SHA1, SHA-256 and NTLM run at tens of billions of guesses a second on one card, which any crack time calculator must reflect. Slow key-derivation functions, namely bcrypt, Argon2id and PBKDF2, add a work factor that multiplies the cost of every guess.

Heatmap of rental cost to crack 7 to 11 character passwords hashed with MD5, SHA-256 or bcrypt
Rental cost of a full sweep by password length and hash function; the outlined cell is the worked example.

Hashcat benchmarks for an RTX 4090 or an RTX 5090 differ by chip, a multi-GPU rig or cloud cluster multiplies them, and salted storage stops one guess from testing many accounts at once.

Online Attack vs Offline Attack Speed and Cost

One secret faces two very different threats, and a hacker's speed differs by orders of magnitude between them.

Throttling Slows Online Guessing

Online, guesses pass through a live login, where rate limits, lockouts and network delay hold an account to a few tries a minute. The calculator prices only the offline case, so these limits do not lower its figures.

Offline Guessing Runs Unchecked

After a breach, the stolen database lets guessing run offline on rented cloud machines priced at AWS or other spot prices. Once a store of credentials is breached, one GPU can test enormous numbers of fast guesses a second with no lockout.

Time to Crack a Password: Worked Example

Take a 10-character random password of letters and numbers, so the pool is 62 and \(E = 10 \times \log_2 62 \approx 59.5\) bits. The full space is about \(8.39 \times 10^{17}\) guesses, and on average half of them, \(4.2 \times 10^{17}\), must be tried. Feed that into a password crack time calculator with assumed rates of 150 billion MD5 guesses a second on one GPU, 5,000 bcrypt (cost 10) guesses a second, and $1.80 per hour of rental, and the time to crack looks like this:

Flow from a 13.5 quadrillion keyspace to 3.13 hours of GPU time and a $55.15 rental cost for a 9-character MD5 password
The brute force cost formula applied to the worked example: keyspace, divided by attacker rate, times the rig's hourly price.
Time to Crack a Password: Worked Example
PasswordEntropyFastSlow (bcrypt, cost 10)
8 characters, a to z and digits (pool 36)41.4 bits9 seconds, under $0.013,265 days, $141,056
10 characters, letters and digits (pool 62)59.5 bits32.4 days, $1,3992.66 million years, about $42 billion

The fast option costs 777 hours of rental, about $1,399. The same password behind bcrypt needs roughly 26,600 centuries, so the risk collapses to zero in practice. Your lever is length: two more positions multiply the space by 3,844 (62 squared).

  1. Read the bits of entropy first: under roughly 60 bits is weak against an offline rig, and 80 bits or more is a comfortable margin.
  2. Compare the dollar figure with what the stolen data is worth; a bill of a few hundred dollars is cheap for valuable records.
  3. Re-run with a slower function or two more positions, and watch the bill jump by orders of magnitude.

Strength Tester Story: Pricing a Nine-Letter Password

I'm deciding whether a small web shop can keep storing customer secrets with SHA-256 or must move to bcrypt. Support says users pick about nine letters in mixed case, so the pool is 52 and \(E = 9 \times \log_2 52 \approx 51.3\) bits. That clears the 8-character minimum in NIST SP 800-63B, which is exactly why a length rule alone tells me nothing about cost.

Timeline of MD5 brute-force sweep time for random passwords from 6 characters (0.05 seconds) to 12 characters (85.2 years)
Each extra random character multiplies the MD5 sweep time by 62.

I enter length 9, pool 52, a rented card testing \(2.15 \times 10^{10}\) SHA-256 guesses a second, and $2.40 an hour. Half of \(2.78 \times 10^{15}\) is \(1.39 \times 10^{15}\) guesses, so the brute force calculator returns under a day and about $43. My hand check: \(1.39 \times 10^{15} \div 2.15 \times 10^{10} \approx 64{,}650\) seconds. Then I switch the target to bcrypt cost 12 at 1,250 guesses a second and get about 352 centuries and $741 million.

Strength Tester Story: Pricing a Nine-Letter Password
SetupEntropyTimeRental cost
9 letters, SHA-25651.3 bitsunder a day$43
10 letters, SHA-25657.0 bits38.9 days$2,241
9 letters, bcrypt cost 1251.3 bitsabout 352 centuries$741 million

The number to watch is the storage choice, not the tenth letter: one extra letter multiplies the bill 52-fold, but bcrypt multiplies it roughly seventeen million times. The caveat is that the formula assumes random letters. If people type Summer2024!, a pattern-aware checker finds it among the first wordlist guesses and the 51-bit figure is fiction, so I would trust a zxcvbn-style score there. The rental price also overstates the cost for someone who already owns GPUs, so I read the dollar figure as a floor on effort, not a ceiling on risk. My next action: move to bcrypt cost 12 and require 12 characters, which is 68.4 bits.

Pattern-Aware Password Strength Checker vs the Brute Force Ceiling

A password strength checker goes beyond the formula by guessing the way a cracker would. Tools built on zxcvbn match common words in a dictionary attack, undo substitution tricks such as 4 for a, and flag keyboard walks like qwerty before turning matches into a guess count. A strength tester may also check Have I Been Pwned, because a leaked password is weak whatever its entropy, and a pattern like Summer2024! looks complex on a naive entropy count yet falls within the first guesses of a wordlist run. The calculator gives the brute-force ceiling and the pattern-aware figure gives the floor, so quote the lower of the two beside the dollar result when you want to protect a real account.

Brute Force Calculator Lessons: Length Beats Complexity

  • Add length first; each extra position multiplies the work, while swaps like 3 for e barely register in password strength.
  • Give every site its own unique secret; reusing passwords means one cracked entry, and one bill, unlocks every other site that shares it.
  • Pick a slow function on the server side when you control it.

Password Checker Advice: Passphrase Cost and Password Manager

A passphrase of unrelated words is easy to type and strong against guessing; six words entered in the tool give an offline bill that dwarfs the single-word cases. A password manager keeps that cost high for every site by storing unique passwords, so you never reuse a password. Add multi-factor authentication as a second layer of security, so even a cracked secret cannot open the account.

Frequently Asked Questions

What does "effective rate" mean here?
It's the raw GPU hash rate divided by the number of hashing iterations -- e.g. a GPU that computes 22 billion raw SHA-256 hashes per second can only test about 628,000 candidate passwords per second against a password hashed with 35,000 PBKDF2 iterations, since each guess requires running the hash function that many times.
Why does the iteration count matter so much?
It's one of the single biggest factors in real-world crack resistance -- properly configured PBKDF2/bcrypt/scrypt/Argon2 deliberately slow down each guess attempt by thousands to millions of iterations, turning a GPU's raw billions-of-hashes-per-second speed into a much smaller effective guesses-per-second rate. A site using an unsalted, un-iterated hash (or worse, storing plaintext) offers none of this protection.
Are these GPU hash-rate figures accurate?
They're based on commonly cited raw SHA-256 benchmark figures for each card (the same figures published in hashcat and mining benchmarks) as of when this tool was built -- treat them as reasonable estimates, not live real-time figures. Use the Custom option to plug in your own measured or updated rate.
What's the difference between average and worst-case time?
Worst-case is the time to exhaust the entire possible combination space; average-case assumes the correct password is found, on average, halfway through that space -- which is the standard way crack-time estimates are usually presented, since an attacker isn't guaranteed to need the full search.
Is this calculation sent anywhere?
No. Every calculation runs entirely in your browser using simple arithmetic -- nothing is transmitted to a server or stored.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the password generators, strength checkers, hash tools and security calculators on PasswordHive.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each tool's output is checked against official test vectors or a reference implementation, and every strength and crack-time figure against the formula it uses, before it goes live.
  • Published Updated