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