Deciphr Academy
Track 2 · Module 7 · Lesson 4 of 7 · 8 min read

How does a 12-word seed phrase work, and why does it matter more than a password?

Short answer

Under the BIP-39 standard, a wallet turns 128 to 256 random bits, plus a short checksum, into 12 to 24 words from a list of 2,048.1 Twelve words carry 128 random bits, which Mastering Bitcoin calls more than enough against guessing, and anyone who gets them can drain the wallet with no one able to reset them.1,2,3,4

128 random bits4 checksum= 132 bits, cut into 12 pieces of 11 bits1111word 1word 12each piece is a number, 0 to 2,047it picks one word from a list of 2,048128 + 4 = 132 = 12 × 11
Fig. 4. A 12-word phrase. 128 random bits plus a 4-bit checksum make 132 bits. Cut into 12 pieces of 11 bits, each piece picks one word from a list of 2,048.

From random bits to words

Many wallets follow a standard called BIP-39 to make a recovery phrase, also called a seed phrase.1,5 It works in four steps.1

  1. Random bits. The wallet makes between 128 and 256 random bits, in a multiple of 32. The standard calls this the entropy.1
  2. A checksum. It hashes the entropy with SHA-256 and adds the first few bits of the hash to the end: one checksum bit for every 32 bits of entropy.1
  3. Groups of 11. It cuts all the bits into groups of 11. Each group is a number from 0 to 2,047.1
  4. Words. Each number picks a word from a fixed list of 2,048 words.1

Why 11 bits? Because 2^11 = 2,048, so every 11-bit number matches exactly one word on the list.1

Random bits Checksum bits Total bits Words
128 4 132 121
160 5 165 151
192 6 198 181
224 7 231 211
256 8 264 241
Working out BIP-39 numbers

Checksum bits = random bits ÷ 32. Words = (random bits + checksum bits) ÷ 11. For 128 bits: 128 ÷ 32 = 4, then 128 + 4 = 132, and 132 ÷ 11 = 12 words. Going the other way, each word holds 11 bits, so 12 words hold 132 bits, of which the last 4 are the checksum. A list of random words passes the checksum about 1 time in 2^(checksum bits): 1 in 16 for 12 words.1 The quiz changes the numbers.

The words and the checksum

BIP-39 describes an ideal word list. Typing the first four letters of a word is enough to identify it, and the list avoids having both words of a similar pair, such as "build" and "built".1

The checksum means not every list of words is a valid phrase. In a 12-word phrase the last 4 bits must match, so only 1 in 2^4 = 16 random lists of 12 words passes.1 Wallet software must warn you if a phrase's checksum is wrong.1

BIP-39 itself lists the short checksum as a weakness. It gives only modest odds of catching random errors, and it can't help you correct one.1

From words to keys

The words are then put through a key-stretching function called PBKDF2, which runs a hash called HMAC-SHA512 2,048 times.1 Mastering Bitcoin says this makes guessing only slightly harder.2 The result is a 512-bit seed, which makes every key in the wallet (Lesson 5).1

An optional passphrase can be added at this step, and each passphrase gives a different wallet. Module 8 covers it.1 Because the step is one-way, you can't turn a seed back into words.1

Why 12 words beat a password

Count the possibilities. Twelve words carry 128 random bits, so there are 2^128 possible phrases: about 3.4 × 10^38, a 39-digit number.1 Mastering Bitcoin says 128 bits is more than enough to stop an attacker who has to guess the whole phrase.2

NIST, the US standards body, says it is hard to measure in bits how strong a password is when people choose it themselves, so it judges passwords mainly by length.6 A password can still be counted the same way as a phrase, but only if every character is picked at random. This is our own worked example, not a NIST figure: a character picked at random from 64 choices adds 6 bits, because 2^6 = 64.

Secret Working Random bits
12-word phrase 128 random bits; the 4 checksum bits add no randomness1 128
24-word phrase 256 random bits, plus 8 checksum bits1 256
10 random characters, 64 choices each 10 × 6 (our worked example) 60
22 random characters, 64 choices each 22 × 6 (our worked example) 132

So, on this arithmetic, a random password needs 22 such characters just to match the 128 random bits of a 12-word phrase.1 And people rarely pick passwords at random. NIST says people often choose passwords that are easy to guess, and respond to rules in very predictable ways, such as turning "password" into "Password1".6

A BIP-39 phrase is made by the computer. The standard says it is not meant for sentences people make up themselves.1 Mastering Bitcoin explains why: humans are very poor sources of randomness.2

How we work this out: counting bits

If each piece is picked at random from 2^b choices, it adds b bits. N pieces give N × b bits. A BIP-39 word is one of 2^11 choices, so it adds 11 bits.1 To match a phrase, divide its random bits by b and round up: 128 ÷ 6 = 21.3, so 22 characters.1 The quiz changes the numbers.

Why the stakes are higher

A bank password protects an account that someone else runs. NIST notes that a service can slow down guessing by limiting login attempts.6 If you forget it, there is usually a way back in. ethereum.org notes, for example, that crypto exchanges let you recover a username and password in the usual way.7

A recovery phrase is different. ethereum.org calls it the master key to your wallet: anyone who has it can reach all your accounts and drain every asset.3 An SEC investor bulletin says a private key can't be changed or replaced, and if you lose it, you can lose access for good.4

Never type it into a website

ethereum.org says no real service, support agent or website will ever ask for your recovery phrase.3 It warns that some phishing emails link to fake websites that ask for it.3 The bulletin's advice is the same: never share your private keys or seed phrases.4

NIST notes that passwords can be phished too.6 The difference is what a phished secret unlocks. A recovery phrase unlocks everything in the wallet, and there is no one to call.3,7

Storing the phrase

Module 8 covers how to back up a phrase. ethereum.org's short version: don't store it on a computer, write it down and keep it safe.7

Our viewA password is a lock on someone else's door, and they hold a spare key. A recovery phrase is the only key, and the door has no other lock.
Sources
  1. BIP 39: Mnemonic code for generating deterministic keys. Bitcoin Improvement Proposals (github.com/bitcoin/bips), assigned 10 September 2013.
  2. Mastering Bitcoin, 3rd edition, chapter 5: Wallet Recovery. Andreas M. Antonopoulos and David A. Harding (CC BY-SA 4.0), GitHub, December 2023.
  3. Ethereum security and scam prevention. ethereum.org, page updated 6 June 2026.
  4. Crypto Asset Custody Basics for Retail Investors – Investor Bulletin. US Securities and Exchange Commission, Office of Investor Education and Assistance (Investor.gov), 12 December 2025.
  5. Mastering Ethereum, 2nd edition, chapter 5: Wallets. Andreas M. Antonopoulos, Gavin Wood and co-authors (CC BY-NC-ND 4.0 for its first 12 months, then CC BY-SA 4.0), GitHub, checked 22 October 2026.
  6. NIST Special Publication 800-63B, Revision 4: Digital Identity Guidelines, Authentication and Authenticator Management. US National Institute of Standards and Technology, web version of 26 August 2025.
  7. Ethereum wallets explained. ethereum.org, page updated 24 February 2026.

General education built from the publicly available sources listed above. Not financial, legal, tax or investment advice. Naming a company, project or regulator is not an endorsement either way. Last checked 2026-10-22. Terms and disclaimer.