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