Find the throughput cap of a 256 KiB window at 80 ms

See how a small TCP window limits one stream on a 1 Gbps WAN link and calculate the resulting transfer time for 2 GB.

Try these inputs

Worked calculation

  1. Convert 256 KiB to 262,144 bytes and 80 ms to 0.08 seconds.
  2. One window per round trip yields 262,144 × 8 ÷ 0.08 = 26,214,400 bps, far below the 1 Gbps link.
  3. At about 26.21 Mbps, a 2 GB transfer takes about 610.35 seconds. The window target to fill the link is 10,000,000 bytes.

Inputs

Transfer size
Link rate
Use 0 for a theoretical estimate without a window cap.

Calculated in your browser

Results

Transfer time
10 min 10 s
Effective throughput
26.214 Mbps
Required window
10,000,000 B

TCP window versus single-stream throughput

TCP window versus single-stream throughputAt this RTT, raising the window increases possible throughput until it reaches the utilization-adjusted link rate.Goodput target · 1 Gbps0Window19,531.25 KiB26.214 Mbps
  • Single-stream upper bound
  • Configured TCP window
At this RTT, raising the window increases possible throughput until it reaches the utilization-adjusted link rate.
Link rate
1 Gbps
Utilization-adjusted rate
1 Gbps
Window-limited rate
26.214 Mbps
Limiting factor
TCP window
Bandwidth and in-flight data
QuantityValue
File size2,000,000,000 B
Round trip80 ms
Nominal bandwidth-delay product10,000,000 B
Target window in KiB9,765.625 KiB
Estimated time in seconds610.351563

Questions

Can TCP window scaling help reach 1 Gbps on this 80 ms path?

Window scaling lets endpoints advertise windows big enough to hold more data in flight. Loss, buffers and endpoint limits can still matter.

What will halving the 80 ms RTT do with the same 256 KiB window?

It doubles the window bound from about 26.21 Mbps to 52.43 Mbps, still below the line rate.

References