You have zero knowledge about the layers below HTTP. You can't even assume the htTP request will be delivered over TCP/IP. Even if it is, you have zero knowledge about the overhead added by the network layer. Or what the reliability of the route will be and what overhead will be due to dropped/resent packets.
Update: Based on your comment, here are some back-of-the-napkin estimates:
The maximum segment size (which does not include the TCP or IP headers) is typically negotiated between the layers to the size of the MTU minus the headers size. For Ethernet MTU is usually configured at 1500 bytes. The TCP header is 160 bits, or 20 bytes. The fixed part of the IPv4 header is 160 bits, or 20 bytes as well. The fixed part of the IPv6 header is 320 bits, or 40 bytes. Thus:
overhead = TCP + IP = 40 bytes
payload = 1500 - 40 = 1460 bytes
overhead % = 2% (40 * 100 / 1460)
overhead = TCP + IP = 60 bytes
payload = 1500 - 40 = 1420 bytes
overhead % = 4% (60 * 100 / 1440)
Here are the assumptions:
- Amazon counts the NIC payload without the Ethernet headers, not the whole NIC packet
- your HTTP responses are fully utilizing the TCP/IP packet - your typical page size + HTTP headers results in one or more full TCP/IP packets and one with more than 50% used payload
- you set explicit expiration date on cached content to minimize 302 response :-)
- you avoid redirects or your URLs are long enough to fill the payload :-)