Seed Phrase Checksum: Why the Last Word Is Special

Author logo
Tangem team
•
Post image

 

Change any one word of a seed phrase and most wallets will refuse it. That is the seed phrase checksum at work, and it lives in the last word. This article explains how the checksum is built, why the final word in a BIP39 phrase is constrained to a small set of valid options, and, critically, what a passing checksum cannot tell you about the safety of your funds.

What is a seed phrase checksum?

A checksum is a small value computed from a block of data so that any corruption of that data can be detected. Think of the last digit on a credit card number: it is derived from the other digits, and a single typo usually produces an invalid result.

 

BIP39 works the same way. When a wallet generates a BIP39 seed phrase, it starts with a random number, the entropy, of 128, 160, 192, 224, or 256 bits. It then computes the SHA-256 hash of that entropy and takes the first ENT/32 bits of the hash as the checksum. Those bits are appended to the original entropy, and the combined bit string is sliced into 11-bit groups. Each group is a number from 0 to 2,047 that indexes one word in the fixed 2,048-word BIP39 list. The result is a phrase of 12, 15, 18, 21, or 24 words.

 

The checksum therefore occupies 4 bits for a 12-word phrase and 8 bits for a 24-word phrase. It is designed to detect accidental errors, not to add cryptographic security.

Why the last word is special

Every word except the last encodes exactly 11 bits of entropy. The last word is different: it encodes the remaining entropy bits plus all the checksum bits. Once the preceding words are fixed, only the remaining entropy bits in the last word can vary. Each possible value determines its checksum. That leaves only a small number of words that can legally occupy the final position.

Phrase lengthEntropy bitsChecksum bitsLast-word entropy bitsLast-word checksum bitsValid final words
12 words128474128 of 2,048
15 words16056564 of 2,048
18 words19265632 of 2,048
21 words22474716 of 2,048
24 words2568388 of 2,048

For a 12-word phrase, 128 out of 2,048 words are valid in the last position. For a 24-word phrase, only 8 are. This is why the last word feels constrained: it isn't freely chosen.

 

Here's what that means for error detection. A random wrong word in the last position will pass the checksum check about 1 in 16 times for a 12-word phrase (a 4-bit checksum has 16 possible values), and about 1 in 256 times for a 24-word phrase. Errors in any other position almost always fail because they alter the entropy, which in turn changes the expected checksum.

What the checksum catches and what it misses

The checksum is good at catching the most common accidents. Most single incorrect words invalidate a phrase. A misspelling that maps to another word in the list usually does, too. Swapping the order of two words likewise changes the bit sequence and normally causes rejection. Most wallets will refuse the phrase outright.

 

What it misses is more instructive. A random single-word error slips past the checksum about 1 in 16 times on a 12-word phrase and about 1 in 256 times on a 24-word phrase. The checksum also cannot tell you which word is wrong, only that something is. And it says nothing about the BIP39 passphrase: every passphrase is valid under the specification because it is applied after the checksum is verified. A typo in a passphrase opens a different wallet without any error.

 

One helpful design detail: the BIP39 word list is constructed so the first four letters uniquely identify every word. If you misread "abandon" as "abando", comparing the first four letters against the list points you straight to the correct word.

A valid checksum doesn't mean a safe seed phrase

This is the most important distinction in this article. A checksum is computed from whatever entropy the wallet used. If that entropy were weak, the resulting phrase would still pass validation perfectly.

 

Why entropy in key generation matters and how poor entropy still drains millions cover the full picture. The short version: wallet-generation flaws have produced valid-looking phrases with far too little randomness to withstand a search. A phrase can have a correct checksum and still be trivially guessable.

 

Exposure is a separate problem the checksum cannot see at all. A phrase may have been photographed during setup, typed into a website, stored in a cloud note, or seen by someone nearby. None of that leaves any trace in the checksum. Anyone who has a seed phrase controls the associated funds. The phrase is the master secret, not an ordinary backup note. A valid checksum confirms format. It confirms nothing about randomness, private storage, or safety.

Should you pick your own words and calculate the last one?

No. BIP39 is designed to encode algorithmically generated entropy, not user-created sentences. Human-chosen words have far lower entropy than a proper random source, and the BIP39 specification explicitly discourages using it as a brainwallet format.

 

Dice-based generation is a method some experts use to produce entropy offline without trusting a device's random number generator. It requires a fully offline, trusted computer, correct conversion of dice rolls into entropy, and careful handling of the final checksum calculation. It is not a beginner path.

 

Never enter real seed words or entropy into an online "last word calculator." The calculation requires your complete entropy, and any website that receives it has everything needed to derive your private key. Use an offline tool only, and only if you understand the full process.

How other backup formats check errors

BIP39 is not the only backup format, and the formats are not interchangeable.

