Number 1020 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 1,020 in binary?

Answer

Decimal number 1,020 in binary is
1111111100

10 bits: 8 ones, 2 zeros · as 2 bytes: 0000 0011 1111 1100

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

Divide by 2, keep the remainder
divisionquotientremainder
1,020 ÷ 25100
510 ÷ 22550
255 ÷ 21271
… 4 more steps (all 10)
127 ÷ 2631
63 ÷ 2311
31 ÷ 2151
15 ÷ 271
7 ÷ 231
3 ÷ 211
1 ÷ 201

↑ Read the remainders from bottom to top: 1111111100

See Also

Dec to Bin Conversion Table

FAQ

What is number 1,020 in binary?

Decimal number 1,020 in binary is 1111111100

How many ones and zeros are in 1,020 in binary?

1111111100 has 10 bits: 8 ones and 2 zeros. As 2 bytes it is written 0000 0011 1111 1100.

What is 1,020 in hexadecimal?

1,020 in hexadecimal is 3FC (0x3FC): each hex digit stands for 4 bits — 0011 = 3, 1111 = F, 1100 = C.