16,777,216 in binary
16,777,216 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 1000000000000000000000000 is 16,777,216.
Converting 16,777,216 to hexadecimal
The same way, dividing by 16, with remainders of 10 to 15 written as A to F. Reading up gives 1000000. Or split the binary into groups of four from the right (1 0000 0000 0000 0000 0000 0000) and write each group as one hex digit.
| Divide | Answer | Remainder |
|---|---|---|
| 16,777,216 ÷ 16 | 1,048,576 | 0 |
| 1,048,576 ÷ 16 | 65,536 | 0 |
| 65,536 ÷ 16 | 4,096 | 0 |
| 4,096 ÷ 16 | 256 | 0 |
| 256 ÷ 16 | 16 | 0 |
| 16 ÷ 16 | 1 | 0 |
| 1 ÷ 16 | 0 | 1 |
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 16,777,216 in binary?
1000000000000000000000000 (1 0000 0000 0000 0000 0000 0000 in groups of four). It needs 25 bits.
What is 16,777,216 in hexadecimal?
1000000, often written 0x1000000.
What is 16,777,216 in octal?
100000000.
What is 1000000000000000000000000 in decimal?
16,777,216: add the place values where there's a 1, 16,777,216.
Why is 16,777,216 a round number in binary?
It's a power of two, 2 to the power 24, so in binary it's a 1 followed by 24 zeros.
65,535 in binary 65,536 in binary 100,000 in binary 1,000,000 in binary 16,777,215 in binary 2,147,483,647 in binary 4,294,967,295 in binary 4,294,967,296 in binary