Number 9 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 9 in binary?

Answer

Decimal number 9 in binary is
1001

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

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
9 ÷ 241
4 ÷ 220
2 ÷ 210
1 ÷ 201

↑ Read the remainders from bottom to top: 1001

See Also

FAQ

What is number 9 in binary?

Decimal number 9 in binary is 1001

How many ones and zeros are in 9 in binary?

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

What is 9 in hexadecimal?

9 in hexadecimal is 9 (0x9): each hex digit stands for 4 bits — 1001 = 9.