Guides

How to Create and Manage Strong Passwords

Published · 5 min read

Most password advice is a list of rules: at least one capital letter, one digit, one symbol. Those rules produce passwords like “Summer2026!”, which tick every box and are still among the first guesses an attacker tries. Strength does not come from the kinds of characters you use, but from how many possibilities an attacker has to go through.

This guide explains how that is measured, why length matters more than complexity, and how to organise your passwords so that a strong one is also practical to use.

Entropy: measuring strength in bits

When a password is chosen at random, its strength can be calculated. If each character is picked from a pool of N possible characters and the password is L characters long, there are N to the power of L possible passwords. Entropy expresses that number in bits: L × log2(N). Each bit doubles the number of possibilities, so 40 bits is twice as hard to guess as 39 bits, and a thousand times harder than 30.

A worked example. Take 8 random lowercase letters. The pool has 26 characters and log2(26) is about 4.7, so the password has 8 × 4.7 ≈ 37.6 bits of entropy, or about 209 billion combinations. Now imagine an offline attack where the attacker has stolen a database of password hashes and can test ten billion guesses per second, a figure chosen here only for illustration. Trying every combination would take about 21 seconds.

Keep the same 8 characters but draw them from 89 characters (lowercase, uppercase, digits and 27 symbols): log2(89) is about 6.48, so 8 × 6.48 ≈ 51.8 bits. At the same speed, exhausting all combinations takes about four and a half days. Better, but still within reach.

Real attack speeds vary enormously. A site that stores passwords with a deliberately slow hashing function such as bcrypt or Argon2 can slow attackers down by many orders of magnitude, while a poorly protected database lets them go much faster. You cannot know which kind of site you are dealing with, which is why it makes sense to aim for a comfortable margin.

Why length beats complexity

Continue the example with 16 random lowercase letters: 16 × 4.7 ≈ 75.2 bits. At ten billion guesses per second, trying every combination would take well over a hundred thousand years. Doubling the length of a lowercase-only password did far more than adding capitals, digits and symbols to a short one, because length sits in the exponent.

Combine both and the numbers become very large: 16 random characters from the 89-character pool give about 104 bits. Beyond around 100 bits, brute force is no longer a realistic threat; the weak points become reuse, phishing and malware instead.

There is one essential condition: these calculations only hold for randomly generated passwords. A password you invent, such as a name followed by a year and an exclamation mark, follows patterns that cracking tools test first. Its real strength is far below what its length suggests, and no formula can rescue it.

Passphrases apply the same logic with words instead of characters. With a list of 7,776 words, the size used by the Diceware method, each randomly chosen word adds about 12.9 bits. Five random words give about 64.6 bits and six give about 77.5 bits, while remaining much easier to remember and type than a string of symbols. The words must be picked at random, not chosen by you, and a famous quote or song lyric does not count.

One password per account, kept in a password manager

The most common way accounts get taken over is not clever guessing but reuse. When one website is breached, attackers try the leaked email and password combinations on many other services, a technique known as credential stuffing. If you reuse a password, the strength of that password stops mattering: the weakest site you ever signed up to decides the security of all the others.

Nobody can memorise a hundred unique random passwords, and nobody should try. A password manager stores them in an encrypted vault, fills them in for you and usually generates them too. The one built into your browser or operating system is already a large improvement over reusing passwords; dedicated managers add features such as sharing, breach alerts and support across all your devices.

The vault is protected by a master password, which is the one you do need to remember. Make it long, unique and never used anywhere else: a random passphrase of five or six words is a good fit. Protect the vault with two-factor authentication too, and store its recovery codes somewhere safe and offline.

Add a second factor

Two-factor authentication (2FA) asks for something in addition to the password, so that a stolen password alone is not enough to log in. Turn it on first for the accounts that unlock everything else: your main email address, your password manager, your bank and your phone's cloud account.

  • Passkeys and hardware security keys are the strongest options: they are tied to the real website, which makes them resistant to phishing.
  • Authenticator apps that display a six-digit code changing every 30 seconds are a solid, widely supported choice.
  • Codes received by SMS are the weakest form, vulnerable to SIM swapping, but still far better than a password alone.
  • Keep the backup codes provided when you enable 2FA; losing your phone without them can lock you out of your own account.

What not to do

  • Do not build passwords from personal information: names, birthdays, pets, favourite teams or your street are easy to find online.
  • Do not rely on predictable substitutions such as “P@ssw0rd”: cracking tools try them automatically.
  • Do not change one character to make a “new” password (Password1, Password2…): if the old one leaks, the new one is easily guessed.
  • Do not send passwords by email or chat, and do not keep them in a plain text file or a note on your desk.
  • Do not type a password into a page you reached through a link in an unexpected message; open the site yourself instead.
  • Do not change strong, unique passwords on a fixed schedule for no reason. Current guidance, such as NIST's digital identity guidelines, recommends changing a password when there is a sign it has been compromised, not routinely, because forced rotation pushes people towards weaker, predictable variants.

Generate passwords the safe way

To get the benefit of all the calculations above, the password must come from a good source of randomness. The Toolvance password generator uses your browser's cryptographically secure generator, shows the entropy of each password in bits, and runs entirely on your device: nothing is sent or stored. Generate a password, save it straight into your password manager, and you will never need to remember it.