FormatChecksum locationMethodMiss rate
BIP39Inside the last wordSHA-256 prefix (4-8 bits)~1 in 16 (12 words) to ~1 in 256 (24 words)
SLIP-39Last three words of each shareRS1024 Reed-Solomon over GF(1024)Below 1 in 10⁹
ElectrumHash prefix of the whole phraseHMAC-SHA512 version numberRejects non-matching versions

Shamir's Secret Sharing underlies SLIP-39. Each share is 20 words long, with the final three words forming an RS1024 checksum. Trezor describes this as giving approximately a one-in-a-billion chance of an undetected mistake, meaningfully stronger than BIP39's 4-bit or 8-bit check.

 

Electrum seeds use an entirely different mechanism: a version number derived from an HMAC-SHA512 hash of the phrase. It does not generate BIP39 seeds. Those phrases and SLIP-39 shares are format-incompatible with BIP39, so they cannot directly restore a BIP39 wallet.

"Invalid seed phrase": what to check

Getting an invalid seed phrase error is frustrating but usually fixable. Work through these checks in order.

  • Count the words first. BIP39 phrases have 12, 15, 18, 21, or 24 words. Any other count is immediately wrong.

     

  • Check each word against the BIP39 English list, offline. Look for near-twins: "cake", "cage", and "cave" are all valid BIP39 words and easy to confuse. The four-letter prefix rule helps here: compare the first four letters of each word to the list.

     

  • Check the order. Words written in columns are especially prone to being read in the wrong sequence.

     

  • Confirm the format. If the phrase came from Electrum or from a SLIP-39 share set, it will not import into a BIP39 wallet. The seed phrase import issues page in the Tangem Help Center lists typos, wrong order, and misspelled words as the most common causes of import failures and recommends comparing each word against the BIP39 list.

     

  • If the phrase is accepted but the balance is zero, the checksum is not the problem. Check the passphrase (a single-character difference opens a completely different wallet), the derivation path, and the address type. Those are outside the checksum's reach.

Where Tangem fits

By default, the Tangem Cold Wallet uses no seed phrase. The private key is generated within the card's or ring's secure element by a hardware True Random Number Generator, and the key is backed up to other Tangem devices via encrypted transfers between cards. There are no words to mistype, no checksum to fail, and no paper to lose.

 

Users who want a seed phrase can generate a 12- or 24-word BIP39 phrase through the Tangem app, or import an existing 12-, 15-, 18-, 21-, or 24-word phrase. How Tangem generates entropy explains what happens inside the chip. If you prefer to skip the seed phrase entirely, set up Tangem without a seed phrase; it walks you through that process.

 

If all backup cards are lost and no seed phrase was created, the funds cannot be recovered by Tangem or any other party.

Final thoughts

The seed phrase checksum is a format guard, not a security guarantee. It catches most typos and most word-order mistakes, which is genuinely useful. But a phrase with a correct checksum can still have been generated from weak randomness, or copied into a phone screenshot, or typed into a recovery website.

 

Understanding the limits of the checksum is the point. Protect the phrase itself: its generation, its storage, and its exposure history, because those are the things the checksum cannot see. If you want to eliminate the seed phrase risk surface entirely, Tangem's default seedless setup is worth a look. Brute-force attacks on seed phrases explain why that matters in practice.

 


This article is for information only and is not financial or security advice. Never share or type your recovery phrase into any website.

FAQ About Seed Phrase Checksums

  • A seed phrase checksum is a short error-detection value derived from the wallet's entropy. In BIP39, it is the first ENT/32 bits of the SHA-256 hash of the entropy, appended before the entropy is split into 11-bit word indices. It lets wallets detect most transcription errors during import.

  • Once the preceding words are fixed, only the remaining entropy bits in the last word can vary. Each possible value determines its checksum. The last word must encode both the remaining entropy bits and all checksum bits, so only the words whose 11-bit index matches that specific combination are valid: 128 words for a 12-word phrase, down to 8 words for a 24-word phrase.

  • No. The checksum can detect that the phrase contains an error, but it cannot identify which word is incorrect or suggest a correction. You must compare each word manually against the BIP39 list.

  • No. A valid checksum confirms only that the phrase is correctly formatted. It says nothing about the quality of the entropy used to generate it, whether the phrase has been exposed, or whether it has been stored securely.

  • Nothing at the checksum level. BIP39 passphrases are not covered by the mnemonic checksum, so any passphrase, including a typo, produces a valid derivation that opens a different wallet without any error message.

  • No. Calculating the last word requires your complete entropy. Entering real seed words or entropy into any website gives that site everything it needs to derive your private key. Use an offline tool only, on a device that has never been connected to the internet.

Author logo
Author Tangem team

We are a team of Tangem Wallet users dedicated to simplifying self-custody for everyone.

Author logo
Reviewed by Patrick Dike-Ndulue

Senior editor covering crypto, onchain equities, and technology.