Free tool · no sign-up

VoIP bandwidth calculator by codec

Work out the bandwidth of each VoIP call by codec, packetisation, SRTP, IPv4 or IPv6 and link layer, and how many calls fit in your upload speed.

Content updated:

The one your PBX and carrier negotiate. You can see it in the trunk settings or in a SIP capture.
The SDP ptime parameter. RFC 3551 and RFC 7587 default to 20 ms.
Some fibre connections run PPPoE over a VLAN between the router and the carrier: check the router's WAN settings.
Adds 20 bytes per Ethernet frame. Tick it if you are comparing with the physical port speed.
The size depends on the negotiated crypto suite, which appears in the SDP.
The one carrying the voice packets between your network and the carrier.
The channels you want to use at once. You can get them from the Erlang B calculator.
The measured upload, not the advertised one. It is usually the bottleneck.
Share of the upload you do not want to fill with voice: browsing, backups, video.

How to use it

  1. Choose the codec and packetisation your SIP trunk uses. If you do not know them, check the PBX settings or a capture of a call: they appear in the SDP as the negotiated format and the ptime parameter.
  2. Choose how the traffic leaves: Ethernet, with or without a VLAN, and whether your router uses PPPoE. If you are measuring on the carrier link rather than your own network, the breakdown also shows what each side counts.
  3. Say whether you encrypt the audio with SRTP and whether you use IPv4 or IPv6.
  4. Enter how many calls you want at once, your connection's real upload speed and the headroom you do not want to use for voice.

The tool gives the size of each packet, part by part, the packets per second, the bandwidth per call in each direction and how many calls fit. Everything is worked out in your browser.

How it is calculated

Each voice packet carries a slice of audio and several headers. Bandwidth is bytes per packet × 8 × packets per second, and packets per second are 1,000 ÷ packetisation in ms: 50 at 20 ms, 25 at 40 ms. That is why longer packetisation saves header overhead, at the cost of more delay and more audio lost when a packet goes missing.

The sizes come from the specifications, consulted on 26 November 2026:

  • Voice. RFC 3551 sets G.711 at 8 bits per sample and 8,000 samples per second (64 kbit/s), G.722 within 64 kbit/s and G.729 in 10 ms frames of 10 bytes. RFC 3952, an experimental RFC, gives iLBC 38 bytes every 20 ms or 50 bytes every 30 ms. For Opus, RFC 6716 allows 6 to 510 kbit/s and frames from 2.5 to 60 ms.
  • RTP: 12 bytes, the fixed header of RFC 3550 with no contributing-source list.
  • SRTP: 10 or 4 bytes. RFC 3711 appends an authentication tag which, with HMAC-SHA1, is 80 bits by default. RFC 4568 also defines the AES_CM_128_HMAC_SHA1_32 suite, with 32 bits. The MKI field is optional and not counted. Encryption does not change the payload size.
  • UDP: 8 bytes. IP: 20 bytes for IPv4 without options and 40 for IPv6.
  • Ethernet: 18 bytes (destination and source addresses, type and FCS), under IEEE 802.3. The IEEE 802.1Q VLAN tag adds 4. PPPoE adds 8: 6 for its header and 2 for the PPP protocol field, under RFC 2516.
  • Physical layer: 20 bytes, optional: 8 of preamble and start-of-frame delimiter and 12 of minimum inter-frame gap (96 bit times). They are not data, but they take up the wire.

If an Ethernet frame falls short of the 64-byte minimum, it is padded. With IPv4 and these codecs that never happens, but the tool allows for it.

Worked example

Example figures, the tool's defaults: G.711 at 20 ms, Ethernet, IPv4, no SRTP, 10 calls and a 10 Mbit/s upload with 20% headroom.

  1. Voice: 64,000 bit/s × 0.020 s ÷ 8 = 160 bytes.
  2. IP packet: 160 + 12 (RTP) + 8 (UDP) + 20 (IPv4) = 200 bytes, 80 kbit/s at 50 packets per second.
  3. Ethernet frame: 200 + 18 = 218 bytes. 218 × 8 × 50 = 87.2 kbit/s per call, each direction.
  4. Ten calls: 872 kbit/s upstream and another 872 downstream.
  5. Capacity: 10,000 kbit/s × 0.80 = 8,000 kbit/s usable; 8,000 ÷ 87.2 = 91.7, so 91 calls.

With 80-bit SRTP the packet grows to 228 bytes and the call to 91.2 kbit/s. With G.729 the same frame drops to 78 bytes and 31.2 kbit/s: the voice is 20 bytes and the headers 58.

Reference table

One direction of one call, IPv4 and Ethernet with no VLAN or SRTP, not counting preamble or inter-frame gap.

CodecPacketisationVoice per packetEthernet frameBandwidth at IPBandwidth on Ethernet
G.71120 ms160 bytes218 bytes80.0 kbit/s87.2 kbit/s
G.72220 ms160 bytes218 bytes80.0 kbit/s87.2 kbit/s
G.72920 ms20 bytes78 bytes24.0 kbit/s31.2 kbit/s
iLBC20 ms38 bytes96 bytes31.2 kbit/s38.4 kbit/s
iLBC30 ms50 bytes108 bytes24.0 kbit/s28.8 kbit/s
Opus at 20 kbit/s20 ms50 bytes108 bytes36.0 kbit/s43.2 kbit/s

G.722 takes the same bandwidth as G.711 and carries wideband audio: it samples at 16,000 per second, according to RFC 3551, at the same 64 kbit/s.

What to do with the result

The limiting figure is nearly always the upload, because home and small-office connections are asymmetric. Measure the real upload at your busiest time, not the one on the contract. If voice shares the line with other traffic, prioritise voice on the router: bandwidth is not enough if a backup fills the outbound queue and delays the packets. The guide to diagnosing VoIP audio problems (in Spanish) explains how to tell a bandwidth problem from packet loss or jitter.

To find how many simultaneous calls you need, use the Erlang B channel calculator. And to place each piece (trunk, PBX, network and handset), the guide on how virtual business telephony works (in Spanish) puts them in order.

Limitations

  • RTCP is not included. RFC 3550 recommends keeping it to 5% of the session bandwidth.
  • SIP signalling, keep-alive packets and RTP header extensions, which some web clients add to every packet, are not included.
  • Silence suppression is not modelled. If your equipment uses it, average bandwidth falls, but you should size for continuous speech.
  • Opus is variable bit rate by default under RFC 7587: the tool treats the chosen rate as an average. It only allows single-frame packets of 10, 20 or 40 ms.
  • Wi-Fi and VPN tunnels are not calculated, as their headers and retransmissions depend on the equipment and settings. If voice goes through a VPN, add its headers to the IP packet.
  • Bandwidth does not guarantee quality: delay, jitter and loss depend on the network and do not come out of this sum.

The values you enter are calculated in your browser and are not sent to CallsIQ. Google Analytics records visits and that the tool was used, never the values, as described in the privacy policy.

Cite this tool

If you use a result in a report, an article or a class, link to the tool so others can check the calculation. Copy the text or the HTML:

Text

VoIP bandwidth calculator by codec. CallsIQ. https://callsiq.com/en/tools/voip-bandwidth-calculator/

HTML

Source: VoIP bandwidth calculator by codec (<a href="https://callsiq.com/en/tools/voip-bandwidth-calculator/">CallsIQ</a>)

Sources and limits of this tool

The linked sources support the formula, ranges or prices the tool uses.

How to report a correction