505 in binary
505 in binary is 111111001. In hexadecimal it is 1F9 and in octal 771.
505 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 505 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 111111001.
- 3
Check by adding powers of 2: 256 + 128 + 64 + 32 + 16 + 8 + 1 = 505.
LaTeX source of the formulas on this page
\[ 505_{10} = 111111001_{2} \]Dividing 505 by 2
| Number | Division | Remainder |
|---|---|---|
| 505 | 505 ÷ 2 = 252 | 1 |
| 252 | 252 ÷ 2 = 126 | 0 |
| 126 | 126 ÷ 2 = 63 | 0 |
| 63 | 63 ÷ 2 = 31 | 1 |
| 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 505 in binary?
111111001.
What is 505 in hexadecimal?
1F9.
What is 505 in octal?
771.
How many bits does 505 need?
9 bits.