b2KIT

Hash Rate Calculator

Calculate brute-force attack times based on hash rate, password complexity, and character set size.

Tested tool guide Tested browser tools Checked August 16, 2026

What Hash Rate Calculator does and how it behaves

Hash Rate Calculator estimates how long exhaustive guessing would take for a fixed-length password space. It raises the character set size to the password length to obtain the number of possible candidates, then relates that count to the supplied testing rate. The result is a mathematical estimate, not a cracking benchmark. The most common mistake is entering a convenient hashes-per-second figure rather than a measured candidate-verification rate for the exact hash or password-hashing configuration and hardware being assessed.

How the result is produced

1

Candidate space

For length L and a character set containing N possible characters at every position, the search space contains N^L candidates. Adding one character therefore multiplies the space by N. This model applies cleanly only when every position uses the same set. If positions have different allowed sets, their individual counts must instead be multiplied.

2

Time calculation

At a sustained rate of R complete candidate checks per second, testing the entire space takes N^L divided by R seconds. If the target is uniformly distributed and candidates are tested without repetition, expected discovery occurs after approximately half the space. A human-selected password usually does not satisfy that uniformity assumption, so the halfway figure is not a general prediction.

Good uses

  • Compare how adding password length changes exhaustive-search time while keeping the character set and measured verification rate fixed.
  • Translate a benchmark for one exact password-hash configuration into a full-search estimate for a security assessment.
  • Contrast a lowercase-only password space with an alphanumeric or larger character set during password-strength training.

Limits and checks

  • Use a rate measured for the relevant algorithm, parameters, salt handling, and hardware. A fast SHA-256 benchmark is not a valid rate for a deliberately expensive password hash such as Argon2.
  • The formula treats every candidate in the stated space as possible. Dictionary attacks, reused passwords, known patterns, breached-password lists, and personal information can make a real target much easier to guess.
  • Do not read full-space time as a guaranteed survival time. A password can occur anywhere in the testing order, and targeted guessing may reach likely choices long before an exhaustive search would finish.

Common questions

Does the result predict how long my actual password will take to crack?

No. It describes a defined search space at a constant supplied rate. It is most meaningful for randomly generated passwords that match the selected length and character set. Human-created passwords have uneven probabilities, and attackers commonly test likely words, substitutions, patterns, and previously exposed passwords before attempting every possible string.

What should I use as the character set size?

Count the characters that could genuinely appear at each position, not the number of distinct characters present in one chosen password. Lowercase English letters give 26 possibilities per unrestricted position, for example. If a format forces different sets at different positions, a single character-set value does not model it exactly; calculate the product of the position-specific possibilities.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools