The below table visualizes how the decimal number 40000 equals the binary number 1001110001000000.
1 | × | 215 | = | 32768 | |
+ | 0 | × | 214 | = | 0 |
+ | 0 | × | 213 | = | 0 |
+ | 1 | × | 212 | = | 4096 |
+ | 1 | × | 211 | = | 2048 |
+ | 1 | × | 210 | = | 1024 |
+ | 0 | × | 29 | = | 0 |
+ | 0 | × | 28 | = | 0 |
+ | 0 | × | 27 | = | 0 |
+ | 1 | × | 26 | = | 64 |
+ | 0 | × | 25 | = | 0 |
+ | 0 | × | 24 | = | 0 |
+ | 0 | × | 23 | = | 0 |
+ | 0 | × | 22 | = | 0 |
+ | 0 | × | 21 | = | 0 |
+ | 0 | × | 20 | = | 0 |
= | 40000 |
Binary numbers are a positional numeral system with the base (or "radix") 2. This means that binary digit (or "bit") only has two states: 1 and 0. As a result, binary numbers are well suited for electronic circuits since they can be represented as ON or OFF states, and they're therefore used as the fundamental data format in computers. A collection of 8 bits is commonly referred to as Byte. There are 28 different combinations of bits in a byte, and it can therefore be used to represent integers between 0 and 255. To represent one quadrillion (the largest number supported on integers.info), a total of 50 bits are required.