WAN Bandwidth-Delay Product (BDP) & TCP Throughput Ceiling Calculator

A single TCP flow only fills a link when its window is at least the bandwidth-delay product: bandwidth × round-trip time ÷ 8. On 1 Gbps at 45 ms that is 5.36 MiB, about 86 times the 65,535 bytes a sender gets without window scaling, which is why that path stalls at 11.7 Mbps. Window scaling stops at 1 GiB (RFC 7323), so past 85.9 ms on 100 Gbps or 214.7 ms on 40 Gbps one flow cannot fill the link at all and the traffic has to be split into parallel flows.

Interactive WAN Bandwidth-Delay Product (BDP) & TCP Window Calculator

RFC 7323 · RFC 6349 · Mathis 1997
SCENARIO PRESETS:
?Contracted bandwidth of the WAN link in Mbps, or the carrier's port speed. Range: 10 to 40,000 Mbps.
?Round-trip time between the two endpoints in ms: the average from ping. Range: 1 to 600 ms.
?TCP receive window in KiB (1 KiB = 1,024 bytes), the socket buffer. Read it from the OS setting (for example net.ipv4.tcp_rmem on Linux, or the receive window on Windows). Without window scaling the maximum is 65,535 bytes (RFC 9293, section 3.1), one byte short of 64 KiB. Range: 16 to 65,536 KiB.
?Packet loss rate of the path in %, measured with ping or iperf3 over a long test. Range: 0.0001 to 5.0%.
BANDWIDTH-DELAY PRODUCT (BDP)
5,493.2 KiB (5.36 MiB in-flight buffer needed)
WINDOW-LIMITED TCP THROUGHPUT
11.7 Mbps with current window
RFC 7323 WINDOW SCALE SHIFT
Shift factor = 7 (2^7 multiplier)
MATHIS LOSS-LIMITED CEILING
31.8 Mbps single-stream ceiling at this loss, before the link cap
ACTUAL SINGLE-STREAM THROUGHPUT
11.7 Mbps: lowest of link, window and loss ceiling
CALC23 · WAN Bandwidth-Delay Product…731.85.3611.7
Computed in your browser

Window one TCP flow needs, from 100 Mbps to 100 Gbps

The table in the calculator section covers a 1 Gbps link. The same arithmetic for faster links shows where the window stops being a tuning problem and becomes a protocol limit. Each cell is the bandwidth-delay product and the smallest RFC 7323 scale shift that covers it.

Bandwidth-delay product and RFC 7323 window scale shift by link speed and round-trip time. BDP = bandwidth × RTT ÷ 8; shift = smallest s with 65,535 × 2^s at or above the BDP; the largest window is 2^30 bytes (1 GiB, shift 14).
RTTRoute profile100 Mbps1 Gbps10 Gbps40 Gbps100 Gbps
5 msMetro Fiber0.06 MiB · no scaling0.60 MiB · shift 45.96 MiB · shift 723.8 MiB · shift 959.6 MiB · shift 10
20 msRegional WAN0.24 MiB · shift 22.38 MiB · shift 623.8 MiB · shift 995.4 MiB · shift 11238 MiB · shift 12
45 msUS Cross-Region0.54 MiB · shift 45.36 MiB · shift 753.6 MiB · shift 10215 MiB · shift 12536 MiB · shift 14
75 msUS Coast-to-Coast0.89 MiB · shift 48.94 MiB · shift 889.4 MiB · shift 11358 MiB · shift 13894 MiB · shift 14
110 msLong intercontinental1.31 MiB · shift 513.1 MiB · shift 8131 MiB · shift 12525 MiB · shift 14over 1 GiB: one flow cannot fill it
180 msTranspacific2.15 MiB · shift 621.5 MiB · shift 9215 MiB · shift 12858 MiB · shift 14over 1 GiB: one flow cannot fill it

Longest round trip a single flow can fill

With the window capped at 1 GiB, the round-trip time at which one flow can still fill the link is 2^30 × 8 ÷ bandwidth.

Round-trip time above which one TCP flow cannot fill the link, whatever the buffer tuning
Link speedLongest RTT one flow can fill
1 Gbps8.59 s
10 Gbps859.0 ms
25 Gbps343.6 ms
40 Gbps214.7 ms
100 Gbps85.9 ms
400 Gbps21.5 ms

These are window limits only. The Mathis loss ceiling in the next table applies on top of them, and the sending and receiving hosts still need socket buffers at least as large as the window. Above the limit, tools that open several flows in parallel (or a transport that is not window-limited in the same way) are the way to use the capacity.

