Tech & Digital
Bandwidth-Delay Product and TCP Window Calculator
Find out why fast connections can be slow over long distances. The bandwidth-delay product, or BDP, is the amount of data that can be in flight on a network link at any moment: the link’s bandwidth multiplied by the round-trip time, the time it takes for a packet to reach the other end and an acknowledgement to come back. Protocols such as TCP can only send a limited amount of unacknowledged data, set by the window size; once that much is in flight, the sender must wait for acknowledgements before sending more. If the window is smaller than the bandwidth-delay product, the sender spends part of every round trip waiting, and throughput is capped at the window size divided by the round-trip time, however fast the link is. This is why a single file transfer between continents can be much slower than the advertised bandwidth, and why high-speed, high-latency paths, such as satellite links and transoceanic connections, need large windows enabled by the TCP window scaling option, as well as tuned buffer sizes. Network engineers use the BDP to size buffers, tune servers and choose between single and parallel connections. Enter the link bandwidth in megabits per second, the round-trip time in milliseconds and optionally the receive window in kibibytes, and the calculator gives the BDP in bits and bytes, the window needed to fill the link and the maximum throughput the window allows, with the share of the link it can use. A 100 Mbit/s link with 50 ms of latency needs about 610 KiB in flight; a 64 KiB window limits throughput to about 10.5 Mbit/s.
How to use this calculator
- Enter the link bandwidth in Mbit/s.
- Enter the round-trip time in milliseconds, for example from ping.
- Optionally enter the TCP receive window in KiB.
- Read the window needed to fill the link.
- Check the maximum throughput with your window.
Tuning for long fat networks
Links with high bandwidth and high latency are nicknamed long fat networks. Modern operating systems enable window scaling and auto-tune buffer sizes, but very fast links may still need manual tuning.
Parallel connections can work around a limited window by keeping several windows in flight at once.
Latency matters
Light in optical fibre travels at about two thirds of its speed in a vacuum, so a round trip across the Atlantic takes roughly 70–80 ms. No bandwidth upgrade can remove this delay.
Content delivery networks reduce latency by serving data from locations close to users.
Formula & method
Bandwidth-delay product (bits) = bandwidth (bit/s) × round-trip time (s)Window needed to fill the link = BDP ÷ 8 bytesMaximum throughput with window W = W × 8 ÷ RTTWithout window scaling, TCP windows are limited to 64 KiBBDP (bits) = bandwidth (bit/s) × RTT (s). BDP (bytes) = BDP (bits) ÷ 8. Window needed to fill the link ≈ BDP in bytes. Maximum single-connection throughput with window W (bytes) = W × 8 ÷ RTT, capped at the link bandwidth. 1 Mbit/s = 10⁶ bit/s; 1 KiB = 1,024 bytes. Without window scaling (RFC 7323), the TCP window field is limited to 65,535 bytes. Real throughput is also reduced by packet loss, congestion control, protocol overhead and processing delays.
Worked example
100 Mbit/s with a 50 ms round trip
- BDP = 100 × 10⁶ × 0.05 = 5,000,000 bits = 625,000 bytes ≈ 610 KiB.
- With a 64 KiB window: 65,536 × 8 ÷ 0.05 ≈ 10.5 Mbit/s.
- So a single connection can use only about 10% of the link.
Answer: A window of about 610 KiB is needed to fill the link.
Frequently asked questions
What is the bandwidth-delay product?
Bandwidth multiplied by round-trip time: the data in flight on a link.
Why does it matter for TCP?
A window smaller than the BDP limits throughput.
How do I measure RTT?
With ping or network monitoring tools.
What is the maximum throughput of a 64 KiB window?
64 KiB × 8 ÷ RTT; about 10.5 Mbit/s at 50 ms.
What is window scaling?
A TCP option allowing windows larger than 64 KiB.
Does packet loss affect throughput?
Yes, it reduces throughput further.