ToolsRacks
All Tools
TEXT
  • Word Counter
  • Upwork Text Formatter
  • LinkedIn Text Formatter
  • Plagiarism Checker
DEVELOPER
  • JSON Formatter
  • Regex Tester & Playground
  • Base64 Encoder/Decoder
  • CSV to JSON
IMAGE
  • Image Compressor
  • Image Resizer
  • Image Converter
NETWORK
  • IP Address Lookup
  • DNS Checker
  • SSL Certificate Checker
  • Website Speed Test
SECURITY
  • Password Generator
UTILITIES
  • QR Code Generator
  • Age Calculator
  • Barcode Generator
  • Calculators
DOCUMENT
  • Word to PDF
  • PDF to Word
SEO & WEB TOOLS
  • Robots.txt Generator & Tester
  • Meta Tag Generator & Preview
  • .htaccess Redirect Generator
  • Cron Expression Parser
  • Markdown to HTML Converter
Browse all tools→27 free tools · No sign-up
AboutBlogContact
Free Tools
ToolsRacks

Free online tools for developers, writers, marketers, and everyday users. No signup required.

Contact: contact form/toolsracks@gmail.com

Tool categories

Text ToolsDeveloper ToolsImage ToolsNetwork ToolsSecurityUtilitiesDocument ToolsSEO & Web Tools

Popular tools

Word CounterUpwork Text FormatterJSON FormatterImage CompressorQR Code GeneratorPassword GeneratorDNS CheckerMeta Tag Generator & Preview

Company

AboutContactPrivacy PolicyTermsBlog

SEO tools

Robots.txt Generator & TesterMeta Tag Generator & Preview.htaccess Redirect GeneratorCron Expression Parser

© 2026 ToolsRacks — All rights reserved.

Official domain: https://toolsracks.com

← Back to blog

How long should a password be? The entropy behind the answer

How long should a password be

September 4, 2026 · Updated Sep 4, 2026

By ToolsRacks Team · Web & Security

16 random characters, or a 6-word passphrase for the ones you memorise. The entropy table, why length beats complexity, and why crack-time charts mislead.

Every site has a different rule. One demands at least 8 characters with a symbol. Another caps you at 16. A third rejects the symbol you chose. None of them explain what any of it achieves, and most of the advice online is a "time to crack" chart that quietly assumes things about the website you are signing up to.

Here is the actual arithmetic, what it does and does not protect against, and a straight answer for each kind of account.

Quick Summary:
  • Short answer: 16 random characters for anything a password manager will fill in for you.
  • For passwords you must memorise: a passphrase of 5–6 random words beats a short complex string.
  • Length beats complexity. 20 lowercase characters are stronger than 12 characters using every symbol.
  • Above about 80 bits of entropy, password length stops being your weakest point — reuse and phishing take over.

A password should be at least 16 randomly generated characters for accounts stored in a password manager, or a passphrase of 5 to 6 random words for the few you have to type from memory. Sixteen random characters from a mixed alphabet gives roughly 103 bits of entropy, which is far beyond the reach of any realistic brute-force attack. Beyond that point, using a unique password per site and enabling two-factor authentication protects you far more than adding characters.

What password strength actually measures

Strength is entropy: how many equally likely passwords the generator could have produced. It is measured in bits, and each additional bit doubles the work an attacker has to do.

The formula is simple — entropy equals length multiplied by log₂ of the alphabet size:

  • Lowercase only: 26 characters → 4.7 bits each
  • Upper + lower: 52 → 5.7 bits each
  • Upper + lower + digits: 62 → 5.95 bits each
  • All four sets including symbols: 88 → 6.46 bits each

Crucially, this only applies to a randomly generated password. If you chose it yourself, the maths does not hold — human choices cluster around predictable patterns, and cracking tools try those first. "Tr0ub4dor&3" looks like it should be strong and is not, because the substitutions are the ones everybody makes.

The entropy table

Character set12 chars16 chars20 chars24 chars
Lowercase only (26)56 bits75 bits94 bits113 bits
Lowercase + digits (36)62 bits83 bits103 bits124 bits
Upper + lower + digits (62)71 bits95 bits119 bits143 bits
All four sets (88)78 bits103 bits129 bits155 bits

Rough interpretation:

  • Below 60 bits — within reach of a determined offline attack against a poorly protected password database.
  • 70–80 bits — comfortable for ordinary accounts.
  • 100+ bits — the password is no longer the weak link by any margin.

Length beats complexity, and here is the proof

Compare two passwords from the table:

  • 20 characters, lowercase only: 94 bits
  • 12 characters, every symbol available: 78 bits

The all-lowercase one is roughly 65,000 times harder to brute-force, despite looking far less "complex". Adding a character multiplies the search space by the alphabet size; adding symbols only enlarges the alphabet a little.

This is why the practical advice is: if a site rejects symbols, do not argue with it — add four more characters instead. And it is why composition rules ("must contain one uppercase, one digit, one symbol") are largely counterproductive. They do not create entropy; they push people towards Password1! and a capital letter at the front with a digit at the end.

Why "time to crack" charts mislead you

You have seen the tables: "8 characters — instantly; 12 characters — 34,000 years." They are not exactly wrong, but they hide the assumption that matters most.

Crack time depends far more on how the website stores your password than on the password itself. A site hashing with a fast algorithm like MD5 can be attacked billions of times per second. A site using a modern, deliberately slow algorithm such as bcrypt or Argon2 might allow only a few thousand attempts per second on the same hardware — a difference of several million times, from a decision you had no part in.

