Paritian

Developers

TCP Throughput Calculator (Mathis Formula: Loss and Round-Trip Time)

The most one standard TCP connection can carry for a given round-trip time, segment size and packet loss rate — and the loss rate you would need for a target speed.

Results

Throughput ceiling of one connection 9.05 Mbit/s
Segments per second 775 /s
Average window in flight 56.5 kB
Loss rate that would allow that throughput 0.00082 %
How it changes
Throughput ceiling of one connectionPacket loss rate 0.01 – 1.00. Throughput ceiling of one connection: 28.61 → 2.861Throughput ceiling of one connection01020300.200.400.600.801.00Packet loss rate (%)

The dashed line marks the value you entered.

What this tool does

A TCP connection that sees losses halves its speed each time and then creeps back up, so its average speed depends on loss and round-trip time, not on how fast the link is. With 100 ms of delay and 0.1 % loss, a 1 Gbit/s link gives one classic connection only about 4.5 Mbit/s. Halving the delay doubles the ceiling; cutting the loss by 100 multiplies it by 10. The formula is an upper estimate for steady random loss; CUBIC, BBR and parallel connections do better.

Formula

rate ≤ (MSS ÷ RTT) × C ÷ √p with C = √(3/2) ≈ 1.22 (ACK every segment) or √(3/4) ≈ 0.87 (delayed ACKs) (Mathis et al.)

Variables

SymbolMeaningUnit
msMaximum segment size (MSS)bytes
rtRound-trip timems
loPacket loss rate%
akReceiver acknowledges—
tgThroughput you want to reachMbit/s
THThroughput ceiling of one connectionMbit/s
PPSegments per second/s
WNAverage window in flightkB
NLLoss rate that would allow that throughput%

Worked example

  • Maximum segment size (MSS)1460 bytes
  • Round-trip time50 ms
  • Packet loss rate0.1 %
  • Receiver acknowledges1
  • Throughput you want to reach100 Mbit/s
  • Throughput ceiling of one connection9.05 Mbit/s
  • Segments per second775 /s
  • Average window in flight56.5 kB
  • Loss rate that would allow that throughput0.00082 %

Limitations

  • The formula assumes ideal conditions: no friction losses, no air resistance and no efficiency losses unless you enter them.
  • The result is an estimate based only on the values you type. Real situations often include factors this calculator does not know about.