← All Tools

MTU & Packet Overhead Calculator

Stack tunnel headers (VPN, IPSec, GRE, PPPoE, WireGuard…) on top of an Ethernet link and see how much payload survives. The calculator returns effective MTU, TCP MSS for v4 and v6, UDP payload, and warns about DF blackholes when the stack exceeds the path MTU.

Link & transport

Encapsulation stack

Headers add up from the outside in. Order doesn't change the byte total but reflects the wire layout.

Result

Link headroom Tunnel overhead Inner IP TCP Payload
0
Total overhead
0
Effective inner MTU
0
TCP MSS
0
UDP payload
0%
Payload efficiency
Fragmentation

Common header sizes

LayerBytesNotes
Ethernet II frame header14Excluding 4-byte FCS — MTU is the payload only.
802.1Q VLAN tag4One per stacked tag. QinQ adds 8.
IPv4 header20Up to 60 with options. DF flag inhibits fragmentation.
IPv6 header40Fixed; extension headers stack on top.
TCP header20Up to 60 with options (MSS, SACK, timestamps).
UDP header8Length and checksum.
PPPoE (header + PPP)86 PPPoE + 2 PPP. Common DSL constraint.
GRE4+4 with key, +4 with sequence, +4 with checksum.
IPSec ESP (tunnel, AES-GCM)~5820 outer IP + 8 SPI/seq + 8 IV + 16 ICV + 2-6 pad/next.
WireGuard6020 IP + 8 UDP + 32 WG (type+receiver+counter+poly1305).
OpenVPN (UDP, TLS)~6920 IP + 8 UDP + 41 OVPN (varies by cipher).
VXLAN5014 inner Ethernet + 8 VXLAN + 8 UDP + 20 IP.
6in4 / 4in620 or 40Just the outer IP header — no transport layer.
L2TP/IPSec~73L2TP(12) + UDP(8) + IPSec(~53).
Numbers are typical. Ciphers, options, and authentication algorithms vary by a few bytes — when in doubt, ping with -M do -s <size> to probe the real path MTU.