Number 512 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 512 in binary?

Answer

Decimal number 512 in binary is
1000000000

10 bits: 1 one, 9 zeros · as 2 bytes: 0000 0010 0000 0000

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
512 ÷ 22560
256 ÷ 21280
128 ÷ 2640
… 4 more steps (all 10)
64 ÷ 2320
32 ÷ 2160
16 ÷ 280
8 ÷ 240
4 ÷ 220
2 ÷ 210
1 ÷ 201

↑ Read the remainders from bottom to top: 1000000000

See Also

FAQ

What is number 512 in binary?

Decimal number 512 in binary is 1000000000

How many ones and zeros are in 512 in binary?

1000000000 has 10 bits: 1 one and 9 zeros. As 2 bytes it is written 0000 0010 0000 0000.

What is 512 in hexadecimal?

512 in hexadecimal is 200 (0x200): each hex digit stands for 4 bits — 0010 = 2, 0000 = 0, 0000 = 0.