MTU Calculator by Tunnel Encapsulation
Subtracts tunnel overhead from a base MTU of 1500 bytes: PPPoE 8, GRE 24, VXLAN 50, IPsec 56. Returns the effective size to set on the link.
MTU efetiva
—
MTU overhead: how much payload survives the headers
The MTU (Maximum Transmission Unit) is the largest L2 frame a link can carry, and standard Ethernet sets it at 1500 bytes. Every packet stacks up Ethernet (14 B) + IPv4 (20 B) + TCP (20 B) = 54 B of headers. That leaves 1446 bytes for payload, roughly 96.4% efficiency. Go to jumbo frames at 9000 B and efficiency climbs past 99%, which is why you find them in data centers and on NAS boxes running iSCSI/NFS. Tunnels chip away at the MTU. PPPoE takes 8 B (you're left with 1492), GRE takes 24 B, VXLAN 50 B, and IPSec anywhere from 50 to 100 B depending on the mode. If a packet is bigger than the path MTU and the Don't Fragment bit is set, the router answers with an ICMP "Fragmentation Needed" message. That's the whole basis of Path MTU Discovery (PMTUD).
Applications: VPNs, data centers and PMTUD
It helps you size VPN MTU (WireGuard, OpenVPN, IPSec) so packets stop fragmenting, turn on jumbo frames in storage networks (Ceph, vSAN), track down black-holed connections when ICMP gets filtered and PMTUD breaks, and tune data-center fabrics where east-west traffic usually runs at 9216 B.
FAQ
Why 1500 bytes? It comes straight from the 1980 Ethernet spec, where it balanced latency against error rate and efficiency on coaxial CSMA/CD.
Can I just enable jumbo frames everywhere? Only when every device on the L2 segment agrees on the same MTU. A single switch port that doesn't match will drop packets silently.
VPN slow on some sites? That smells like a PMTU black hole. Drop the VPN MTU (1400 is a safe default) or turn on MSS clamping at the gateway.
Related Tools
TCP MSS from MTU Calculator
Estimates TCP MSS from link MTU, subtracting IP and TCP headers.
VXLAN Overhead Calculator
Computes effective payload MTU on VXLAN by subtracting outer Ethernet, IP, UDP and VXLAN headers.
HTTP/3 QUIC Overhead Calculator
Computes useful HTTP/3 payload over QUIC, subtracting UDP, QUIC and TLS overhead.
MPLS Label Stack Overhead Calculator
Computes byte overhead of a stacked MPLS label set added to an IP packet.
HTTP/2 Multiplex Streams Calculator
Estimates how many HTTP/2 streams fit per window from MTU and average frame size.
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.
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.