Bandwidth-Delay Product Calculator
Size the TCP window a link needs to stay full — BDP, scaling factor, MSS count and the 64 KB ceiling, with every formula shown.
Link inputs
1000 Mbps · 50 msDecimal (SI) units: b/s means bits per second, B/s means bytes per second (8 bits).
Default 1460 for IPv4/TCP; 1440 is common over tunnels, 8961 for jumbo frames.
Results
6.25 MB · wscale 7Bandwidth-delay product · scenario A
6.25 MB
50,000,000 bits at 1 Gb/s with 50 ms RTT
- BDP in bytes
- 6,250,000 B
- Effective RTT
- 50 ms
- Minimum TCP window
- 6.25 MB
- In-flight MSS segments
- 4,280 × 1,460 B
- Window scale needed
- 7
- Throughput at 64 KB
- 10.5 Mb/s
Formula sheet
- Normalize bandwidth (decimal units)
1,000 Mbps = 1,000,000,000 b/s - Convert RTT to seconds
50 ms ÷ 1,000 = 0.05 s - Bandwidth × delay
1,000,000,000 b/s × 0.05 s = 50,000,000 bits - Bits to bytes
50,000,000 bits ÷ 8 = 6,250,000 bytes = 6.25 MB - Recommended minimum window
ceil(6,250,000) = 6,250,000 bytes = 6.25 MB - In-flight segments
6,250,000 bytes ÷ 1,460 bytes/MSS = 4,280 full segments, 1,200 bytes left over - Throughput with a classic 64 KB window
65,535 bytes × 8 ÷ 0.05 s = 10,485,600 b/s = 10.5 Mb/s - Window scaling (RFC 7323)
65,535 × 2^7 = 8,388,480 bytes ≥ 6,250,000 bytes — smallest scale that covers the BDP
Window scaling levels
| Scale | Max window | Covers BDP |
|---|---|---|
| 0 | 65,535 B | No |
| 1 | 131,070 B | No |
| 2 | 262,140 B | No |
| 3 | 524,280 B | No |
| 4 | 1,048,560 B | No |
| 5 | 2,097,120 B | No |
| 6 | 4,194,240 B | No |
| 7 | 8,388,480 B | Yes — recommended |
| 8 | 16,776,960 B | Yes |
| 9 | 33,553,920 B | Yes |
| 10 | 67,107,840 B | Yes |
| 11 | 134,215,680 B | Yes |
| 12 | 268,431,360 B | Yes |
| 13 | 536,862,720 B | Yes |
| 14 | 1,073,725,440 B | Yes |
Buffer notes
- Planning math only: real transfers also depend on congestion control, packet loss and application behavior. Size receive buffers at or above the BDP, but avoid oversized queues (bufferbloat) and use AQM where possible.
- OS autotuning pointers: Linux
sysctl net.ipv4.tcp_rmemandnet.ipv4.tcp_wmem; Windowsnetsh interface tcp set global autotuninglevel=normal; macOSsysctl kern.ipc.maxsockbuf.
Decimal units throughout (1 KB = 1,000 bytes) — no GiB mixing. BDP is a planning number, not a measurement.
Examples
1 Gbps, 50 ms
bandwidth: 1000 Mbps · RTT: 50 ms · MSS: 1460BDP = 6,250,000 bytes (6.25 MB) · 4,280 MSS segments · window scale 7 · 10.49 Mb/s with a 64 KB windowScale 6 covers only 4,194,240 bytes, so scale 7 is the first one large enough for the 6.25 MB window.
100 Mbps, 200 ms
bandwidth: 100 Mbps · RTT: 200 ms · MSS: 1460BDP = 2,500,000 bytes (2.5 MB) · 1,712 segments · window scale 6 · 2.62 Mb/s at 64 KBThe classic 'slow WAN transfer' case: the 64 KB window caps throughput at roughly 2.6% of the link rate.
The bits/bytes trap
bandwidth: 125 MB/s · RTT: 50 ms125 MB/s = 1,000,000,000 b/s · BDP = 6.25 MB125 MB/s and 1,000 Mbps normalize to the same bit rate; the formula sheet shows the conversion explicitly.
About this tool
The bandwidth-delay product is the amount of data that has to be in flight to keep a link fully busy: capacity multiplied by round-trip time. A 1 Gbps path with 50 ms of RTT needs 6.25 MB in flight. If the TCP window is smaller, the sender runs out of permission to send and the transfer slows to window ÷ RTT, no matter how fast the link is.
This calculator makes the arithmetic auditable. It normalizes bandwidth to bits per second (decimal SI units, with the ×8 bits-to-bytes step spelled out), doubles one-way latency when asked, rounds the BDP up to a whole-byte minimum window, counts full MSS segments, and computes the throughput ceiling of a classic 64 KB window. Every line shows the substituted numbers so you can check the result by hand or paste it into a ticket.
The scaling table answers the follow-up question: which RFC 7323 window scale covers this BDP? It walks scales 0 through 14, highlights the smallest one that fits, and flags paths beyond the standard limit. Two scenario columns let you compare a link before and after an upgrade, and the URL carries both scenarios with their units and toggles so a shared link reproduces the exact numbers.
Nothing is measured and nothing is uploaded. BDP is a planning number; real transfers also depend on congestion control, packet loss, buffers and the application. Size buffers at or above the BDP, but remember that oversized queues introduce latency (bufferbloat).
What this tool does not do
- Pure arithmetic on user-supplied numbers — no network measurement, no throughput test and no congestion-control simulation.
- Bandwidth and byte sizes use decimal SI units (1 KB = 1,000 bytes); binary KiB/GiB values are not mixed in.
- Window scaling guidance stops at RFC 7323 scale 14; platform implementations can enable or disable scales differently.
- The 64 KB ceiling refers to the pre-scaling TCP window (65,535 bytes); real stacks may negotiate other limits.
- System buffer commands are pointers, not executed changes: the tool never alters your operating system settings.
- Extreme inputs are accepted up to 1 Pb/s and 1,000 s RTT, but the results are planning aids, not realistic guarantees.
How to use this tool
Enter the link rate
Type a bandwidth value and choose its unit: Kbps, Mbps, Gbps, KB/s, MB/s or GB/s. Bits-per-second and bytes-per-second units are labelled separately because they differ by a factor of eight.
Set the delay
Enter the round-trip time in milliseconds, or drag the slider. If the number you have is one-way latency, tick the one-way checkbox and the tool doubles it in every formula.
Check the MSS
The default 1460 bytes assumes IPv4 over Ethernet. Use 1440 or lower for PPPoE/IPv6 tunnels, 8961 for jumbo frames, or any value from 536 to 65535.
Read the sheet
The big number is the BDP; the description list gives the minimum window, in-flight segment count, required window scale and the 64 KB throughput ceiling. Hover a formula line to highlight the input it comes from.
Compare and share
Press Compare A / B, select Scenario B and enter the second link. Delta chips show B relative to A. Copy Markdown pastes both scenarios and their formulas into a ticket; the URL holds all fields for a reproducible link.
Use cases
Tune a WAN transfer
Find the receive window a backup or replication flow needs to fill a high-latency link, then compare that number with the server's current TCP buffer settings.
Explain a slow file copy
Show that a 64 KB window over a 200 ms path cannot exceed about 2.6 Mbps, regardless of the advertised line speed.
Plan a link upgrade
Put the old and new links in scenarios A and B, then read the delta chips for window size, scaling factor and capped throughput.
Learn congestion window math
Follow each substituted formula from bits per second to bytes, segments and scaling levels instead of trusting a single opaque result.
Units and limits used by this calculator
| Input | Meaning |
|---|---|
| Kbps / Mbps / Gbps | 1,000 / 1,000,000 / 1,000,000,000 bits per second (decimal networking convention) |
| KB/s / MB/s / GB/s | 8,000 / 8,000,000 / 8,000,000,000 bits per second — a bytes-per-second rate, eight times the matching bit rate |
| RTT (ms) | Round-trip time; divided by 1,000 to get seconds. One-way input is multiplied by 2 first. |
| MSS (bytes) | TCP maximum segment size, 536–65535; default 1460. In-flight segments = floor(window ÷ MSS). |
| Window scale 0–14 | Max window = 65,535 bytes × 2^scale; scale 14 is the RFC 7323 maximum and the Linux default cap. |
| Shared URL | ?bdp=JSON with both scenarios, units, MSS, one-way flag and active tab — values never fall back ambiguously. |
All sizes are decimal (1 KB = 1,000 bytes). The tool never mixes in KiB/GiB values.
Common mistakes
Mistake:Treating Mbps as MB/s.
Fix:Use the explicit b/s versus B/s unit labels. 125 MB/s equals 1,000 Mbps, not 125 Mbps — an eightfold difference.
Mistake:Using one-way latency as if it were RTT.
Fix:Tick the one-way checkbox. The formulas double the value and say so on the results sheet.
Mistake:Assuming a bigger window always helps.
Fix:Check the BDP first. Beyond it, extra buffering mostly adds queueing delay (bufferbloat); use AQM and keep buffers reasonable.
Mistake:Expecting measured throughput.
Fix:BDP is planning math. Congestion control, loss, parallel streams and application behavior all change real transfers.
Mistake:Using 1 GiB = 1,073,741,824 bytes with decimal link rates.
Fix:This tool uses decimal SI units throughout. Convert binary sizes before comparing them with a BDP.
Frequently asked questions
What is the bandwidth-delay product?
It is the amount of data that must be in flight to keep a link busy: bandwidth multiplied by round-trip time. For a 1 Gbps link with 50 ms RTT, that is 1,000,000,000 b/s × 0.05 s = 50,000,000 bits, or 6.25 MB. A TCP window smaller than that number leaves the sender idle for part of each round trip, so throughput falls below the link rate.
Why does RTT matter for throughput?
TCP sends a window of data, then waits for an acknowledgement before sending more. The window is renewed roughly once per RTT, so throughput is approximately window ÷ RTT. Doubling the delay halves the throughput unless the window also doubles. This is why long, fat networks need large windows and why a classic 64 KB window caps a 200 ms path at about 2.6 Mbps.
What window size fills a 1 Gbps link at 50 ms?
At least 6.25 MB (6,250,000 bytes). That is the BDP. In practice you want a little headroom, and the receive buffer should be at least this large. A 64 KB window would manage only about 10.5 Mb/s on that path, roughly one percent of the link rate.
What is TCP window scaling (RFC 7323)?
The original TCP header advertises a window of at most 65,535 bytes. RFC 7323 adds a scale factor (0–14) negotiated during the handshake, so the effective window is 65,535 × 2^scale. Scale 6 reaches about 4 MB, scale 7 about 8 MB. The scaling table highlights the smallest factor that covers your BDP; RFC 7323 and common Linux configurations stop at scale 14.
Why is my transfer slower than the BDP suggests?
BDP assumes an uncongested path and a window large enough to fill it. Packet loss, congestion control, receiver buffer limits, too few parallel streams, CPU limits and application behavior all reduce throughput. If your buffers are far below the BDP, increasing them helps; if they are much larger, the extra queueing only adds latency (bufferbloat).
Does TCP autotuning make this calculator obsolete?
No. Autotuning (Linux tcp_rmem/tcp_wmem, Windows autotuninglevel) grows buffers as the path allows, which covers most ordinary traffic. Manual sizing still matters for long-lived bulk transfers, UDP-based protocols, custom stacks, embedded systems and any environment where autotuning is disabled or capped. The BDP tells you what to aim at even when the OS gets there by itself.
Should I enter Mbps or MB/s?
Either — but they are not the same. Network links are quoted in bits per second (Mbps, Gbps) while files and buffers are usually measured in bytes (MB). The tool converts everything with an explicit ×8 step: 125 MB/s equals 1,000 Mbps. The formula sheet shows the conversion so the byte-versus-bit mistake is visible rather than hidden.
What does the 'throughput at 64 KB' line mean?
It is the ceiling imposed by the pre-scaling TCP window of 65,535 bytes: 65,535 × 8 ÷ RTT. On a very low-latency LAN it can exceed the link rate, in which case the window is not your bottleneck. On a high-latency WAN it is often the number that explains a slow transfer. It is a ceiling, not a prediction of achieved throughput.
What happens if the BDP is beyond window scale 14?
The maximum RFC 7323 window is 65,535 × 2^14, about 1.07 GB. Above that, a single TCP connection cannot cover the BDP with standard scaling. The tool flags the case; typical answers are several parallel streams, RDMA, or a kernel-bypass stack such as DPDK. Check that the reported bandwidth and delay are realistic first.
References & standards
Related tools
API Mock Server
Define mock REST routes and intercept fetch calls client-side
AsyncAPI Validator
Validate AsyncAPI 2.x and 3.x documents offline, browse channels and messages, and check protocol binding coverage.
Bandwidth Calculator
Estimate how long a file takes to transfer at a given connection speed — correctly handling bits vs bytes (Mbps vs MB/s) and SI vs binary size units
Broken Link Checker
Extract http(s) links from pasted HTML and check them via proxy
Bulk Redirect Map Generator
Generate nginx map blocks, Apache RedirectMatch rules, Netlify _redirects and vercel.json from one old-to-new URL list, with status codes, wildcards and conflict detection.
Cache-Control Builder
Compose Cache-Control response directives and simulate browser and CDN freshness over time, including revalidation, stale-while-revalidate and Vary.