32767 in Binary
Decimal 32767 equals 111111111111111 in binary.
Why this number matters: 32767 is the maximum value of a signed 16-bit integer (int16), 2¹⁵ - 1.
32767 in all number bases
Decimal32767
Hexadecimal0x7FFF
Binary0111 1111 1111 1111
Octal77777
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
32767Hex
0x7FFFBinary
0b111111111111111Octal
0o77777How 32767 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
32767÷ 2 =16383remainder1
16383÷ 2 =8191remainder1
8191÷ 2 =4095remainder1
4095÷ 2 =2047remainder1
2047÷ 2 =1023remainder1
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): 111111111111111
This tool runs entirely in your browser - nothing you enter is uploaded or stored.