How Fast Can One TCP Flow Go at 10, 50, 100 and 200 ms?

Short answer: without window scaling a flow is capped at 52.4 Mbps at 10 ms, 10.5 Mbps at 50 ms, 5.2 Mbps at 100 ms and 2.6 Mbps at 200 ms, whatever the link costs. The ceiling is the window times 8 divided by the round-trip time (RFC 6349 section 3.3.1), and the unscaled window field holds at most 65,535 bytes (RFC 9293 section 3.1).

Highest rate one TCP flow can reach, by round-trip time and receive window, with no link and no loss limit · rate = window × 8 ÷ RTT (RFC 6349 section 3.3.1) · 1 MiB needs scale shift 5 and 16 MiB shift 9 (RFC 7323)
Round-trip time65,535 B (no scaling)1 MiB (shift 5)16 MiB (shift 9)1,073,725,440 B (shift 14)
10 ms52.4 Mbps838.9 Mbps13.42 Gbps858.98 Gbps
50 ms10.5 Mbps167.8 Mbps2.68 Gbps171.80 Gbps
100 ms5.2 Mbps83.9 Mbps1.34 Gbps85.90 Gbps
200 ms2.6 Mbps41.9 Mbps671.1 Mbps42.95 Gbps

Three consequences follow from the same formula. An unscaled window can keep a link busy only while one round trip is shorter than the time the link takes to send it: 5.24 ms on 100 Mbps, 0.524 ms on 1 Gbps and 52.4 µs on 10 Gbps, which is why any wide-area path needs the RFC 7323 option. Scaling has to be sized to the path, not just switched on: a 1 Gbps link at 200 ms holds 25,000,000 bytes in flight (23.84 MiB, 1,000,000,000 × 0.2 ÷ 8), so a 16 MiB window still stops that flow at 671.1 Mbps and the smallest shift that covers it is 9 (65,535 × 2^9 = 33,553,920 bytes). And the largest scaled window is exactly 65,535 × 2^14 = 1,073,725,440 bytes, 16,384 bytes short of the 1 GiB that RFC 7323 quotes (2^(14+16)); the tables above round it to 1 GiB, a difference of 0.0015 %.

The calculator's «64 KiB» entry is 65,536 bytes, one byte above the field maximum; at one decimal place its window ceilings are the same as the 65,535-byte column. These are window limits only: the loss ceiling (Mathis) and the link rate apply on top, and the time to move a file with a given window is on the Download Time Calculator.

Use the WAN Bandwidth-Delay Product (BDP) & TCP Window Calculator to evaluate BDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) for intercontinental 1G/10G WAN links, SD-WAN IPsec tunnels. With the defaults (Link Bandwidth Capacity = 1000 Mbps, Round-Trip Latency RTT = 45 ms, Current TCP Receive Window = 64 KiB) it returns Bandwidth-delay product (BDP): 5493.2 KiB (5.36 MiB in-flight buffer needed). Change any input and the results update from the same equation.

Governing equationBDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) (IETF RFC 7323 (window scaling), RFC 6349 (BDP) & Mathis et al. 1997 (loss-limited TCP throughput))

Model assumptions

The card seal follows the share of the link that one stream uses: red below 10 % (a threshold of this model), amber from 10 % to under 95 %, green from 95 %.

Computed in your browser. The calculator, the tables and the worked examples run the same equations.

Why a 1 Gbps Cross-Continent WAN Link Crawls at 11.7 Mbps with a Legacy 64 KiB TCP Window (No Window Scaling)

Few networking scenarios frustrate systems engineers more than provisioning an expensive 1 Gbps or 10 Gbps dark-fiber wavelength or IPsec WAN circuit between two data centers (for example, US-East Virginia to EU-Central Frankfurt at 85 ms Round-Trip Time, or Tokyo to Sao Paulo at 260 ms RTT), only to watch an scp, rsync, SMB file copy, or single-connection database backup stall at a tiny fraction of line rate. The culprit is not carrier policing; it is the fundamental physics of the Bandwidth-Delay Product (BDP) combined with the Mathis TCP Congestion Avoidance Equation. Under RFC 9293 (Transmission Control Protocol), a sender can only transmit as many unacknowledged bytes into the network pipe as the minimum of the receiver's advertised Receive Window (rwnd) and the sender's Congestion Window (cwnd) before pausing to wait for a cumulative ACK packet to traverse the full Round-Trip Time (RTT).

