Skip to content

1023 in Binary

Decimal 1023 equals 1111111111 in binary.

Why this number matters: 1023 is 2¹⁰ - 1, the largest 10-bit value, and the highest privileged TCP/UDP port number.

1023 in all number bases

Decimal1023
Hexadecimal0x3FF
Binary0011 1111 1111
Octal1777

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal1023
Hex0x3FF
Binary0b1111111111
Octal0o1777

How 1023 converts from decimal to binary

Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:

1023÷ 2 =511remainder1
511÷ 2 =255remainder1
255÷ 2 =127remainder1
127÷ 2 =63remainder1
63÷ 2 =31remainder1
31÷ 2 =15remainder1
15÷ 2 =7remainder1
7÷ 2 =3remainder1
3÷ 2 =1remainder1
1÷ 2 =0remainder1

Result (remainders bottom to top): 1111111111

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Decimal to Binary - the full step-by-step guide.