How is bandwidth calculated?

How is bandwidth calculated?

The bandwidth we bill for is the sum of data transmitted to and from the target site, including request headers, request data, response headers, and response data.