Networking

Tunnel MTU & Inner TCP MSS Budget Calculator

Subtract explicit encapsulation layers to estimate an inner IP MTU and TCP payload limit.

How the calculation works

Available inner IP MTU = outer_mtu-outer_ip-transport-tunnel bytes. Inner TCP maximum payload = outer_mtu-outer_ip-transport-tunnel-inner_ip-inner_tcp bytes.

Worked example

Example inputs — Outer path IP MTU (bytes): 1500; Outer IP header (bytes): 20; Outer transport header (bytes): 8; Tunnel, authentication and padding allowance (bytes): 32; Inner IP header (bytes): 20; Inner TCP header (bytes): 20. Expected results — Available inner IP MTU: 1440 bytes; Inner TCP maximum payload: 1400 bytes.

Assumptions and limits

Offline planning arithmetic: this calculator sends no packets and changes no device configuration. Actual routing, reservations, implementation limits and measured network conditions must be checked separately. A byte budget, not live path-MTU discovery or a protocol-specific configuration. Options, padding, nested tunnels and varying authentication overhead must be entered correctly.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.