What is 12 in binary?
12₁₀ converted to binary is 1100₂. 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 12 to binary, step by step
Keep dividing 12 by 2 and writing down each remainder. The remainders, read in reverse, are the answer.
| Number | ÷ 2 | Quotient | Remainder |
|---|---|---|---|
| 12 | 2 | 6 | 0 |
| 6 | 2 | 3 | 0 |
| 3 | 2 | 1 | 1 |
| 1 | 2 | 0 | 1 |
Reading the remainder column from the bottom up gives 1100, so 12₁₀ = 1100₂. Check it back: 8 + 4 = 12 — the 1 bits add up to 12.
In short: 12 ÷ 2 = 6 r 0 → 6 ÷ 2 = 3 r 0 → 3 ÷ 2 = 1 r 1 → 1 ÷ 2 = 0 r 1 → read bottom-up: 1100₂
Frequently asked questions
How do you write 12 in binary?
Divide 12 by 2 over and over, noting each remainder: 12 ÷ 2 = 6 r0, 6 ÷ 2 = 3 r0, 3 ÷ 2 = 1 r1, 1 ÷ 2 = 0 r1. Reading the remainders from last to first gives 1100, so 12₁₀ = 1100₂.
How long is 12 in binary?
12 in binary is 1100, which is 4 bits long. It ends in 0 because 12 is even — the last bit of any binary number tells you odd (1) or even (0).
Keep converting
← 11 in binary · 13 in binary →
Popular values
10 in binary · 25 in binary · 42 in binary · 50 in binary · 100 in binary · 255 in binary