Menu

Information

What this shows

This tool walks through the TCP Retransmission Timeout (RTO) calculation. The RTO determines how long TCP waits for an acknowledgment before assuming a segment is dropped and retransmitting it. The RTO is calculated from the measured Round Trip Time (RTT) between two TCP speakers.

The graph plots three values for each round trip: RTT, Smoothed RTT (SRTT) and RTO. The green shaded band between SRTT and RTO is the safety margin added to account for variation in RTT. It widens when recent RTTs are less consistent and narrows as they become more consistent.

The math is a direct implementation of RFC 6298 (the Jacobson/Karels algorithm).

How to use it

  • Enter a round-trip time (RTT) in milliseconds and click Add RTT (or press Enter).
  • To add several RTTs at once, separate them with commas: 100,200,300.
  • Add Random adds an RTT 5% to 20% above or below the previous RTT (or 200 ms if there isn't one yet).
  • The graph updates with every round trip. Tap or hover over a point to see its values.
  • Click a legend entry to highlight that line or the shaded band. Click it again, or click inside the graph, to clear it.
  • Each round trip's full calculation is listed below the glossary.
  • The most recent RTT can be deleted using the trash icon, or all of them with Clear All.
  • Per RFC 6298, the initial RTO is 1000 ms.
  • This tool supports up to 99 RTT entries and a maximum RTT of 9999 ms.
  • Glossary and Definitions explains each variable and the color coding.

Sharing a sequence

Click Copy Link to share your exact RTT sequence and graph.

You can also build a custom link yourself by adding these arguments to the end of the page's address:

The address bar updates to list every RTT, so sharing a randomly generated sequence keeps the same values.

A note on RFC 6298

RFC 6298 sets a minimum RTO of 1 second, and allows a maximum of 60 seconds or more. Many operating systems use their own minimum and maximum values. To keep the arithmetic clear, this tool does not set any artificial minimum or maximum and instead shows you the direct result of the TCP Retransmission Timeout algorithm.

Each calculation is worked out exactly, then rounded to a whole millisecond. Those whole-millisecond values are what carry into the next round trip. RFC 6298 doesn't call for rounding; this tool rounds only to keep the numbers readable.

Feedback?

Feedback? Bug reports? Questions? Mention it on my Discord server: pracnet.net/discord.

πŸ“’πŸŽ‰ Final 48 hours - Black Friday / Cyber Monday Sale:

Practical TLS, SSL/TLS deep dive: the protocols that secure the Internet. $297 onlyΒ $50 with code BF2026TLS (83%Β off)

Networking, vendor-agnostic networking course - now includes TCP Masterclass: $59 onlyΒ $29 with code BF2026NET (50%Β off)

Ends Dec 6, 2026.

Brought to you by PracticalNetworking.net
Add RTT measurements to see how they affect the TCP Retransmission Timeout (RTO). Full calculations are below the glossary. Note: Graph plotting starts at Round Trip 1.
Initial RTO 0's fixed 1000 ms is not plotted.
RTT Round-Trip Time. The time between sending a data segment and receiving its corresponding acknowledgment.
SRTT Smoothed RTT. A weighted average of RTT measurements that softens the impact of brief spikes and dips.
VAR RTT Variation. Tracks how much SRTT differs from measured RTTs over time to determine how much safety margin to add to the RTO.
GAP Error signal. The absolute difference between the previous SRTT↓ and the latest RTT measurement. Used in the calculation for VAR.
RTO Retransmission Timeout. How long TCP waits for an acknowledgment before retransmitting the oldest unacknowledged segment.
currentprevious↓ Color shading. Full-color pills show values calculated in the current step. Faded pills marked ↓ show values carried over from the previous step.