The Bandwidth-Delay Product is the volume of data that must be 'in flight' to keep the bottleneck link 100% utilized for one RTT: BDP_bits = BW_bps * RTT_seconds, or in mebibytes (1 MiB = 1,048,576 bytes, the unit the calculator labels MiB): BDP_MiB = (BW_Mbps * RTT_ms) / 8000 / 1.048576. On a 1,000 Mbps (1 Gbps) circuit with an 80 ms transcontinental RTT, the pipe holds 10,000,000 bytes, which is (1000 * 80) / 8000 / 1.048576 = 9.54 MiB of in-flight data. If the operating system's maximum socket receive buffer (net.ipv4.tcp_rmem on Linux or an unscaled window of at most 65,535 bytes) is capped at 512 KiB, the sender transmits 512 KiB (4,194,304 bits) in 4.2 milliseconds at 1 Gbps and then sits completely idle for the remaining 75.8 milliseconds of every RTT, capping single-stream throughput at R_win = (W_bytes * 8) / RTT_sec = (512 * 1024 * 8) / 0.080 = 52.4 Mbps (just 5.2% of link capacity). The real single-stream rate is the smallest of three limits: the link, the window and the Mathis ceiling. On the calculator defaults (1,000 Mbps, 45 ms, 64 KiB, 0.01 % loss) they are 1,000, 11.7 and 31.8 Mbps, so the stream runs at 11.7 Mbps. The card seal follows the share of the link that the stream uses: red below 10 % (a threshold of this calculator, not a standard), amber below 95 %, green from 95 %. At the defaults the stream uses 1.2 %, so the seal is red.

1 Gbps WAN Link BDP Buffer Requirement & Unscaled 64 KiB TCP Ceiling vs Round-Trip Latency — Computed via BDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) (IETF RFC 7323 (window scaling), RFC 6349 (BDP) & Mathis et al. 1997 (loss-limited TCP throughput)) · Sources checked November 2026
Latency RTT (ms)Route ProfileRequired BDP (KiB)Required BDP (MiB)64 KiB Window MaxRFC 7323 Shift
5 msMetro Fiber610.4 KiB0.60 MiB104.9 MbpsShift 4
20 msRegional WAN2,441.4 KiB2.38 MiB26.2 MbpsShift 6
45 msUS Cross-Region5,493.2 KiB5.36 MiB11.7 MbpsShift 7
75 msUS Coast-to-Coast9,155.3 KiB8.94 MiB7.0 MbpsShift 8
110 msLong intercontinental13,427.7 KiB13.11 MiB4.8 MbpsShift 8
180 msTranspacific21,972.7 KiB21.46 MiB2.9 MbpsShift 9

RFC 7323 window scaling, the Mathis loss ceiling and BBR

Because the original 16-bit TCP header window field cannot represent values larger than 2^16 - 1 = 65,535 bytes (one byte short of 64 KiB), high-BDP Long Fat Networks (LFNs) rely on the RFC 7323 TCP Window Scale Option negotiated during the initial 3-way SYN / SYN-ACK handshake. A window scale shift count S (0 <= S <= 14) left-shifts the 16-bit window value by S bits (a factor of 2^S): S_min = ceil(log2(BDP_bytes / 65535)). Classic loss-based congestion control algorithms (TCP Reno and CUBIC) slash cwnd whenever a single packet is dropped. Under the classic Mathis et al. (1997) Macroscopic TCP Model, the steady-state throughput ceiling under random packet loss probability p (loss_pct / 100) is bounded by: R_Mathis <= (MSS_bytes * 8 / RTT_sec) * (C / sqrt(p)), where C is approximately 1.22 (sqrt(3/2)).

Look at the devastating sensitivity of 1/sqrt(p) on a long-haul WAN: at 80 ms RTT with a 1,460-byte MSS and just 0.1% packet loss (p = 0.001, 1 dropped packet in 1,000), the Mathis loss-limited ceiling collapses to (1460 * 8 / 0.080) * (sqrt(3/2) / sqrt(0.001)) = 5.65 Mbps—regardless of whether you buy a 1 Gbps or 100 Gbps circuit! Overcoming this loss cliff requires eliminating micro-burst buffer drops via QoS shaping, enabling Google TCP BBR (net.ipv4.tcp_congestion_control = bbr, which paces delivery by probing bottleneck bandwidth and minimum RTT rather than reacting solely to single packet drops), or running parallel multi-stream transfers (iperf3 -P 16, rclone).

