1

As I understand for BIP32. There are 2048 words.

12 words would give you 2048^12 combinations. However, not all combinations are valid because of the checksum, so how do i calculate the actual space?

3

BIP 32 is not a mnemonic specification, so it has 0 possible combinations.

I assume you are talking about BIP 39. In that case there are are 2048^12 combinations for 12 word mnemonics, 2048^18 for 18 word mnemonics, and 2048^24 for 24 word mnemonics. However BIP 39 currently supports 8 languages, so there are (2048^12 + 2048^18 + 2048^24)*8 possible combinations.

The checksum doesn't matter because BIP 39 does not specify that the checksum must be enforced. The checksum can be invalid, and all that BIP 39 compliant software should do is show a warning.

  • Thank you for the response. I understand that there are 2048^12 combinations. Is there a way to know what combinations are invalid out of that space according to the checksum? Thanks for the correction on the BIP. – Kyle Graham Mar 3 '18 at 16:19
  • For a 12 word mnemonic, there are 2048^11*2048^(11-4) valid combinations, for 18 it's 2048^11*2048^(11-6) and for 24 it's 2048^11*2048^(11-8) – Andrew Chow Mar 3 '18 at 16:35
  • I'm not sure I follow. Is the 12 word mnemonic just for one language? – Kyle Graham Mar 3 '18 at 16:40
  • Yes. All are for one language. Multiply by 8 for all combinations with all current BIP 39 wordlists. – Andrew Chow Mar 3 '18 at 16:44
  • So all possible combinations for 12 words is 2048^12 and for just valid words it is 2048^11*2048^(11-4) which is equal to 2048^18 , I think I am missing something as there seems to be more valid combinations than there are combinations – Kyle Graham Mar 3 '18 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.