← Back to blog

VoIP Codecs Compared: G.711, G.729, Opus and More

November 3, 2026
VoIP Codecs Compared: G.711, G.729, Opus and More

For most small businesses with a decent internet connection, the answer is simple: use Opus where your phones and provider support it, use G.711 as the dependable fallback, and keep G.729 for links that are genuinely short on bandwidth. The codec is the piece of software that turns your voice into data and back again, so it decides how clear a call sounds and how much of your connection each call consumes. This guide compares the codecs you will actually meet on a business phone system and shows how to match them to your office.

PJL Telecom
Keep Business Calls Clear and Predictable
PJL Telecom offers flat-rate business phone systems with call recording, conferencing, and real human support included.
Explore PJL Telecom

TL;DR

  • G.711 is the universal baseline: 64 kbps, clear but narrowband, best when bandwidth is not a constraint, such as inside an office network.
  • G.729 is the bandwidth saver: about 8 kbps of audio, a good fit for slow or shared links, with a noticeable quality trade-off.
  • Opus adapts its bitrate to network conditions and supports wideband audio, so it is the best choice for quality when both ends support it.
  • Matching matters more than ranking. If two devices share no codec, the call fails or needs transcoding, which adds delay.
  • Check the exact phone model. Datasheets list supported codecs, and some phones have rules about codec priority.

Table of Contents

What a VoIP codec actually does

Every VoIP call starts as sound waves. Your phone samples that sound, compresses it with a codec, sends it as small packets over the internet, and the receiving device decompresses it. The word comes from "coder-decoder."

Two things follow from that. First, both ends have to speak the same codec. LiveKit's telephony documentation says that endpoints must support the same codec to exchange audio, otherwise the exchange may fail or need external transcoding. Second, every codec is a trade between quality, delay and network use. The same documentation frames codec choice as balancing quality, latency and network efficiency, with uncompressed approaches offering fidelity at the cost of more bandwidth.

In practice, you rarely pick a codec call by call. Your phone system and your handsets negotiate one from a priority list at the start of each call. Your job is to decide what goes on that list and in what order.

The main codecs side by side

Here is how the common options compare on the points that matter to a small office. Bitrates are the commonly published figures for each codec; real network use per call is higher once packet headers are added.

CodecAudio bitrateAudio typeBest forMain trade-off
G.711 (PCMU/PCMA)64 kbpsNarrowbandOffice LANs, broad compatibilityHighest bandwidth of the three, no wideband mode
G.72248 to 64 kbpsWideband (HD voice)Desk phones on good connectionsNot every carrier or trunk accepts it
G.7298 kbpsNarrowband, compressedSlow or shared internet linksLower fidelity, extra load when transcoded
OpusAdaptive, from about 6 kbps upwardNarrowband to full-bandModern apps and HD callingNeeds support at both ends

Narrowband codecs carry only a limited range of sound frequencies, which is why a G.711 call sounds like a classic phone call. Wideband codecs such as G.722 and Opus carry more of the spectrum, which makes consonants like "s" and "f" easier to tell apart. That is the "HD voice" you hear about.

G.711 vs G.729: quality against bandwidth

This is the comparison most readers come for, and the logic is straightforward.

G.711 sends uncompressed-quality telephone audio at 64 kbps in each direction. It is the codec of the traditional phone network, so nearly every provider, phone and gateway supports it. It needs little processing power, which keeps delay low. With packet overhead, a single call lands somewhere around 80 to 90 kbps each way, a commonly cited working figure.

G.729 squeezes the same call into about 8 kbps of audio, roughly 30 kbps once overhead is added. That is a big saving when many calls share a thin connection, such as a branch office on a weak line or a rural site on a limited plan. The cost is audio quality: compression removes detail, and music on hold or a noisy room comes through worse.

G.711 and G.729 bitrate and overhead comparison

There is a second cost that people overlook. If one side uses G.711 and the other G.729, something in the middle has to convert between them. That conversion, called transcoding, adds latency and uses processing power. A system that avoids transcoding by agreeing on one codec end to end will almost always sound better than one that mixes them.

