ITEngineeringTools

TCP MSS and MTU Calculator

Calculate IPv4 or IPv6 TCP MSS and effective payload after encapsulation and additional packet headers.

Input

Result

How it works

Subtract encapsulation from the outer path MTU to obtain the inner IP budget. The advertised MSS uses fixed IP and TCP headers. The effective packet payload then subtracts the extra per-packet header bytes you supply.

Formula

MSS = inner MTU − fixed IP header − 20 bytes. Payload = MSS − extra header bytes.

Practical examples

Standard IPv4 Ethernet

Outer path MTU (bytes): 1500
IP version: IPv4
Encapsulation overhead (bytes): 0
Extra header options (bytes): 0

Advertised MSS: 1460 bytes

IPv6 with TCP options

Outer path MTU (bytes): 1500
IP version: IPv6
Encapsulation overhead (bytes): 0
Extra header options (bytes): 12

Effective payload: 1428 bytes

IPv4 carried through a tunnel

Outer path MTU (bytes): 1500
IP version: IPv4
Encapsulation overhead (bytes): 80
Extra header options (bytes): 0

Inner IP MTU: 1420 bytes

Technical references