Jitter Buffer
Enter jitter, packetization and latencies and I compute the recommended jitter-buffer depth, packets queued and total mouth-to-ear latency, rated with the G.114 threshold (≤150 ms good).
ITU-T G.114 rating
—
Mouth-to-ear delay breakdown
| Component | ms | % |
|---|
How it is computed · buffer, packets and G.114
1. Buffer depth:
k × jitter, with a floor of 2 packets
(2 × ptime). With k = 2 the buffer absorbs
twice the observed jitter.
2. Packets queued:
ceil(depth / ptime). The buffer fills with whole frames,
so it rounds up.
3. The buffer adds its depth as fixed
delay. Mouth-to-ear latency
= network one-way + buffer + codec + ptime.
4. ITU-T G.114 (one-way delay):
≤ 150 ms good, 150–400 ms acceptable,
> 400 ms poor for most voice applications.
Runs locally in your browser · no sign-up · nothing leaves your browser
How it works
The calculator sizes the jitter buffer for a VoIP call or video stream and estimates the resulting mouth-to-ear latency. You enter the network jitter, the packetization interval (ptime, typically 20 ms for voice), the one-way network latency and the codec delay; from those it derives the recommended buffer depth, how many packets it queues and the total delay the listener perceives.
The criterion is the usual one in voice engineering: buffer depth = k × jitter with a floor of 2 packets (2 × ptime), queued packets = ceil(depth ÷ ptime) and mouth-to-ear = one-way network + buffer + codec + ptime. The total is evaluated against the ITU-T G.114 recommendation for one-way delay: up to 150 ms is good, 150-400 ms acceptable and above 400 ms poor for conversation.
Example: LAN VoIP with G.711 and 20 ms of jitter
- With 20 ms jitter, 20 ms ptime and factor k = 2: depth
= max(2 × 20, 2 × 20) = 40 ms. - Queued packets:
ceil(40 ÷ 20) = 2 packets. - Mouth-to-ear:
50 (network) + 40 (buffer) + 15 (codec) + 20 (ptime) = 125 ms. - G.114 verdict: good, because 125 ms stays under the 150 ms threshold.