502 in binary
502 in binary is 111110110. In hexadecimal it is 1F6 and in octal 766.
502 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 502 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 111110110.
- 3
Check by adding powers of 2: 256 + 128 + 64 + 32 + 16 + 4 + 2 = 502.
LaTeX source of the formulas on this page
\[ 502_{10} = 111110110_{2} \]Dividing 502 by 2
| Number | Division | Remainder |
|---|---|---|
| 502 | 502 ÷ 2 = 251 | 0 |
| 251 | 251 ÷ 2 = 125 | 1 |
| 125 | 125 ÷ 2 = 62 | 1 |
| 62 | 62 ÷ 2 = 31 | 0 |
| 31 | 31 ÷ 2 = 15 | 1 |
| 15 | 15 ÷ 2 = 7 | 1 |
| 7 | 7 ÷ 2 = 3 | 1 |
| 3 | 3 ÷ 2 = 1 | 1 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 502 in binary?
111110110.
What is 502 in hexadecimal?
1F6.
What is 502 in octal?
766.
How many bits does 502 need?
9 bits.