Bandwidth Calculator by Codec: Estimating Per-Call Bitrate in VoIP

Bandwidth Calculator by Codec: Estimating Per-Call Bitrate in VoIP

Why Your VoIP Calls Crackle (And How to Fix It)

You set up your VoIP system. Everything looks fine on paper. But when you hop on a call, the audio cuts out, echoes, or sounds like you’re talking through a tin can. It’s not your headset. It’s not your internet. It’s bandwidth.

Most people think VoIP is just like making a phone call over the internet. It’s not. It’s a constant stream of tiny digital packets carrying compressed voice data. And every codec - the algorithm that squeezes your voice into those packets - eats a different amount of bandwidth. Get it wrong, and your calls suffer. Get it right, and your voice sounds crystal clear, even on a slow connection.

How VoIP Codecs Actually Work

Think of a codec as a translator. Your voice is an analog wave. The codec turns that wave into digital data, then shrinks it down to save space. Less data = less bandwidth used. But there’s a trade-off: the more you compress, the more quality you lose.

There’s no single "best" codec. It depends on your network. A small office with fiber internet? Use G.711 - it’s uncompressed, sounds like a landline, and uses 64 kbps. A remote team on shaky mobile hotspots? G.729 might be your only option - it cuts bandwidth to 8 kbps, but the voice sounds a bit robotic.

Here’s the catch: the codec bitrate isn’t the whole story. Every packet you send has extra baggage - IP, UDP, and RTP headers. Together, they add about 40 bytes per packet. That’s 40 bytes you didn’t pay for, but you still need to carry it.

The Real Bandwidth Formula (No Math Degree Needed)

You don’t need to be an engineer to calculate this. Just remember this simple formula:

  1. Start with the codec’s bitrate (e.g., G.711 = 64 kbps, G.729 = 8 kbps)
  2. Add the overhead: 40 bytes per packet × 8 bits = 320 bits per packet
  3. Figure out how many packets per second: 1000ms ÷ packetization interval (usually 10ms, 20ms, or 30ms)
  4. Multiply overhead per packet by packets per second
  5. Add that to the codec bitrate

Let’s do G.711 with 20ms packetization:

  • Codec bitrate: 64,000 bps
  • Packets per second: 1000 ÷ 20 = 50
  • Overhead per second: 40 bytes × 50 packets × 8 bits = 16,000 bps
  • Total bandwidth: 64,000 + 16,000 = 80 kbps per call

Now G.729 with 20ms packetization:

  • Codec bitrate: 8,000 bps
  • Packets per second: 50
  • Overhead per second: 16,000 bps
  • Total bandwidth: 8,000 + 16,000 = 24 kbps per call

Notice something? G.729’s overhead is the same as G.711’s - but because its base bitrate is so low, overhead makes up a much bigger chunk. That’s why you can’t just assume 8 kbps = 8 kbps total.

Remote worker with floating voice packets carrying backpacks, showing G.729 at 24 kbps on a shaky connection.

Codec Showdown: Bandwidth vs. Quality

Here’s what the real-world numbers look like across the most common codecs:

VoIP Codec Bandwidth and Quality Comparison
Codec Nominal Bitrate Total Bandwidth (20ms) MOS Score Best For
G.711 64 kbps 80 kbps 4.2 LANS, HQ calls, PSTN compatibility
G.722 48-64 kbps 64-70 kbps 4.5 Executive calls, HD audio, remote work
G.729 8 kbps 24-32 kbps 4.0 WAN links, limited bandwidth, call centers
iLBC 13.3-15.2 kbps 32 kbps 3.9 Unstable networks, packet loss
Opus 6-510 kbps (dynamic) 20-80 kbps (typical) 4.3-4.7 WebRTC, hybrid work, high quality
G.723.1 5.3-6.3 kbps 22-25 kbps 3.7-3.9 Legacy video conferencing, very low bandwidth

MOS (Mean Opinion Score) is a 1-5 scale where 5 is perfect. Anything below 3.5 feels bad. G.729 at 4.0 is acceptable. G.722 at 4.5? That’s what you hear on a premium Zoom call.

Why Everyone Gets This Wrong

Most VoIP failures come down to three mistakes:

  1. Ignoring overhead - People think G.729 = 8 kbps, so they budget 8 kbps per call. Reality? It’s 24-32 kbps. That’s a 300% underestimation.
  2. Using 10ms packets everywhere - Smaller packets mean more overhead. Switching from 10ms to 20ms can cut bandwidth by 20-30% with almost no quality loss.
  3. Not testing real-world conditions - Your lab has perfect Wi-Fi. Your users are on cell towers in basements. Always test with jitter and packet loss.

