Number 12 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 12 in binary?

Answer

Decimal number 12 in binary is
1100

4 bits: 2 ones, 2 zeros · as a byte: 0000 1100

Base 2, unsigned: each place is worth a power of 2 — from 2³ = 8 on the left to 2⁰ = 1 on the right.

Divide by 2, keep the remainder
divisionquotientremainder
12 ÷ 260
6 ÷ 230
3 ÷ 211
1 ÷ 201

↑ Read the remainders from bottom to top: 1100

See Also

FAQ

What is number 12 in binary?

Decimal number 12 in binary is 1100

How many ones and zeros are in 12 in binary?

1100 has 4 bits: 2 ones and 2 zeros. As a byte it is written 0000 1100.

What is 12 in hexadecimal?

12 in hexadecimal is C (0xC): each hex digit stands for 4 bits — 1100 = C.