13 in binary
13 in binary is 1101. In hexadecimal it is D and in octal 15.
13 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 13 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 1101.
- 3
Check by adding powers of 2: 8 + 4 + 1 = 13.
LaTeX source of the formulas on this page
\[ 13_{10} = 1101_{2} \]Dividing 13 by 2
| Number | Division | Remainder |
|---|---|---|
| 13 | 13 ÷ 2 = 6 | 1 |
| 6 | 6 ÷ 2 = 3 | 0 |
| 3 | 3 ÷ 2 = 1 | 1 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 13 in binary?
1101.
What is 13 in hexadecimal?
D.
What is 13 in octal?
15.
How many bits does 13 need?
4 bits.