Password Generator
Generate results with the Password Generator — set your parameters and get cryptographically-random output instantly.
Password Generator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Entropy = log2(pool_size^length)
Worked example — Extremely strong password — infeasible to brute-force with current hardware
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Password Generator Formula
Entropy = log2(pool_size^length)
Password entropy measures the unpredictability of your password. A larger character pool and longer length each multiply the entropy exponentially.
Password Generator — Worked Examples
Example 1: 16-char password with all character types
Problem:Length: 16, uppercase + lowercase + numbers + symbols enabled
Solution:Pool: 88 chars (26 uppercase + 26 lowercase + 10 digits + 26 symbols). Entropy = log2(88^16) ≈ 103 bits
Result:Extremely strong password — infeasible to brute-force with current hardware
Password Generator — Frequently Asked Questions
How secure is a randomly generated password?
A randomly generated password using cryptographic randomness (like the Web Crypto API) is extremely secure. Unlike human-chosen passwords, it has no patterns, dictionary words, or predictable sequences. Each character is independently random, making brute-force attacks computationally infeasible for passwords of sufficient length.
What makes a password strong?
Two factors dominate password strength: length and character variety. Length matters most — each additional character multiplies the number of possible combinations. Character variety expands the pool: using uppercase, lowercase, digits, and symbols increases the pool from 26 to 88 characters in this generator. A 16-character password using all four types has over 100 bits of entropy.
What is password entropy and how is it calculated?
Password entropy measures unpredictability in bits. It is calculated as: Entropy = log2(pool_size ^ length). For a 16-character password drawn from this generator's 88-character pool (all character types), entropy = log2(88^16) ≈ 103 bits. Each additional bit doubles the difficulty to guess. NIST guidelines consider 80+ bits strong and 100+ bits very strong.
Should I use a password manager?
Yes. A password manager lets you use a unique, long, random password for every account without memorizing them. This prevents credential reuse attacks — the most common cause of account breaches. Store generated passwords in a reputable manager such as Bitwarden, 1Password, or KeePass rather than reusing simpler passwords.
How long should a secure password be?
NIST Special Publication 800-63B recommends a minimum of 8 characters but modern best practice is 16+ characters. At 16 characters with mixed character types, entropy exceeds 100 bits, which is infeasible to crack with current hardware. For high-value accounts (banking, email), 20+ characters is advisable.
How long should a strong password be?
A strong password should be at least 12-16 characters long. Each additional character exponentially increases the time needed to crack it. A 12-character password with mixed character types would take centuries to brute-force with current hardware.
Are random passwords really more secure?
Yes. Randomly generated passwords avoid patterns, dictionary words, and personal information that attackers exploit. Human-chosen passwords tend to follow predictable patterns like capitalizing the first letter and adding a number at the end.
How often should I change my passwords?
Current security guidance from NIST recommends changing passwords only when there is evidence of a breach, not on a fixed schedule. Forced frequent changes lead to weaker passwords. Focus on using unique, strong passwords with two-factor authentication instead.
Are passphrases better than passwords?
Passphrases using 4-6 random words (like correct-horse-battery-staple) can be both stronger and easier to remember than complex short passwords. A 4-word passphrase from a large dictionary provides excellent entropy while remaining memorable.
What are the most common password mistakes?
The biggest mistakes are reusing passwords across sites, using personal information (birthdays, pet names), choosing short passwords under 8 characters, using dictionary words with simple substitutions, and not enabling two-factor authentication.
Password Generator — Background & Theory
History of the Password Generator
References
Related Calculators
🔐Password Strength Checker
Check how strong your password is
🧮Hamming Distance Calculator
Calculate hamming distance with inputs, formulas, and instant results.
🧮K Mer Counter Calculator
Calculate k mer counter with inputs, formulas, and instant results.
🧮Melting Temperature Calculator
Calculate melting temperature with inputs, formulas, and instant results.
🧮Restriction MAP Calculator
Calculate restriction map with inputs, formulas, and instant results.
🧮Reverse Complement Calculator
Calculate reverse complement with inputs, formulas, and instant results.