Skip to content

32767 in Hexadecimal

Decimal 32767 equals 0x7FFF in hexadecimal.

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:
Decimal32767
Hex0x7FFF
Binary0b111111111111111
Octal0o77777

How 32767 converts from decimal to hexadecimal

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

32767÷ 16 =2047remainder15 → F
2047÷ 16 =127remainder15 → F
127÷ 16 =7remainder15 → F
7÷ 16 =0remainder7

Result (remainders bottom to top): 7FFF

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 Hexadecimal - the full step-by-step guide.