MTU / MSS Calculator
Compute the effective MSS from the MTU: subtract the IP header, the TCP header and the overhead of every encapsulation you tick. You will see the byte-by-byte breakdown (MTU − each component).
Byte-by-byte breakdown
| Component | Bytes | Running total |
|---|
How it is calculated · MTU, MSS and overhead
1. The MTU is the largest IP
packet that fits in a frame. The MSS is the largest block of
TCP data per segment.
2. MSS = MTU − IP header − TCP header − encapsulation overhead.
3. Headers: IPv4 = 20 B,
IPv6 = 40 B, TCP = 20 B (+12 B with timestamps).
4. Encapsulation (B): VLAN 4, QinQ 8,
PPPoE 8, MPLS 4/label, GRE 24,
IPsec ESP tunnel ~73, VXLAN 50, WireGuard 60.
5. Example: 1500 − 20 − 20 = 1460;
with PPPoE 1500 − 8 − 20 − 20 = 1452.
Runs locally in your browser · no sign-up · nothing leaves your browser.