1,000,000 in binary
1,000,000 in binary, hexadecimal and octal, and how to work it out.
Checking it: each binary digit is worth twice the one to its right, so 11110100001001000000 is 524,288 + 262,144 + 131,072 + 65,536 + 16,384 + 512 + 64 = 1,000,000.
Converting 1,000,000 to hexadecimal
The same way, dividing by 16, with remainders of 10 to 15 written as A to F. Reading up gives F4240. Or split the binary into groups of four from the right (1111 0100 0010 0100 0000) and write each group as one hex digit.
| Divide | Answer | Remainder |
|---|---|---|
| 1,000,000 ÷ 16 | 62,500 | 0 |
| 62,500 ÷ 16 | 3,906 | 4 |
| 3,906 ÷ 16 | 244 | 2 |
| 244 ÷ 16 | 15 | 4 |
| 15 ÷ 16 | 0 | 15 = F |
Whole numbers of any size. Prefixes like 0b, 0o and 0x, and spaces between digits, are ignored. Bases above 10 use the letters A to Z as digits.
Frequently asked questions
What is 1,000,000 in binary?
11110100001001000000 (1111 0100 0010 0100 0000 in groups of four). It needs 20 bits.
What is 1,000,000 in hexadecimal?
F4240, often written 0xF4240.
What is 1,000,000 in octal?
3641100.
What is 11110100001001000000 in decimal?
1,000,000: add the place values where there's a 1, 524,288 + 262,144 + 131,072 + 65,536 + 16,384 + 512 + 64 = 1,000,000.
32,767 in binary 32,768 in binary 65,535 in binary 65,536 in binary 100,000 in binary 16,777,215 in binary 16,777,216 in binary 2,147,483,647 in binary 4,294,967,295 in binary 4,294,967,296 in binary