Calcoid

MTU Calculator

Compute the path MTU, TCP MSS, and L2/L3/L4 overhead for Ethernet, Wi-Fi, PPPoE, OpenVPN, WireGuard, IPsec, and LTE links. Includes the exact `ping -M do -s <N>` probe size for path-MTU discovery and a fragmentation warning when your payload is too large.

MTU calculator

Compared with the TCP MSS for the 1500-byte path MTU.

Path MTU

1,500 bytes

TCP MSS 1,460 bytes (IPV4)

Overhead breakdown

IP header
20 B
TCP header
20 B
UDP header
8 B
L2 framing
18 B

Probe size

ping payload
1472 B
Jumbo needed
No

ping -M do -s 1472 <host>

MTU and TCP MSS Reference

Link and IP versionMTUTCP MSS
Ethernet IPv41,500 bytes1,460 bytes
Ethernet IPv61,500 bytes1,440 bytes
PPPoE IPv41,492 bytes1,452 bytes
WireGuard IPv41,420 bytes1,380 bytes
LTE IPv61,428 bytes1,368 bytes

Frequently Asked Questions about the MTU Calculator

What is the difference between MTU and MSS?
MTU is the largest IP packet a link accepts without fragmentation. TCP MSS is the maximum TCP payload advertised for a connection. With minimum headers, MSS is MTU minus 40 bytes for IPv4 or 60 bytes for IPv6. IP or TCP options and encapsulation can reduce the available payload further.
Why is PPPoE's MTU 1492 instead of 1500?
PPPoE adds 8 bytes inside a standard 1500-byte Ethernet payload, leaving 1492 bytes for the IP packet unless the network supports a larger frame. Some broadband providers use PPPoE and others do not. Use the MTU specified by your provider or measured on the actual path.
Why is OpenVPN UDP's MTU larger than OpenVPN TCP's?
UDP has a smaller transport header than TCP, but an OpenVPN tunnel's usable payload also depends on IP version, cipher, authentication, options, and outer-path MTU. There is no universal 1462 or 1438 setting. Follow the VPN configuration and test the deployed path; avoid changing tunnel MTU from this estimate alone.
How do I measure the real path MTU with ping?
For IPv4, a do-not-fragment ICMP echo can test candidate packet sizes. A 1472-byte echo payload plus the minimum 20-byte IPv4 and 8-byte ICMP headers makes a 1500-byte packet. Results are inconclusive when a firewall filters ICMP, and IPv6 or tunneled paths use different overhead. Use platform documentation and packet capture when the simple probe disagrees with application traffic.
When do I actually need jumbo frames (9000 bytes)?
Jumbo frames can reduce packet-processing overhead on controlled storage or cluster networks, but the benefit depends on hardware and workload. Every interface and path segment must support a compatible MTU. Measure before enabling them, and do not assume a private jumbo-frame setting works across the public internet.

Related Calculators

More calculators in "Tech"

See all 98 calculators in "Tech"