Skip to content

FFFF in Decimal

Hexadecimal FFFF equals 65535 in decimal.

Why this number matters: 65535 is the maximum unsigned 16-bit value (0xFFFF) and the highest TCP/UDP port number.

FFFF in all number bases

Decimal65535
Hexadecimal0xFFFF
Binary1111 1111 1111 1111
Octal177777

How ffff converts from hexadecimal to decimal

Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:

F× 163 = 15 × 4096 = 61440
F× 162 = 15 × 256 = 3840
F× 161 = 15 × 16 = 240
F× 160 = 15 × 1 = 15

Sum: 65535