A worked example

Take an office that expects ten simultaneous calls at peak.

  • With G.711 at roughly 87 kbps per call, that is about 870 kbps of upload and the same of download, well under 1 Mbps each way.
  • With G.729 at roughly 31 kbps per call, the same ten calls need about 310 kbps each way.

On a modern business internet connection, either figure is small. The G.711 load only becomes a problem when the connection is already crowded by video meetings, backups or a slow upload speed. That is why the usual advice is that G.711 suits links where bandwidth is not a constraint and G.729 suits limited links. If you are not sure which side you are on, test your upload speed during your busiest hour, not at 7 a.m.

Opus vs G.711: the modern choice

Opus is the codec built for the internet rather than inherited from the old phone network. Two features set it apart.

  1. Wideband quality. The XMPP Standards Foundation's codec specification describes Opus as offering extremely high quality and wideband audio, while G.711 is widely deployed and good, but has no wideband mode.
  2. Adaptive bitrate. Opus can raise or lower its bitrate as the network changes. When congestion appears, it can back off instead of letting packets drop, so a call degrades gently rather than breaking up.

Independent listening tests point the same direction. A Linköping University study that evaluated perceived speech quality found that Opus achieved a higher quality score than the G.729D variant. Opus gives you quality at a bitrate in the same neighborhood as G.729, which is why it is so popular in apps and softphones.

So why not use Opus everywhere? Compatibility. G.711 is accepted by almost any carrier, analog adapter or older handset. Opus requires support at both ends of the call. That makes the practical setup:

  • Opus first for calls between your own phones and apps.
  • G.711 as the fallback for outside carriers and older equipment.
  • G.729 only if a slow link forces you to.

Network conditions decide what you hear

Codec choice cannot fix a bad network. Packet loss, jitter (uneven arrival times) and delay all hurt call quality, and they hurt compressed codecs more, since each lost packet carries a larger share of the information. Before you blame a codec for choppy calls, look at the basics:

  • Wired phones where possible. Wi-Fi interference is a leading cause of robotic audio.
  • Quality of service on the router. Prioritize voice traffic so a large upload does not crowd out a call.
  • Enough upload speed. Cable and DSL connections often have far less upload than download.
  • Separate voice from heavy traffic with a dedicated network segment where your equipment allows it.

If your connection really is limited, the sensible response is to turn off G.711 for those users and let their phones use Opus or G.729 instead. Our managed setup includes proactive network monitoring, so we see these problems before your staff report them.

Phones and codec support: Grandstream and other desk phone lines

People often ask how phone brands differ on codecs. The honest answer is that the major business desk phones all cover the core list. Grandstream's datasheet for its WP836 cordless Wi-Fi phone lists G.729A/B, G.711, G.726, G.722, G.723, iLBC and Opus, which spans every codec in the table above. The same breadth runs across the Grandstream desk phone families we supply.

What differs between brands and models is the fine print:

  • Codec priority rules. Some phones restrict which codecs can sit at the top of the list, or treat Opus differently from simpler codecs.
  • Number of Opus streams. Certain models handle only a single Opus stream, which matters for conferencing and multi-line use.
  • Wideband on every line. Check that HD voice works on the handset's speakerphone and headset port too, not just the handset.
  • Firmware. Codec behavior can change between firmware versions, so a managed system should keep phones updated.

Before you buy any phone, read the datasheet for that exact model, not the product family. Our pre-configured Grandstream desk and cordless phones arrive set up for your system, so codec order is handled before the phone reaches your desk. You can see the categories on our phone and accessories page, including desk phones, conference phones, cordless DECT handsets and analog adapters.

Interoperability and transcoding

The cleanest call is one codec from handset to handset. The messiest is a chain of mismatches: an Opus app calling through a trunk that accepts only G.711, then reaching an analog line through an adapter. Each hop where codecs differ is a place for transcoding to add delay.

