VoIP Call Quality: Latency, Jitter, Packet Loss and MOS
A VoIP call sounds good when its packets arrive quickly, evenly and completely, and when both ends use a suitable codec on decent equipment. This page covers the four network and codec factors that decide quality, what a MOS score is, how the ITU-T's E-model estimates it, how the call quality score calculator turns your measurements into a score, and how to measure the inputs properly.
The four factors
Latency (delay)
Latency is the time from a word being spoken to it being heard: one-way, mouth to ear. It includes encoding, packetizing, the network path, the jitter buffer and decoding. Delay does not distort the sound, but it makes conversation awkward: people pause, then talk over each other. ITU-T Recommendation G.114 says that if mouth-to-ear delay can be kept below 150 ms, most applications will experience essentially transparent interactivity, and that one-way delay should not exceed 400 ms for general network planning.
Jitter
Jitter is variation in delay from one packet to the next. The receiving phone smooths it with a jitter buffer that holds packets briefly before playing them. A bigger buffer absorbs more jitter but adds delay; a packet that arrives after its playing time is thrown away. So jitter turns into extra delay, extra loss, or both.
Packet loss
A lost packet is a missing slice of audio, typically 20 ms. Phones conceal occasional single losses by filling the gap, but losses that come in bursts are much harder to hide and sound like clipped or robotic speech. How much a given loss rate hurts depends on the codec and its concealment, which is why the full E-model rates loss per codec.
Codec
The codec sets the audio's starting quality and bandwidth. G.711, the classic telephone codec, samples 8,000 times a second at 8 bits per sample (ITU-T G.711), which is 64 kbit/s of audio; with 20 ms packets and RTP, UDP and IPv4 headers, that is about 80 kbit/s each way per call before link overhead. Compressed codecs use less bandwidth and behave differently under loss. Each conversion from one codec to another along the path (transcoding) costs some quality, so check that phones, phone system and provider share a codec.
Equipment matters too: a poor headset, a speakerphone in an echoing room or background noise lowers quality in ways no network measurement shows.
What MOS is
MOS (mean opinion score) comes from listening tests. Under ITU-T Recommendation P.800, panels of listeners rate speech samples on a five-point scale: Excellent = 5, Good = 4, Fair = 3, Poor = 2, Bad = 1. The mean of their ratings is the MOS. A true MOS is therefore a judgment by people under controlled conditions. Any number a calculator, a phone or a monitoring system shows is an estimate of what such listeners would say.
How the E-model estimates it
ITU-T Recommendation G.107, "The E-model: a computational model for use in transmission planning", combines impairments (delay, equipment and codec effects, packet loss, noise and others) into a single transmission rating factor, R. With every input at its default value, R is 93.2. G.107 then converts R into an estimated MOS for conversation:
- R below 0: MOS = 1.
- R from 0 to 100: MOS = 1 + 0.035 x R + R x (R - 60) x (100 - R) x 7 x 10^-6.
- R above 100: MOS = 4.5.
So an estimate from the E-model tops out at 4.5, not 5.
What the calculator computes
The call quality score calculator uses a simplified form of the E-model, widely used for VoIP estimates. It is not G.107 itself, which uses codec-specific impairment factors; the simplified form folds delay, jitter and loss into three steps:
- Effective latency = latency + 2 x jitter + 10 ms.
- R = 93.2 - effective latency / 40 when effective latency is under 160 ms; otherwise R = 93.2 - (effective latency - 120) / 10.
- R = R - 2.5 x packet loss (in percent), then MOS from R with the G.107 formula above.
It shows R to one decimal and MOS to two, and labels the result with its own bands: Excellent at MOS 4.3 or more, Good from 4.0, Fair from 3.6, and Poor below that. These are the tool's labels, not an ITU-T classification.
| Latency (ms) | Jitter (ms) | Loss (%) | Effective latency (ms) | R | MOS | Band |
|---|---|---|---|---|---|---|
| 20 | 5 | 0 | 40 | 92.2 | 4.39 | Excellent |
| 50 | 10 | 0.5 | 80 | 90.0 | 4.34 | Excellent |
| 50 | 10 | 5 | 80 | 78.7 | 3.97 | Fair |
| 150 | 30 | 1 | 220 | 80.7 | 4.05 | Good |
| 200 | 40 | 2 | 290 | 71.2 | 3.65 | Fair |
| 300 | 50 | 3 | 410 | 56.7 | 2.93 | Poor |
Walking through the second row, the calculator's default: effective latency is 50 + 2 x 10 + 10 = 80 ms, so R = 93.2 - 80 / 40 = 91.2; half a percent of loss takes 1.25 off, leaving 89.95, shown as 90.0; the formula gives MOS 4.34. Two things stand out in the table. Loss alone, from 0.5% to 5% on the same network, drops the result two bands. And delay costs little until effective latency reaches 160 ms, then much more: in the fourth row, 220 ms of effective latency takes 10 points off R before any loss.
The band is set from the unrounded MOS, so a result just under 4.3 can be shown as 4.30 and still be labeled Good. Treat the score as an estimate: real quality also depends on the codec, the phones and headsets, and the room, as the calculator's page says.
How to measure the inputs
- Latency means one-way delay. A ping measures the round trip to a server, not one-way delay between the two phones. Halving a ping round-trip time gives a rough approximation only: paths can differ in each direction, and ping does not include codec or jitter buffer delay. Your phone system's call statistics are a better source where it reports delay.
- Jitter and loss come from the call itself. RTP's control protocol (RTCP, in RFC 3550) carries receiver reports with the fraction of packets lost and the interarrival jitter, and many phones and phone systems show these per call. Take them from real calls, not from a speed test.
- Measure at busy times, when backups, uploads and video calls compete with voice, and on the connections people really use (Wi-Fi, home broadband for remote staff).
- Compare a good call with a bad one on the same day. If only some users suffer, the cause is usually local: their Wi-Fi, their headset, their home connection.
What to fix, by symptom
| What callers notice | Usual factor | Things to try |
|---|---|---|
| Talking over each other, long pauses | Latency | Check the path (VPNs, distant servers), avoid Wi-Fi for desk phones, check whether the jitter buffer is set very large. |
| Choppy or robotic speech | Jitter, packet loss | Prioritize voice on the router (QoS), move to a wired connection, look for a full upload link or a faulty cable or port. |
| Muffled or "underwater" sound on every call | Codec, transcoding, equipment | Check which codec calls use end to end, and try another headset or phone. |
| Echo | Usually the far end's or your own equipment | Test with a headset instead of a speakerphone; check whether it happens on all calls or one line. |
After each change, measure again on real calls and compare with the earlier figures. For the network basics behind all this, see what is VoIP; for remote staff, see remote call center agents.