Mathis Packet Loss Impact on Single-Stream TCP Throughput (45 ms RTT, 1460B MSS) — Computed via BDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) (IETF RFC 7323 (window scaling), RFC 6349 (BDP) & Mathis et al. 1997 (loss-limited TCP throughput)) · Sources checked November 2026
Packet Loss (%)Mathis Ceiling (Mbps)Share of a 1 Gbps Link
0.0001%317.9 Mbps31.8%
0.001%100.5 Mbps10.1%
0.005%45.0 Mbps4.5%
0.01%31.8 Mbps3.2%
0.05%14.2 Mbps1.4%
0.1%10.1 Mbps1.0%
0.5%4.5 Mbps0.5%

What do the two presets show?

Worked Example 1 (1 Gbps trans-Pacific, 150 ms, 512 KiB window, 0.05 % loss): Inputs: Link Bandwidth Capacity = 1000 Mbps, Round-Trip Latency RTT = 150 ms, Current TCP Receive Window = 512 KiB, Link Packet Loss Rate = 0.05 %. The calculator returns: bandwidth-delay product = 18,310.5 KiB, bandwidth-delay product = 17.88 MiB, window-limited throughput = 28.0 Mbps, window scale shift = 9, Mathis loss ceiling = 4.3 Mbps, actual single-stream throughput = 4.3 Mbps. Related in the Network, Fiber, PoE & Rack Hub: VPN Tunnel MTU & TCP MSS Clamping Calculator and Wi-Fi 7 (802.11be) MLO & 320 MHz Throughput Calculator.

Worked Example 2 (10 Gbps US to EU, 75 ms, 4 MiB window, 0.001 % loss): Inputs: Link Bandwidth Capacity = 10000 Mbps, Round-Trip Latency RTT = 75 ms, Current TCP Receive Window = 4096 KiB, Link Packet Loss Rate = 0.001 %. A large window alone does not fill a fast path: a 10 Gbps link with a 4 MiB window still carries only 60.3 Mbps per stream, because the 0.001 % loss ceiling (Mathis) is lower than the window limit of 447.4 Mbps. The 1 Gbps, 45 ms case with the 65,535-byte unscaled window shows the opposite limit, 11.7 Mbps (65,535 x 8 / 0.045 s) set by the window alone. The calculator returns: bandwidth-delay product = 91,552.7 KiB, bandwidth-delay product = 89.41 MiB, window-limited throughput = 447.4 Mbps, window scale shift = 11, Mathis loss ceiling = 60.3 Mbps, actual single-stream throughput = 60.3 Mbps. You can compare these limits with other calculators in the Engineering Studio.

Linux socket buffer tuning for long fat networks (LFNs)

To unlock full single-stream throughput across a high-RTT WAN link, take the BDP in bytes from the calculator above and multiply by 2 as a starting point, because Linux keeps part of the socket buffer for kernel overhead (rule of thumb), and raise net.core.rmem_max, net.core.wmem_max, and the third value of net.ipv4.tcp_rmem / net.ipv4.tcp_wmem in /etc/sysctl.conf alongside net.ipv4.tcp_window_scaling = 1 and net.ipv4.tcp_congestion_control = bbr.

Download the data on this page (CC BY 4.0, checked 2026-12-02): CSV Bandwidth-delay product and RFC 7323 window scale shift by link speed and round-trip time. BDP = bandwidth × RTT ÷ 8; shift = smallest s with 65,535 × 2^s at or above the BDP; the largest window is 2^30 bytes (1 GiB, shift 14).; Round-trip time above which one TCP flow cannot fill the link, whatever the buffer tuning; Highest rate one TCP flow can reach, by round-trip time and receive window, with no link and no loss limit · rate = window × 8 ÷ RTT (RFC 6349 section 3.3.1) · 1 MiB needs scale shift 5 and 16 MiB shift 9 (RFC 7323); 1 Gbps WAN Link BDP Buffer Requirement & Unscaled 64 KiB TCP Ceiling vs Round-Trip Latency — Computed via BDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) (IETF RFC 7323 (window scaling), RFC 6349 (BDP) & Mathis et al. 1997 (loss-limited TCP throughput)) · Sources checked November 2026; Mathis Packet Loss Impact on Single-Stream TCP Throughput (45 ms RTT, 1460B MSS) — Computed via BDP_bytes = (BW_bps · RTT_sec) / 8 | R_Mathis = (MSS · 8 / RTT) · (√(3/2) / √p) (IETF RFC 7323 (window scaling), RFC 6349 (BDP) & Mathis et al. 1997 (loss-limited TCP throughput)) · Sources checked November 2026; all tables as JSON. More files on Data & How to Cite.