To keep chains short:

  1. List the codecs your phones, apps and adapters support.
  2. Order your phone system's codec list so the best shared option comes first.
  3. Keep G.711 enabled so outside calls and legacy gear can always connect.
  4. Remove codecs you never want used, so a call cannot quietly fall into a poor one.

When you are also comparing who will host and manage all of this, it helps to see how comparing cloud phone providers plays out on features and pricing, since codec handling is one line on a longer checklist.

Choosing a codec by type of business

Small office with 5 to 50 staff on business internet. Opus on phones and apps, G.711 as fallback. Bandwidth is rarely the issue; call quality and compatibility are.

Home office. Opus on your app and desk phone. If your home upload is weak and shared with video calls, a lower-bitrate codec helps during busy hours.

Hotels and motels. Guest-room phones are simple, often analog behind adapters, and they connect to a front desk and outside lines. G.711 is usually the right default because it works with analog adapters and every carrier, while front-desk and staff phones can use wideband. Our guide to VoIP for hotels and hospitality goes deeper on this setup.

Non-profits and schools. Many sites have several buildings and uneven connections. A mix works well: wideband inside the main office, a compressed codec on the weakest link. Our article on VoIP for non-profit organizations covers the budget side.

Public safety contexts. Clear audio and reliability matter most there. Read about VoIP for law enforcement for the requirements that shape those deployments.

A quick checklist before you change anything

  • Know your peak simultaneous calls, not your headcount.
  • Test upload speed at busy times.
  • Confirm every phone model's codec list on its datasheet.
  • Put the best shared codec first and keep G.711 enabled.
  • Run a few test calls to a mobile number and a landline after any change.
  • Record which change you made and when, so you can undo it.

What we think about codecs

Most small businesses should never have to think about codecs, and that is the way we like it. We hear the same story from owners again and again: a system gets sold on a list of features, then calls sound thin or choppy and nobody can say why. Usually the cause is a mismatch, a phone with the wrong codec order, a weak link nobody measured, or a trunk forcing a conversion.

That is why we set up every system ourselves. Our phones arrive pre-configured, we pick the codec order that suits your phones and your connection, and our proactive network monitoring helps us catch trouble early. When something sounds off, you reach a real person, any hour, and system changes and support calls are handled the same day.

It is also why we do not charge per user. Moving your staff to wideband audio, adding a conference line or bringing on a new hire should never turn into a pricing conversation. One flat rate covers the whole team and all the features.

Preston

Get the right codecs without doing the homework

If you would rather have an expert handle this, our flat-rate plans cover it. The Business plan starts at $125 per month for unlimited users with no per-user fees, and the Home Office plan is $25 per month. Call recording, conferencing, auto-attendants, voicemail-to-email and spam call protection are included, and setup is free with no contracts. See plans and pricing.

PJL Telecom

Running a property? Our hotel phone systems start at $125 per month per property, with matching motel phone systems and guest room and staff phones for the front desk and rooms.

FAQ

Is G.711 or G.729 better?

Neither is better in every case. G.711 sounds clearer and is accepted almost everywhere, so it suits office networks with spare bandwidth. G.729 uses far less bandwidth, so it suits slow or shared links. Avoid mixing them in one call path, because transcoding adds delay.

Is Opus better than G.711?

For sound quality and flexibility, generally yes. Opus supports wideband audio and adapts its bitrate when the network gets congested. G.711 wins on compatibility, since almost every carrier and older device accepts it. Using Opus first and G.711 as a fallback gives you both.

What happens if two phones do not share a codec?

The call may fail to connect, or something in the middle has to convert the audio between formats. That conversion, called transcoding, adds latency and uses processing power. Keeping one common codec enabled on every device avoids both problems.

Does the phone brand change call quality?

Mainly through the details: which codecs a specific model supports, how it handles codec priority, and whether it runs current firmware. Grandstream phones support the full range of common codecs, including G.711, G.729, G.722 and Opus. Always check the datasheet for the exact model you plan to buy.

Sources