Works on this device
Network Throughput Calculator
Estimate the rate that one TCP connection can reach over a network path. The page puts three limits side by side: the link, the receive window over the round-trip time, and packet loss. It also works out goodput after protocol overhead, and throughput from an amount of data moved in a time. Nothing is measured here: you type every figure.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Type the rate of the link. Use the slowest link on the path.
- Type the round-trip time. A ping program shows it.
- Type the receive window of the connection in bytes, and the largest segment size if it is not 1,460 bytes.
- If the path loses packets, type the loss as a percent. Leave it blank for a path without loss.
- Choose Calculate. The smallest of the limits is the rate to expect, and the result says which limit it is.
The formulas
- Limit by the window = receive window in bytes × 8 ÷ round-trip time in seconds. One connection can have one window of data on its way.
- Limit by loss = (MSS × 8 ÷ round-trip time) × C ÷ √p. This is the formula of Mathis, Semke, Mahdavi and Ott (1997). MSS is the largest segment size in bytes and p is the share of packets lost. C is √(3/2), about 1.22, when every segment is acknowledged, and √(3/4), about 0.87, with delayed acknowledgements.
- Expected throughput = the smallest of the link rate, the window limit and the loss limit.
- Goodput = link rate × payload ÷ (payload + header bytes inside the packet + framing bytes outside it).
- Packets each second = link rate in bits per second ÷ (8 × bytes on the link for one packet).
- Measured throughput = amount moved in bytes × 8 ÷ time in seconds.
What the loss formula assumes
- A long transfer that has reached a steady state.
- TCP that halves its window after a loss and then grows it by one segment for each round trip (Reno).
- Light loss that is spread out, not in bursts, and no timeouts.
- A receive window and a link that are large enough not to be the limit.
- Newer congestion control such as CUBIC or BBR reaches other rates, often higher. Use the figure as a guide to how strongly loss and distance matter, not as a promise.
Worked examples
Window: a link of 100 Mbit/s, a round-trip time of 80 ms and a window of 65,535 bytes. Window limit = 65,535 × 8 ÷ 0.08 = 6,553,500 bits per second, which is 6.55 Mbit/s. The connection uses 6.6% of the link. A window of 1,000,000 bytes would fill it.
Loss: with a segment size of 1,460 bytes, 80 ms and a loss of 0.01%, the loss limit is (1,460 × 8 ÷ 0.08) × 1.2247 ÷ √0.0001 = 17.88 Mbit/s.
Goodput: a payload of 1,460 bytes with 40 bytes of headers and 38 bytes of Ethernet framing uses 1,538 bytes on the link. The payload share is 1,460 ÷ 1,538 = 94.93%, so a link of 100 Mbit/s carries 94.93 Mbit/s of payload in 8,127 packets each second.
Smallest frames: a 1 Gbit/s Ethernet link with frames of 64 bytes (46 bytes after the header and frame check, plus 38 of framing) carries 1,000,000,000 ÷ (8 × 84) = 1,488,095 frames each second.
Measured: 750 MB moved in 60 seconds is 100 Mbit/s, or 12.5 MB/s.
Bits, bytes and units
One byte is 8 bits. Link rates are in bits per second, such as megabits per second (Mbit/s). Copy programs often show megabytes per second (MB/s), which is 8 times smaller in number. Decimal units are powers of 1000 and binary units are powers of 1024: 1 MB is 1,000,000 bytes and 1 MiB is 1,048,576 bytes.
Limits you should know
- The result is a planning estimate for one connection. Real networks share capacity, and the rate changes from moment to moment.
- The page does not test your connection. To measure it, use the Internet Speed Test.
- For the window that fills a link and its scale factor, use the Tcp Window Size Calculator. For header sizes, use the Mtu Calculator.
- The goodput calculation counts headers and framing only. Acknowledgements, retransmissions and the start of a connection lower real goodput further.
- The rate of a wireless link is in the Wireless Throughput Calculator.