Example 1
- segment 5 ms
- 3 hops
- RPO 50 ms
Łączne opóźnienie łańcucha: 15 ms
How many ms at 5 and 3 hops? Łączne opóźnienie łańcucha: 15 ms. Segment times hops, not apply lag.
Type a segment and hops. 5 and 3 give 15 ms. 20 and 2 give 40 ms. 8 and 1 give 8 ms. Segment times hops, not measured apply lag.
This is segment_ms × hops. Not measured apply lag from a replica. IOPS from a queue sits on queue depth.
Enter data and click Calculate.
Replication lag in this calculator multiplies a segment by hops. 5 ms and 3 hops give Łączne opóźnienie łańcucha: 15 ms. 20 and 2 give Łączne opóźnienie łańcucha: 40 ms. 8 and 1 give Łączne opóźnienie łańcucha: 8 ms. This is not apply lag from a replica.
Field replication-lag-a is segment ms. Field replication-lag-b is the hop count. 5 × 3 = 15. 20 × 2 = 40. 8 × 1 = 8. Field replication-rpo-ms in the first two examples is 50 and 30, but the result stays the chain sum.
15 ms does not come from Seconds_Behind_Source. 40 ms is not pg_stat. 8 ms is not apply from WAL. You type the segment and hops. The calculator does not read a replica.
Queue depth next door counts IOPS from ms. Percentiles label a pN. Here 5 and 3 stay 15 ms, the chain product alone.
Type 5 and 3, then Calculate. The result is Łączne opóźnienie łańcucha: 15 ms. A comma in 5,5 works. Zero hops leaves 0. This is not a live replica.
5 and 3 give 15 ms. 20 and 2 give 40 ms. 8 and 1 give 8 ms. Another segment at 3 changes 15 ms.
lag = segment_ms × hops. A chain product, not measured apply lag.
Segment times hops. 5 and 3 give 15 ms. This is not apply lag.
Łączne opóźnienie łańcucha: 15 ms
How many ms at 5 and 3 hops? Łączne opóźnienie łańcucha: 15 ms. Segment times hops, not apply lag.
Łączne opóźnienie łańcucha: 40 ms
What about 20 and 2? Łączne opóźnienie łańcucha: 40 ms.
Łączne opóźnienie łańcucha: 8 ms
What about 8 and 1? Łączne opóźnienie łańcucha: 8 ms.
Łączne opóźnienie łańcucha: 15 ms. 5 × 3. Not apply lag.
Łączne opóźnienie łańcucha: 40 ms. 20 × 2.
Łączne opóźnienie łańcucha: 8 ms. One hop leaves the segment.
No. Two fields. The calculator does not read Seconds_Behind_Source.
Optional replication-rpo-ms for a comparison. The result stays the chain sum.
Yes. 5,5 and 3 give a different chain than 5 and 3.
No. A result from a segment and hops. Not WAL.
On queue depth. Here 15 ms from 5 and 3 stays.
Yes as 0 ms. A blank field is a number error, not measured lag.
The calculator counts bits, bytes or throughput from your numbers. Below are SI and bit definitions (NIST).
Page updated in 2026.