Free tool

SRT latency calculator

Work out a starting SRT latency, bandwidth overhead and maximum safe bitrate for your link, based on Haivision's published SRT guidance.

RTT multiplier
–
SRT latency
–
Bandwidth overhead
–
Total SRT bandwidth
–
Max safe bitrate
–
Burst loss tolerance
–
Enter your round trip time and packet loss to see results.

How to use it

  • Round trip time: ping from the encoder to the decoder (or read the RTT from a test SRT stream). Anything under 20 ms is treated as 20 ms, because SRT doesn't react on shorter timescales.
  • Packet loss: run a test stream for about 60 seconds and use the worst loss rate you see. Resent bytes divided by sent bytes gives you the percentage.
  • Loss pattern: cellular, Wi-Fi and satellite links tend to lose packets in bursts. Choosing "bursty" applies a higher minimum overhead.
  • Bitrate and capacity: add your encoder bitrate and the measured upload speed of the link to check the stream will fit with headroom.

How the numbers are worked out

SRT latency = RTT multiplier × RTT. The multiplier and bandwidth overhead come from the table below, based on your worst-case packet loss.

For bursty links, the minimum bandwidth overhead is 100 ÷ RTT multiplier, so the calculator uses whichever is higher.

The capacity check follows the conservative rule: 75% of channel capacity should be more than the stream bitrate × (100 + overhead) ÷ 100.

Burst loss tolerance is SRT latency × overhead ÷ 100: roughly the longest burst of lost packets the stream can recover from without a visible glitch.

Reference table

Packet loss (up to)RTT multiplierBandwidth overheadMin. latency (RTT ≤ 20 ms)
1%31%60 ms
3%44%80 ms
7%69%120 ms
10%815%160 ms
12%820%160 ms
21%1038%200 ms
25%1346%260 ms
27%1450%280 ms
30%1461%280 ms
40%3097%600 ms

Figures assume constant loss and are conservative starting points from Haivision's SRT documentation. Always run a test stream and watch the sender's buffer. If it gets close to the latency value, increase the latency.

Related

Need to know how much upload and data your stream will use? Try the stream bandwidth and data calculator.

Need a hand?

Need a reliable link for your broadcast?

We supply internet, uplinks and live drone feeds for broadcasts across New Zealand, from our base in Tauranga.