Skip to content
Calcrivo

Account Lockout Threshold Calculator

Trade a lockout threshold against helpdesk cost and how much of a common-password list an attacker can still test.

Inputs

attempts
minutes
users
episodes

A stale cached credential, a forgotten password or a misconfigured mail client produces a burst of failures.

%
$
%
passwords

Guesses Allowed per Account per Year

350,400guesses

Share of the Password List Testable

100.0%

Legitimate Lockouts per Year

276lockouts

Annual Unlock Cost

$1,824

Recommendation

Too permissive — the yearly guessing budget covers the whole list, so lower the threshold or lengthen the lockout

Step by step

  1. Values used

    Failed attempts before lockout = 10 attempts; Lockout duration = 15 minutes; Users in scope = 10,000 users; Failed-login episodes per user per year = 6 episodes; Chance an episode produces another failure = 55 %; Cost per assisted unlock = 22 $; Unlocks handled by self-service = 70 %; Size of the attacker's password list = 10,000 passwords

  2. Account Lockout Threshold

    guesses per account per year = threshold × (60 ÷ lockout minutes) × 24 × 365, and list coverage = that ÷ password list size.

  3. Legitimate lockout volume

    legitimate lockouts = users × episodes per year × continuation rate^(threshold − 1).

  4. Guesses Allowed per Account per Year

    = 350,400 guesses

  5. Share of the Password List Testable

    = 100.0

  6. Legitimate Lockouts per Year

    = 276 lockouts

  7. Annual Unlock Cost

    = 1,824

  8. Recommendation

    = Too permissive — the yearly guessing budget covers the whole list, so lower the threshold or lengthen the lockout

How it works

A lockout policy hands an attacker a fixed guessing budget: threshold attempts every lockout period, forever. Ten attempts per 15 minutes is 350,400 guesses per account per year, enough to walk a 10,000-entry common-password list 35 times over. Legitimate lockouts run the other way, modelled as a geometric burst — each additional failure in an episode is less likely, so raising the threshold cuts lockouts exponentially. This is the clearest example of a security control with two opposed costs, and the arithmetic shows that lockout duration, not threshold, is the lever that actually starves an online attacker.

Formulas

Account Lockout Threshold

guesses per account per year = threshold × (60 ÷ lockout minutes) × 24 × 365, and list coverage = that ÷ password list size.

threshold
Failures allowed before the account locks
lockout minutes
How long the account stays locked before attempts resume

Legitimate lockout volume

legitimate lockouts = users × episodes per year × continuation rate^(threshold − 1).

Frequently Asked Questions

How is Account Lockout Threshold calculated?

guesses per account per year = threshold × (60 ÷ lockout minutes) × 24 × 365, and list coverage = that ÷ password list size. A lockout policy hands an attacker a fixed guessing budget: threshold attempts every lockout period, forever. Ten attempts per 15 minutes is 350,400 guesses per account per year, enough to walk a 10,000-entry common-password list 35 times over. Legitimate lockouts run the other way, modelled as a geometric burst — each additional failure in an episode is less likely, so raising the threshold cuts lockouts exponentially.

Why does Account Lockout Threshold matter?

This is the clearest example of a security control with two opposed costs, and the arithmetic shows that lockout duration, not threshold, is the lever that actually starves an online attacker.

What values do I need to enter?

This calculator takes 8 inputs: Failed attempts before lockout, Lockout duration, Users in scope, Failed-login episodes per user per year, Chance an episode produces another failure, Cost per assisted unlock, Unlocks handled by self-service, Size of the attacker's password list. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

What threshold does current guidance suggest?

NIST SP 800-63B asks for no more than 100 consecutive failed attempts and prefers rate limiting with increasing delays over hard lockouts, because a hard lockout is itself a denial-of-service vector against known usernames.

Why does a longer lockout beat a lower threshold?

Because the yearly budget is threshold ÷ lockout duration. Halving the threshold from 10 to 5 halves the budget; extending the lockout from 15 to 60 minutes quarters it, and it inconveniences far fewer legitimate users because most episodes never reach the threshold at all.

You might also need