MTU & MSS Calculator
Use this tool to estimate effective MTU, TCP MSS, max UDP payload, and fragmentation impact for IPv4/IPv6 links.
What is MTU?
MTU stands for Maximum Transmission Unit. It is the largest packet size (in bytes) that can be sent on a network path without fragmentation at that layer. On many Ethernet networks, MTU is 1500 bytes by default. But the real-world value can be lower when PPPoE, VPN tunnels, VLAN tags, or other encapsulation methods are involved.
When packet size exceeds MTU, bad things can happen: fragmentation, retransmissions, poor throughput, and broken applications. That is why tuning MTU and MSS matters for reliability and speed.
How this MTU calculator helps
This calculator gives you practical values you can immediately use when tuning routers, firewalls, VPN clients, or servers:
- Effective MTU after subtracting tunnel/encapsulation overhead.
- TCP MSS estimate (helpful for MSS clamping and avoiding path issues).
- Maximum UDP payload before fragmentation.
- Ping payload limit for quick testing.
- Fragmentation estimate for oversized test packets.
MTU vs MSS (and why both matter)
MTU is a link/path packet limit. MSS (Maximum Segment Size) is the TCP data payload limit inside that packet. Basic rule:
MSS = MTU - IP Header - TCP Header
If your MSS is too large for the real path MTU, TCP sessions can degrade due to dropped packets or fragmentation. This is common with VPNs and mixed WAN environments.
Typical values at a glance
- Ethernet default MTU: 1500
- PPPoE often: 1492
- WireGuard often around: 1420 (depends on environment)
- IPsec deployments often: 1360–1420 effective MTU range
- Jumbo frames (LAN only, when fully supported): 9000
When should you adjust MTU?
Consider MTU tuning if you see these symptoms:
- Some websites load partially, then stall.
- VPN works for small requests but fails on large transfers.
- VoIP/video quality drops under load.
- High retransmissions despite decent latency.
- Cloud apps randomly timeout on specific networks.
Practical testing workflow
1) Start with known defaults
Set your initial MTU based on connection type (Ethernet, PPPoE, VPN profile).
2) Test real path behavior
Use ping with “do not fragment” behavior (where available) and adjust packet size downward until it passes reliably.
Windows example: ping 8.8.8.8 -f -l 1472
Linux example: ping -M do -s 1472 8.8.8.8
The 1472 payload is commonly used with Ethernet 1500 because 1472 + 28 bytes (IPv4 + ICMP headers) = 1500.
3) Apply MSS clamping where needed
If you control firewalls/edge routers, MSS clamping can reduce TCP issues on variable paths. A common practice is to clamp MSS to a safe value slightly below calculated maximum.
4) Re-test application performance
After MTU/MSS changes, test normal workloads: browser uploads, VPN sessions, file transfer, VoIP calls, and remote desktop traffic.
IPv4 vs IPv6 fragmentation behavior
IPv4 routers can fragment packets in transit (though this is often undesirable). IPv6 routers do not fragment transit packets; endpoints must perform path MTU discovery and send correctly sized packets. That makes correct MTU and PMTUD behavior even more important in IPv6 environments.
Final tips
- Lower MTU too much and you lose efficiency (more packets, more overhead).
- Set MTU too high and you risk drops/fragmentation.
- For tunnels, always account for encapsulation overhead.
- Document final values so future troubleshooting is faster.
If you are debugging unstable connections, this MTU calculator gives you a fast, practical starting point before deep packet inspection.