Bandwidth-Delay Product Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Find how much data is in flight on a link and the TCP window size needed to keep it full.
Result
Window needed to fill the link (bytes)
Bandwidth-delay product (bits)
- Window needed (KiB)
- Most throughput the current window allows (Mbps)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Link speed, in Mbps: enter 0 or more.
- Round-trip time, in ms: enter 0.001 or more.
- Current TCP window (KiB): enter 0 or more.
- Read the result: Window needed to fill the link (bytes); the panel also shows Bandwidth-delay product (bits), Window needed (KiB) and Most throughput the current window allows (Mbps).
How this calculator works
Bandwidth-delay product (BDP) = link speed (bits per second) × round-trip time (seconds). It is the data in flight when the link is full; a TCP sender needs a window at least that large (RFC 7323 describes the window scaling that allows windows over 64 KiB).
With a smaller window, throughput is capped at window ÷ round-trip time. 1 KiB = 1,024 bytes.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Link speed | Mbps | |
| Round-trip time | ms | |
| Bandwidth-delay product (bits) | ||
| Window needed to fill the link (bytes) |
Worked example
| Link speed | 100 Mbps |
|---|---|
| Round-trip time | 50 ms |
| Current TCP window (KiB) | 64 |
| Bandwidth-delay product (bits) | 5,000,000 |
|---|---|
| Window needed (KiB) | 610.3516 |
| Most throughput the current window allows (Mbps) | 10.4858 |
Window needed to fill the link (bytes) 625,000
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What window does a 100 Mbps link with 50 ms RTT need?
100,000,000 × 0.05 = 5,000,000 bits, or 625,000 bytes (about 610 KiB).
Why is my transfer slow on a fast long-distance link?
A 64 KiB window over 50 ms allows only 65,536 × 8 ÷ 0.05 = 10.49 Mbps, whatever the link speed.