Number 10 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 10 in binary?

Answer

Decimal number 10 in binary is
1010

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

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

10 has only 0s and 1s. If it is already binary, its decimal value is 2.

10 in decimal → 2
Divide by 2, keep the remainder
divisionquotientremainder
10 ÷ 250
5 ÷ 221
2 ÷ 210
1 ÷ 201

↑ Read the remainders from bottom to top: 1010

See Also

FAQ

What is number 10 in binary?

Decimal number 10 in binary is 1010

How many ones and zeros are in 10 in binary?

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

What is 10 in hexadecimal?

10 in hexadecimal is A (0xA): each hex digit stands for 4 bits — 1010 = A.