Voice Codecs
Pick a codec and packetization (ptime) and I compute the bandwidth per call (with IP/UDP/RTP and layer-2 overhead), compared against other codecs by bitrate, MOS and delay. Multiply by the number of calls for the trunk.
Estimated quality (MOS)
—
Codec comparison
BW per call with the chosen packetization and overhead. The highlighted row is the selected codec. Tap a row to pick it.
| Codec | Bitrate | Sampling | Frame | MOS | Delay | BW/call |
|---|
How it is computed · payload, headers and pps
1. pps = 1000 / ptime. With
20 ms of voice per packet that is 50 pps.
2. payload (B) = bitrate_kbps × ptime_ms / 8. G.711 at
64 kbps with 20 ms = 160 B.
3. Per-packet headers:
IP 20 + UDP 8 + RTP 12 = 40 B plus layer 2
(Ethernet 18 B, +VLAN 22 B,
MPLS 4 B).
4. BW per call (bps) = (payload + 40 + L2) × 8 × pps.
The total = BW per call × number of calls.
5. MOS and
delay are reference values per codec; they do not
depend on packetization but help you trade quality against
bandwidth.
Runs locally in your browser · no sign-up · nothing leaves your browser