Three more things those charts leave out:

  • Online attacks are rate-limited. Guessing against a live login form is throttled and locked out. Brute force is only a realistic threat after a database is stolen.
  • Attackers do not start with brute force. They start with lists of breached passwords and common patterns. A predictable 14-character password falls before a random 10-character one.
  • Most compromises are not cracking at all. Credential stuffing — reusing a password that leaked elsewhere — and phishing account for the overwhelming majority of real account takeovers.

So treat those charts as a rough illustration of why length matters, not as a prediction about your account.

Passphrases: for the passwords you must remember

You will have a handful of passwords that cannot live in a manager — the master password for the manager itself, your device login, sometimes your email. For those, a random passphrase is the right tool.

The method: pick 5 or 6 words at random from a large list, and join them. Random is the operative word — a memorable phrase from a song or a book has almost no entropy, because it appears in the training data of every cracking dictionary.

Done properly with a large word list, each word contributes roughly 12–13 bits, so:

  • 4 words — around 50 bits. Not enough on its own any more.
  • 5 words — around 64 bits. Reasonable.
  • 6 words — around 77 bits. Solid, and still memorable.

The advantage is not that a passphrase is stronger per character — it is not. The advantage is that people can actually remember a 6-word phrase, and will not write it on a sticky note the way they do with a 16-character random string.

What length to use, by account type

AccountRecommendedReasoning
Everyday website login16 random characters~103 bits. Your manager types it, so length costs you nothing.
Password manager master password6-word random passphraseThe one you must memorise. Never reuse it anywhere.
Email account16+ characters, plus 2FAEmail resets every other account, so it is the highest-value target you own.
BankingWhatever the maximum allows, plus 2FAMany banks cap length — use every character they permit.
API keys and service credentials32+ characters, letters and digitsLong enough to be irrelevant, and free of symbols that break connection strings and shell escaping.
Wi-Fi20+ characters, letters and digitsTyped once per device, often on a TV remote. Length carries it; symbols only add pain.
Shared or temporary access16 characters, rotated after handoverAssume it will travel over chat or email.

Generating one properly

Randomness has to come from a cryptographic source, not from a person and not from a simple random function. Our free password generator uses the browser's cryptographic random number generator, offers 6 to 64 characters across four character sets, and runs entirely on your device — nothing is transmitted, logged or stored, which is the only acceptable design for a tool of this kind.

Two practical notes when you use it:

  • Save it before you navigate away. The page keeps no history and cannot recover a password you did not store.
  • Turn symbols off for service credentials. Quotes, backslashes and ampersands break connection strings and shell scripts. Add length instead.

What matters more than length

Once you are past roughly 80 bits, adding characters is no longer where your risk is. These are:

  1. A unique password per site. A 64-character password reused on two sites is only as safe as the weaker site's breach history. This is the single most important habit.
  2. Two-factor authentication. It protects the account even when the password leaks. An app-based code or a hardware key is meaningfully better than SMS.
  3. A password manager. It makes uniqueness practical, and it will not autofill your credentials into a lookalike phishing domain — a defence you do not get from memory.
  4. Not rotating on a schedule. Current NIST guidance advises against forced periodic changes, because they push people towards predictable increments. Change a password when there is evidence of compromise.
  5. Checking your email against known breaches so you know which passwords need changing and which do not.

Password questions people ask

Is 8 characters still enough?

No. Eight random characters is roughly 52 bits even with a full alphabet, which is within reach of an offline attack against a badly protected database. It survives as a minimum in old policies, not as a recommendation.

Is 12 characters enough?

For a low-value account with 2FA, yes — around 78 bits with a full alphabet. For email, banking or anything financial, go to 16. The cost of the extra four characters is zero when a manager fills them in.

Does adding symbols really help?

A little. Moving from 62 to 88 characters in the alphabet adds about half a bit per character. Adding one more character adds about 6.5 bits. Length is the better lever by an order of magnitude.

Why do some sites limit password length?

Usually legacy database fields or old systems that never got updated. It is a poor signal about a site's security practices, and where you meet a cap, use every character it allows and enable 2FA.

Should I change my passwords every 90 days?

No, unless your organisation requires it. Scheduled rotation encourages predictable patterns like Summer2026! followed by Autumn2026!. Change on evidence of compromise instead.

Is a sentence a good password?

A sentence you invented is far better than a single word and far worse than a random passphrase, because human-composed sentences follow grammar and common phrasing that cracking tools model. Random word selection is what produces the entropy.

What does "military-grade" mean on a password tool?

Nothing. It is marketing language with no technical definition. What matters is whether the randomness comes from a cryptographic source, and how the site receiving your password stores it.

If you change only one thing

Sixteen random characters for anything your password manager fills in, a 6-word random passphrase for the two or three you must remember, and two-factor authentication everywhere it is offered. Length beats complexity, uniqueness beats length, and nothing beats not reusing passwords.

Related articles

  • How long does DNS propagation take

    How long does DNS propagation take? (and why nothing propagates)

    Usually minutes to a few hours, 48 hours at worst. But DNS does not propagate — it is your old TTL expiring in thousands of separate caches.

    Sep 4, 2026

  • NET::ERR_CERT_DATE_INVALID:

    NET::ERR_CERT_DATE_INVALID: what it means and how to fix it

    This error has two completely different causes — an expired certificate, or your own device clock. A ten-second test tells you which one you have.

    Sep 2, 2026

  • How many pages is 1,000 words

    How many pages is 1,000 words? (with conversion tables)

    1,000 words is about 4 pages double-spaced or 2 single-spaced — but font, margins and spacing all move the number. Full conversion tables.

    Sep 4, 2026