homechevron_rightProfessionalchevron_rightTelecommunications

# VOIP call bandwidth

The calculator works out bandwidth required to handle given number of VOIP calls with given audio codec.

Earlier in the Telecommunications traffic, Erlang article I described trunk number calculation for given call load. Novadays it's more common to have office PBX connected to external network via VOIP trunks instead of E1/T1 ones. VOIP trunks unlike E1/T1 have no fixed range of channels, instead you telecommunications provider must dedicate some network bandwidth to transmit VOIP load.
The following calculator estimates the bandwidth required to handle given number of calls with given audio codec. You may find calculation details just below the calculator.

### VOIP bandwidth calculator

Audio codec for RTP traffic encoding

Digits after the decimal point: 2
Bandwidth

Packets per second

Packet details
Save the calculation to reuse next time or share with friends.

VOIP traffic bandwidth includes useful audo data payload and protocol stack overhead (RTP, UDP, IP, and network L2, L1 overhead). Our calculator gives bandwidth value in kilobits per second (Kbps).
The algorithm is quite simple:
$Bandwidth = (L_{voip}+O_{packet})*C_{second}*8/1000$
where $L_{voip}$ - audio data encoded by a codec, $O_{packet}$ - protocol stack overhead (see below), $C_{second}$ - number of packets per seconds

## VOIP packet size

Depending on codec,there are 20 or 30 milliseconds audo data in VOIP packet, it's from 1 to 6 codec samples (see handbook Audio codecs). Therefore, the less packet duration the more packets are required to send every second. Due to every packet contains stack protocol overhead, the more packets the more relative protocol stack overhead.

The following picture demonstrates VOIP packet structure with each layer overhead for IPv4 Ethernet network.

Example calculation for ilbc (15.2Kbps) audio codec (up to network L2 layer):
VOIP data size: 38(codec sample size)1(samples per packet) = 38 bytes