512 in Binary
Decimal 512 equals 1000000000 in binary.
512 in all number bases
Decimal512
Hexadecimal0x200
Binary0010 0000 0000
Octal1000
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
512Hex
0x200Binary
0b1000000000Octal
0o1000How 512 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
512÷ 2 =256remainder0
256÷ 2 =128remainder0
128÷ 2 =64remainder0
64÷ 2 =32remainder0
32÷ 2 =16remainder0
16÷ 2 =8remainder0
8÷ 2 =4remainder0
4÷ 2 =2remainder0
2÷ 2 =1remainder0
1÷ 2 =0remainder1
Result (remainders bottom to top): 1000000000
This tool runs entirely in your browser - nothing you enter is uploaded or stored.