TCP peers negotiate MSS during the three-way handshake. For Ethernet with MTU 1500, MSS is usually 1460 (1500 − 20 IP − 20 TCP).
Middleboxes sometimes "clamp" MSS to a smaller value to fit downstream tunnels that have lower MTU — a technique called MSS clamping.
See also
