MSS from MTU: TCP Maximum Segment Size
Subtracts the IP and TCP headers from a link MTU, 40 bytes on IPv4 and 60 on IPv6, so 1500 leaves 1460 and 1440 bytes of payload per segment.
MSS
โ
MSS from MTU: the largest TCP segment that fits
The MSS (Maximum Segment Size) is the biggest chunk of TCP payload you can fit in one IP packet without it fragmenting: MSS = MTU โ IP header โ TCP header. With plain IPv4 + TCP that works out to MTU โ 40, which is why a 1500 B Ethernet MTU lands on the familiar MSS = 1460. Over IPv6 you subtract 60 instead (the 40 B IPv6 header plus 20 B of TCP), so the same link gives you 1440. Each end advertises its MSS during the SYN handshake using the MSS option, and the connection settles on whichever value is smaller. When the path is asymmetric, you'll see MSS Clamping set up on routers (mss-clamp-to-pmtu in Linux/iptables). PPPoE and VPN gateways lean on it a lot, forcing a smaller MSS so PMTUD doesn't get black-holed.
Applications: PMTUD, VPN tunnels and troubleshooting
It comes up when you set MSS clamping on PPPoE (usually 1452) or on IPSec/WireGuard tunnels (usually 1360โ1400). It's also how you track down that "page loads halfway then hangs" symptom, which is almost always a PMTU black hole, and it feeds the maximum throughput per RTT in TCP performance modelling.
FAQ
What is the default MSS on Ethernet? 1460 bytes for IPv4 and 1440 for IPv6, assuming a 1500 B MTU with no extra options in play.
Difference between MTU and MSS? MTU lives at L2/L3 and covers the whole packet. MSS is an L4 thing: just the TCP payload, with the IP and TCP headers left out.
Why clamp MSS at all? If something along the path filters the ICMP "Fragmentation Needed" message, PMTUD quietly breaks. Clamping at the source sidesteps that by keeping segments small enough to get through the tunnel in the first place.
Related Tools
TCP MSS from MTU Calculator
Estimates TCP MSS from link MTU, subtracting IP and TCP headers.
BR Bra Size from Bust and Underbust
Calculates BR bra band number and cup letter from bust and underbust in centimeters.
VXLAN Overhead Calculator
Computes effective payload MTU on VXLAN by subtracting outer Ethernet, IP, UDP and VXLAN headers.
pKa and pKb from Constants
Converts Ka and Kb constants to pKa and pKb and checks pKa + pKb = 14 at 25 Celsius.
HTTP/3 QUIC Overhead Calculator
Computes useful HTTP/3 payload over QUIC, subtracting UDP, QUIC and TLS overhead.
pH from [H+] Calculator
Calculate the pH of a solution from the molar concentration of Hโบ ions, using pH = โlogโโ[Hโบ]. Find out whether the solution is acidic, neutral or basic.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.