Estimates the number of possible passwords from the character set and the length, and how long a brute-force search would take. On average half the combinations are tried before a hit, so that is the figure given. Adding one character helps more than widening the character set.
This tool estimates how many passwords are possible for a given character set and length, and how long a brute-force search would need to find one.
Here is the number of characters available, the length and the total combinations. With attempts per second, is the average time to a hit. On average half the space is searched before the password turns up, hence the division by two.
The total grows as a power of the length. Widening the character set only enlarges the base, while adding a single character multiplies the whole total by .
An alphanumeric password of 8 characters, drawn from 62, gives combinations; at 12 characters it gives . Four more characters multiply the space by about 14.8 million. Adding symbols to reach 95 characters but staying at 8 gives only , nowhere near the 12-character alphanumeric.
With 62 characters, a length of 12 and ten billion attempts per second, there are combinations and an average search of roughly 5112 years.
All of this assumes a genuinely random string. A dictionary word, or a word with its letters swapped for lookalike symbols, falls far sooner, because an attacker runs the dictionary before resorting to brute force.
A reused password fails regardless of its length. Once it has leaked anywhere, it is found on the first attempt.