2504 in binary
2504 in binary is 100111001000. In hexadecimal it is 9C8 and in octal 4710.
2504 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 2504 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 100111001000.
- 3
Check by adding powers of 2: 2048 + 256 + 128 + 64 + 8 = 2504.
LaTeX source of the formulas on this page
\[ 2504_{10} = 100111001000_{2} \]Dividing 2504 by 2
| Number | Division | Remainder |
|---|---|---|
| 2504 | 2504 ÷ 2 = 1252 | 0 |
| 1252 | 1252 ÷ 2 = 626 | 0 |
| 626 | 626 ÷ 2 = 313 | 0 |
| 313 | 313 ÷ 2 = 156 | 1 |
| 156 | 156 ÷ 2 = 78 | 0 |
| 78 | 78 ÷ 2 = 39 | 0 |
| 39 | 39 ÷ 2 = 19 | 1 |
| 19 | 19 ÷ 2 = 9 | 1 |
| 9 | 9 ÷ 2 = 4 | 1 |
| 4 | 4 ÷ 2 = 2 | 0 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 2504 in binary?
100111001000.
What is 2504 in hexadecimal?
9C8.
What is 2504 in octal?
4710.
How many bits does 2504 need?
12 bits.