Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Password generator

Make a strong random password or an easy-to-type passphrase. It's made on your device and never sent or saved.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Need a random PIN or raffle number instead? Use the random number generator.

How it works

Every character or word is picked with your browser's cryptographic random generator (crypto.getRandomValues) and rejection sampling, so each choice is equally likely. The password is made on your device. It isn't sent anywhere, saved, or put in the share link.

When you choose several kinds of characters, you get at least one of each. The generator does this fairly: it makes a fully random password and, if a kind is missing, throws it away and starts again. Every password that meets the rule is then equally likely.

How strength is measured

Strength is measured in bits of entropy: log₂ of how many passwords this generator could have made. Each extra bit doubles the guesses needed.

bits = log₂(possible passwords) ≈ length × log₂(characters to choose from)
passphrase bits = words × log₂(words in the list)

With all four kinds there are 94 characters (26 + 26 + 10 + 32 symbols). 16 characters gives 16 × log₂(94) = 104.9 bits. Requiring one of each kind removes a few combinations, leaving 104.6 bits. A 6-word passphrase from this page's list of 1,662 short common words gives 6 × log₂(1,662) = 6 × 10.70 = 64.2 bits. That's weaker than the 16-character password but much easier to type and remember. Use 8 words for about 86 bits.

The labels are a rule of thumb: under 35 bits weak, 35–59 fair, 60–79 good, 80–99 strong, 100 or more very strong. The time to guess assumes an attacker trying 10 billion guesses a second offline, and on average they'd need to try half of all possibilities.

Limitations

  • Entropy only describes passwords made at random like this. A password you make up yourself, like a name plus a year, is far weaker than its length suggests.
  • A strong password doesn't help if it's reused. Use a different one for every site, keep them in a password manager, and turn on two-step sign-in where you can.
  • Some sites limit length or which symbols they accept. Turn off symbols or shorten it if a site rejects it.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 16 characters from all 94, one of each kind: 104.6 bits ✓
  • 20 characters, look-alikes removed (87 characters): 128.6 bits ✓
  • 6-word passphrase from 1,662 words: 64.2 bits ✓
  • Edge: 7 characters is too short ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How long should my password be?

For random passwords, 16 characters with letters, numbers and symbols gives more than 100 bits, which is far beyond what can be guessed. NIST's guidelines also recommend allowing long passphrases.

Is a passphrase better than a password?

A passphrase is easier to remember and type. A random password packs more strength into fewer characters. Six or more random words is a good choice for a password you have to type from memory, like a password manager's master password.

Is this password generator safe?

Yes. The password is made in your browser with its cryptographic random generator. It never leaves your device and isn't stored or included in the share link.

What does "leave out look-alikes" do?

It removes characters that are easy to confuse when you read or type them, like capital I, lowercase l, the number 1 and the bar |, and O, o and 0. It costs a little strength, which the bits figure shows.

Related calculators