Break an HTTP response into payload and protocol overhead.
The bytes on the wire exceed the response body because headers and protocol framing ride along. For small responses the overhead can exceed the payload itself. This is why batching many tiny API calls into one request reduces total transfer far more than the payload arithmetic suggests.
HTTP Payload Size
Transfer = (compressed body + headers) × (1 + framing overhead)
Transfer = (compressed body + headers) × (1 + framing overhead) The bytes on the wire exceed the response body because headers and protocol framing ride along. For small responses the overhead can exceed the payload itself.
This is why batching many tiny API calls into one request reduces total transfer far more than the payload arithmetic suggests.
This calculator takes 4 inputs: Response body size, Response header size, Body compression saving, TCP and TLS framing overhead. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.