Sources

  1. IETF RFC 7323 · TCP Extensions for High PerformanceThe window scale option right-shifts the window by shift.cnt bits (factor 2^shift). The unscaled 16-bit window field carries at most 2^16 - 1 = 65,535 bytes; the largest scale exponent is 14, for a largest receive window of 1 GiB (2^(14+16)). Basis of the scale-shift output.
  2. IETF RFC 6349 · Framework for TCP Throughput TestingSection 3.3.1: «BDP (bits) = RTT (sec) X BB (bps)» and «TCP Throughput = TCP RWND X 8 / RTT». Basis of the BDP output and of the window ceiling in the table above. Read December 2, 2026.
  3. Mathis, Semke, Mahdavi and Ott (1997) · The Macroscopic Behavior of the TCP Congestion Avoidance Algorithm, ACM SIGCOMM Computer Communication Review 27(3)Loss-limited TCP bandwidth BW = (MSS / RTT) · (C / √p) with C = √(3/2) for a connection that avoids retransmission timeouts and always has window and data. Basis of the Mathis ceiling output; RFC 7323 and RFC 6349 do not cover this loss model. DOI 10.1145/263932.264023.
  4. The Morning Paper · BBR: Congestion-Based Congestion Control (summary of Cardwell et al., 2016)Summary of the BBR paper: Google reported a 2x to 25x throughput improvement over the loss-based CUBIC on its WAN. The ACM Queue and CACM originals were not reachable when checked, so the figure is attributed to this summary. Basis of the BBR FAQ.
  5. IETF RFC 9293 · Transmission Control Protocol (TCP), section 3.1The header field «Window: 16 bits» is the number of data octets the sender of the segment is willing to accept, shifted when the window scaling extension is used; 16 bits hold at most 65,535. Read December 2, 2026. Basis of the 65,535-byte unscaled ceiling.
  6. Linux kernel documentation · IP sysctl (tcp_rmem, tcp_adv_win_scale)tcp_adv_win_scale: «Obsolete since linux-6.6» and «Count buffering overhead as bytes/2^tcp_adv_win_scale»; default 1. tcp_rmem default: «Default: 131072 bytes. This value results in initial window of 65535.» Read December 2, 2026. Basis of the 2x rule of thumb in the FAQ.

Method and test suite: Calculation Methodology.

Frequently Asked Questions: WAN Bandwidth-Delay Product (BDP) & TCP Window Calculator

Why does iperf3 show 9.4 Gbps with -P 16 parallel streams when a single stream (-P 1) gets only 120 Mbps?

When a single TCP stream encounters packet loss or hits a per-socket tcp_rmem cap, that single flow backs off its congestion window. Running 16 parallel TCP sockets creates 16 independent congestion windows and allocates 16x the aggregate socket buffer memory, filling the pipe's Bandwidth-Delay Product even when individual streams oscillate.

How does TCP BBR differ from CUBIC on lossy long-haul links?

TCP CUBIC cuts its sending window by 30% on every drop. TCP BBR builds a model of the pipe's maximum delivery rate and minimum propagation RTT and paces packets without collapsing on isolated random drops. Google reported gains of about 2x to 25x over CUBIC when it deployed BBR on its WAN (Cardwell et al., 2016, as summarized by The Morning Paper); the gain depends on loss rate and RTT.

What happens if a stateful firewall strips TCP Option 3 (Window Scale) during the SYN handshake?

Because the RFC 7323 Window Scale shift factor S is ONLY transmitted inside the initial SYN and SYN-ACK packets, if a misconfigured middlebox or firewall strips TCP options or inspects a flow mid-stream without state, both endpoints fall back to an unscaled 65,535-byte window—capping an 80ms link at 6.55 Mbps.

Why is 2x the BDP a common starting point for the Linux tcp_rmem maximum?

Linux counts part of the receive buffer as overhead, not as window: the kernel documentation describes tcp_adv_win_scale as counting buffering overhead as bytes/2^tcp_adv_win_scale, with a default of 1, which is about half of the buffer. That is the origin of the 2x rule of thumb. The same page marks tcp_adv_win_scale as obsolete since Linux 6.6, so the usable share depends on the kernel: start at 2x the BDP, then measure the throughput you reach and adjust.