What is 23 in binary?
23₁₀ converted to binary is 10111₂. The complete working for this exact number is below — or type a different number into the decimal to binary converter and watch it happen live.
Try it yourself — instant converter
See the steps for your number
How to convert 23 to binary, step by step
Keep dividing 23 by 2 and writing down each remainder. The remainders, read in reverse, are the answer.
| Number | ÷ 2 | Quotient | Remainder |
|---|---|---|---|
| 23 | 2 | 11 | 1 |
| 11 | 2 | 5 | 1 |
| 5 | 2 | 2 | 1 |
| 2 | 2 | 1 | 0 |
| 1 | 2 | 0 | 1 |
Reading the remainder column from the bottom up gives 10111, so 23₁₀ = 10111₂. Check it back: 16 + 4 + 2 + 1 = 23 — the 1 bits add up to 23.
In short: 23 ÷ 2 = 11 r 1 → 11 ÷ 2 = 5 r 1 → 5 ÷ 2 = 2 r 1 → 2 ÷ 2 = 1 r 0 → 1 ÷ 2 = 0 r 1 → read bottom-up: 10111₂
Frequently asked questions
How do you write 23 in binary?
Divide 23 by 2 over and over, noting each remainder: 23 ÷ 2 = 11 r1, 11 ÷ 2 = 5 r1, 5 ÷ 2 = 2 r1, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1. Reading the remainders from last to first gives 10111, so 23₁₀ = 10111₂.
How long is 23 in binary?
23 in binary is 10111, which is 5 bits long. It ends in 1 because 23 is odd — the last bit of any binary number tells you odd (1) or even (0).
Keep converting
← 22 in binary · 24 in binary →
Popular values
10 in binary · 25 in binary · 42 in binary · 50 in binary · 100 in binary · 255 in binary