Number 321 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 321 in binary?

Answer

Decimal number 321 in binary is
101000001

9 bits: 3 ones, 6 zeros · as 2 bytes: 0000 0001 0100 0001

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

Divide by 2, keep the remainder
divisionquotientremainder
321 ÷ 21601
160 ÷ 2800
80 ÷ 2400
… 3 more steps (all 9)
40 ÷ 2200
20 ÷ 2100
10 ÷ 250
5 ÷ 221
2 ÷ 210
1 ÷ 201

↑ Read the remainders from bottom to top: 101000001

See Also

FAQ

What is number 321 in binary?

Decimal number 321 in binary is 101000001

How many ones and zeros are in 321 in binary?

101000001 has 9 bits: 3 ones and 6 zeros. As 2 bytes it is written 0000 0001 0100 0001.

What is 321 in hexadecimal?

321 in hexadecimal is 141 (0x141): each hex digit stands for 4 bits — 0001 = 1, 0100 = 4, 0001 = 1.