A 2023 survey of 287 managed service providers found that 63% of VoIP failures came from bad bandwidth estimates. G.711 was overprovisioned in 42% of cases - wasting money. G.729 was underprovisioned in 37% - causing dropped calls.

What to Choose and When

There’s no one-size-fits-all. Here’s how to pick:

  • Small office with fiber → Use G.722. Quality matters. Bandwidth is cheap.
  • Call center with 50+ agents → Use G.729. You need to fit as many calls as possible on a single line.
  • Remote workers on mobile data → Use Opus. It adapts to network conditions. If bandwidth drops, it automatically lowers bitrate without crashing.
  • Hybrid work with executives → Use G.722 or Opus. High-quality audio builds trust. Clients notice.
  • Legacy systems or video conferencing → G.723.1 might still be needed, but avoid it if you can. The 30ms delay causes echo.

And here’s a pro tip: Don’t just set it and forget it. Revisit your codec choices every 6-12 months. Fiber is getting cheaper. Wi-Fi 6 is everywhere. You might be able to upgrade from G.729 to G.722 now - and your team will thank you.

AI brain sorting colorful voice codecs like worms, with Lyra codec sign in background, symbolizing adaptive VoIP.

Tools to Make It Easy

You don’t have to calculate this by hand. Use these:

  • Cisco’s VoIP Bandwidth Calculator - Free spreadsheet. Downloaded over 47,000 times. Includes all codecs and overhead.
  • Telnyx’s Web-Based Calculator - Plug in your codec, packet size, and network type. Instant result.
  • VoIP-Info.org Codec Tool - Real-time comparison. Used daily by 1,200+ network admins.

These tools handle the math. You just pick the codec and packet size. They do the rest.

The Future: AI and Next-Gen Codecs

Things are changing fast. Cisco’s Unified Communications Manager 15.0 (released Oct 2023) now uses AI to auto-select codecs based on real-time network conditions. If bandwidth drops, it switches from G.722 to Opus without you lifting a finger.

And the IETF is testing Lyra - a new codec that promises G.729-level bandwidth (3 kbps) but with G.722 quality (MOS 4.1). If it launches, it’ll kill the low-bandwidth codec market overnight.

For now, stick with what works. But keep an eye out. The next big upgrade might not be your internet - it might be the codec behind your calls.

Final Checklist: Are You Ready?

  • ✅ Know your concurrent call count
  • ✅ Know your network bandwidth (upload speed, not download)
  • ✅ Pick a codec based on quality needs - not just cost
  • ✅ Use 20ms packetization unless you have a reason not to
  • ✅ Add 40 bytes per packet overhead
  • ✅ Test with real users on real networks
  • ✅ Re-evaluate every year

If you follow this, your VoIP calls won’t just work - they’ll sound better than your old landline.

How do I calculate bandwidth for 10 VoIP calls using G.729?

G.729 uses 8 kbps nominal. With 20ms packetization, you add 16 kbps overhead (40 bytes × 50 packets/sec × 8 bits). That’s 24 kbps per call. For 10 calls: 24 kbps × 10 = 240 kbps total. Always add 15-20% headroom for spikes - so plan for 280-300 kbps.

Is G.711 really that bad for bandwidth?

It’s not bad - it’s just heavy. G.711 uses 80 kbps per call with overhead. That’s twice what G.729 uses. If you have 100 concurrent calls, that’s 8 Mbps just for voice. On a 100 Mbps fiber line, it’s fine. On a 10 Mbps business cable line? You’ll choke your network. Use G.711 only if you have plenty of bandwidth and need top quality.

Why does Opus have such a wide bitrate range?

Opus is adaptive. It starts at 6 kbps on poor connections and scales up to 510 kbps if you have 100 Mbps fiber. It’s perfect for WebRTC and mobile apps. But that variability makes it hard to plan for - you can’t just say "Opus = 50 kbps." You need tools that monitor real-time usage.

Can I mix codecs in one system?

Yes, and you should. Most modern VoIP systems negotiate codecs automatically. Your executive’s call might use G.722. Your remote worker’s call might use Opus. Your call center agent might use G.729. The system picks the best match for each endpoint. Don’t force one codec on everyone.

What’s the biggest mistake people make with VoIP bandwidth?

They ignore packet overhead. They see G.729 = 8 kbps and think they need 8 kbps per call. They forget the 40-byte headers. That 8 kbps becomes 24-32 kbps. If you budget for 8, you’ll have constant call drops. Always add at least 16-24 kbps overhead per call - no exceptions.

VoIP codec bandwidth G.711 vs G.729 VoIP bitrate calculator codec overhead VoIP network planning
Michael Gackle
Michael Gackle
I'm a network engineer who designs VoIP systems and writes practical guides on IP telephony. I enjoy turning complex call flows into plain-English tutorials and building lab setups for real-world testing.

Write a comment