MSS is the largest TCP payload per segment: MTU minus the IP header (20 bytes for IPv4, 40 for IPv6) minus the TCP header (20 bytes) minus any TCP options. A 1500-byte MTU therefore gives an MSS of 1460 over IPv4 and 1440 over IPv6.
Path MTU Discovery relies on ICMP "fragmentation needed" (IPv4) and "packet too big" (IPv6) messages. When a firewall drops them the connection black-holes, which is why clamping MSS on the tunnel edge is the common fix.
Overheads shown are typical values; ESP padding and OpenVPN cipher choices change the exact figure, so the calculator uses a conservative number.