I already know that the maximum integers for ranges higher than 24-bit (16 777 216) will very likely exceed 1 000 000 000, so, what is the maximum **64 bit** integer? It is larger than 10 bilion?

Alek RichterBeginner

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Ten billion can be represented in 34 bits, never mind 64. The hexadecimal representation (in which each digit contains four bits) is 0x2540BE400.

The maximum (unsigned) 64-bit integer is 18446744073709551615. This is (2^64)-1, which is essentially the square of (2^32)-1, which is “about” 4 billion.

In general, you can estimate that every 10 bits represents 3 decimal digits. For 64 bits, that means a good estimate would be 16 (from the 4 leftover bits) followed by 18 zeroes (6*3). As you can see, this gets reasonably close to the true value.