Developer Tools · Networking & Digital Systems
VPN Tunnel (WireGuard / IPSec / VXLAN) MTU, TCP MSS & Goodput Calculator: inputs, method, and how to read the result
Compute fragmentation-free WireGuard/IPSec MTU and TCP MSS clamping values.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Physical Wan Mtu Bytes: Underlying WAN interface MTU in bytes (1500 Ethernet, 1492 PPPoE).
- Tunnel Encapsulation Overhead Bytes: Tunnel header overhead in bytes (60 WireGuard IPv4, 80 WireGuard IPv6, 73 IPSec).
- Tcp Ip Header Bytes: Inner IP + TCP header bytes (40 for IPv4, 60 for IPv6).
What the calculation includes
With the default values shown, Optimal Tunnel Interface MTU is 1,440 bytes. The calculation follows VPN MTU & TCP MSS Systems Engineering Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Physical Wan Mtu Bytes from 1,500 bytes to 1,650 bytes changes Optimal Tunnel Interface MTU from 1,440 bytes to 1,590 bytes. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses industry-standard IEEE, IETF RFC, and GPU/cloud hardware sizing conventions.
- Capacity planning estimate; benchmark under production traffic patterns before finalizing cluster or hardware procurement.
Scope: IEEE / IETF / Cloud Systems Engineering Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Developer Tools: API Token Cost Calculator, IPv4 CIDR Subnet, Password Entropy & URL/Base64 Encoding Calculator, Aspect Ratio, Image Dimensions & Storage Converter.