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