65,535
65,535 is the highest possible port number, and the largest unsigned 16-bit integer.
- Odd
- Composite
Where 65,535 fits
Why 65,535 is special
65,535 is 2¹⁶ − 1: the ceiling of every 16-bit field, and therefore the last port a TCP or UDP connection can use. The same limit caps the maximum size of an IP packet and of a VLAN identifier's range, which is why the number turns up repeatedly in networking without ever being chosen.
Factors & digit properties
- Divisors (16)
- 1, 3, 5, 15, 17, 51, 85, 255, 257, 771, 1285, 3855, 4369, 13107, 21845, 65535
- Prime factorisation
- 3 × 5 × 17 × 257
- Digit sum
- 24
- Digital root
- 6
Representations
- Decimal
- 65535
- Binary
- 1111111111111111
- Octal
- 177777
- Hexadecimal
- ffff
- Scientific notation
- 6.554 × 10^4
Other mathematical patterns
- Deficient number
Related numbers & connections
65,535 is 2¹⁶ − 1 and therefore the largest value a sixteen-bit field can hold — the highest TCP port, the largest IP packet, the top of a VLAN range.
View 65536 →Other connections
- is associated with65536
why?
Strength 0.50, confidence "high".
Technology & computing
65,535 is 2¹⁶ − 1, so it caps anything stored in sixteen bits: the highest TCP or UDP port, the maximum size of an IP packet, the top of a VLAN range. None of these limits was chosen — they all follow from the same field width, which is why the number recurs without ever being decided.
DocumentedTechnology & computing
Common questions
Is 65,535 a prime number?
No, 65,535 is not prime.
What are the factors of 65,535?
The factors of 65,535 are 1, 3, 5, 15, 17, 51, 85, 255, 257, 771, 1285, 3855, 4369, 13107, 21845, 65535.
About this page's data
Mathematical facts:computed directly from the number's value — nothing to source or verify externally.
Contextual records: 1 reviewer-confirmed record, sourced and reviewed before publication.
Last reviewed: 3 August 2026