TCP BDP & Window Calculator
Find out how much data must be in flight to fill a link, why a long-distance transfer is slow with a small TCP window, and which buffer sizes to set.
How to use the TCP BDP & Window Calculator
- Enter the bandwidth and the round-trip time (ping).
- Read the bandwidth-delay product and recommended buffer.
- Enter your TCP window to see the maximum speed one connection can reach.
Key formulas
- BDP (bytes) = bandwidth (bits/s) × RTT (s) ÷ 8.
- Max throughput = window ÷ RTT.
- Without window scaling, TCP is limited to 64 KB in flight.
Frequently asked questions
What is the bandwidth-delay product?
The amount of data that can be in transit on a link at once. The TCP window must be at least this big to use the full bandwidth.
Why are downloads from far away slow?
Higher latency needs a bigger TCP window. A small window caps the speed of one connection.
How do I find the RTT?
Use ping to the server; the time in ms is the round-trip time.
Is my data uploaded?
No. Everything runs in your browser on your own device.
Worked examples: why far-away transfers are slow
The bandwidth-delay product (BDP) is speed × round-trip time. It is the amount of data that must be “in the air” to keep a link full.
| Link | Round-trip time | Data in flight needed |
|---|---|---|
| 100 Mbps | 20 ms (same country) | 250 KB |
| 100 Mbps | 200 ms (Pakistan to USA) | 2.5 MB |
| 1 Gbps | 50 ms | 6.25 MB |
| 1 Gbps | 150 ms | 18.75 MB |
The 64 KB window problem
An old TCP setting allows only 64 KB in flight. On a 200 ms path, that caps a single transfer at about 2.6 Mbps, no matter how fast the line is: 64 KB × 8 ÷ 0.2 s. This is why one large download from a server on another continent can be slow while a local speed test looks perfect.
What actually helps
- Modern Windows, macOS and Linux tune the window automatically. Check that window scaling is not turned off on the computer, a firewall or a VPN.
- Use tools that open several connections at once for big transfers, such as a download manager or
robocopy /MT. - For server links, set the send and receive buffers to at least the BDP from this calculator.
- Packet loss hurts long paths far more than short ones. Fix loss first; bigger buffers cannot make up for it.