How to calculate
Multiply the bit rate by the round trip time in seconds. Divide by eight to convert bits to bytes. Round up to estimate the whole-byte window needed to hold that amount in flight.
Worked example
Use Bandwidth 100 · Bandwidth unit Mbps · Round trip time (ms) 40. The result is 500000 B.
Input and result notes
Use round trip time for a TCP window estimate. Protocol overhead and congestion can affect measured throughput.
IETF RFC 6349 on TCP throughput