Encyclopedia
2026-03-28 17:59:14

What Is G.711 Codec? Audio Benefits, Technical Features, and Applications

G.711 is a widely used classic voice codec for both PSTN and VoIP. Understand the working principles of A-law and μ-law, their audio advantages, bandwidth trade-offs, technical characteristics, and common applications in modern telephone systems.

Becke Telcom

What Is G.711 Codec? Audio Benefits, Technical Features, and Applications

G.711 is a narrowband PCM voice codec with a rate of 64 kbit/s, using the A-law or μ-law variant. Deployment requires matching the negotiated format and calculating packet overhead rather than treating the codec rate as the total call bandwidth.

How Does G.711 Work?

G.711 uses pulse code modulation, usually shortened to PCM. The basic process is straightforward. Speech is sampled, converted into digital values, then represented as 8-bit words. Instead of keeping the signal in a purely linear form, G.711 applies companding. That means quieter sounds and louder sounds are mapped in a way that improves practical speech representation within a limited number of bits.

This is where A-law and μ-law enter the picture. They are two logarithmic companding methods used to encode speech efficiently within the G.711 framework. The codec therefore stays relatively simple while still delivering voice quality that has long been considered acceptable for standard telephony.

G.711 survives not because it is fashionable, but because it is dependable. In voice networks, dependable often beats elegant.

G.711: workflow diagram
Concept illustration; it does not represent product specifications or test results.

Technical Features of G.711

G.711 looks simple on the surface, but there are several technical details that matter in real projects.

64 kb/s codec bit rate

The nominal codec rate is 64 kb/s. This is one of the first figures engineers remember about G.711, and it is also the first reason people compare it with more compressed codecs such as G.729. The trade-off is clear: G.711 usually gives better simplicity and lower codec delay, but it consumes more bandwidth.

8 kHz clocking and 8-bit sample representation

In RTP environments, G.711 is associated with an 8,000 Hz clock rate. Its PCMA and PCMU forms encode audio as 8-bit samples after logarithmic scaling. That makes the codec narrowband rather than wideband, which is why it sounds like traditional telephony rather than modern full-band audio.

A-law and μ-law variants

A-law and μ-law are not optional cosmetic labels. They must match the expectations of the far end or be converted correctly by the network element handling the call. A mismatch here can lead to failed negotiation, unnecessary transcoding, or poor interoperability with carrier trunks and gateways.

Static RTP payload mapping

In classic RTP use, PCMU is mapped to payload type 0 and PCMA to payload type 8. This small detail matters in SIP and RTP troubleshooting because it appears directly in SDP offers and packet captures. For engineers working with SIP trunks, SBCs, and PBX interconnection, knowing these values can speed up diagnosis when media negotiation goes wrong.

Common 20 ms packetization

Many systems use 20 ms packetization by default. For G.711, that usually means 160 bytes of voice payload per packet. It is a practical balance used widely in IP telephony because it keeps packet overhead, jitter-buffer behavior, and latency within a familiar range for most business deployments.

Actual network bandwidth is higher than 64 kb/s

The codec itself runs at 64 kb/s, but real IP transport consumes more than that because RTP, UDP, IP, and Layer 2 headers are added on top of the voice payload. This is one of the most common misunderstandings in VoIP planning. G.711 is not just “64 kb/s per call” once real packet overhead is included in the design.

G.711 vs More Compressed Codecs

G.711 is often compared with codecs such as G.729, Opus, or other modern alternatives. The right choice depends less on theory and more on the actual network and business objective.

  • Choose G.711 when you want broad compatibility, low codec delay, straightforward troubleshooting, and enough bandwidth to carry calls comfortably.

  • Choose a more compressed codec when bandwidth is limited, mobile or WAN conditions are more difficult, or the platform supports more advanced optimization without sacrificing interoperability.

In many enterprise environments, G.711 still wins simply because the LAN is strong, the SIP devices already support it, and call quality problems are more likely to come from packet loss or jitter than from the codec itself. In other words, if bandwidth is not the bottleneck, using a simple and widely supported codec often makes operational sense.

Where Is G.711 Commonly Used?

  • IP PBX and SIP telephony: G.711 is widely used in enterprise IP telephony, including desk phones, softphones, SIP servers, hosted PBX platforms, and on-premises IP PBX systems. It is often the codec people leave enabled when they want the system to “just work” with the broadest range of SIP endpoints.
  • SIP trunk and carrier interconnection: Many SIP trunk environments support or prefer G.711, especially PCMU in certain regions. This makes it a common baseline codec for interconnection between enterprise phone systems and service provider networks.
  • Gateways between analog, TDM, and IP worlds: Media gateways frequently use G.711 when bridging legacy telephony equipment and IP voice platforms. This includes analog adapters, FXS/FXO gateways, PRI gateways, and hybrid PSTN-VoIP migration projects. Because G.711 aligns well with traditional telephony behavior, it is often the safest media choice in mixed networks.
  • Fax pass-through scenarios: Although T.38 is the dedicated standard for many fax-over-IP deployments, G.711 still appears in fax pass-through scenarios. In practice, some installations use G.711 pass-through when T.38 is unavailable, not supported end to end, or not stable across all network segments.
  • Browser and WebRTC interoperability: G.711 also remains relevant because PCMA and PCMU are part of the baseline codec set required for WebRTC interoperability. That makes the codec useful in voice systems that connect browsers, softphones, and legacy SIP infrastructure.
  • Industrial and operational communications: In industrial telephony, emergency intercom, paging, help points, dispatch consoles, and gateway-based voice systems, G.711 is still a practical choice when the network is managed and stable. Its main appeal in these projects is not novelty; it is predictability across multiple vendors and device types.

Deployment Considerations

Choosing G.711 is easy. Designing well around it is where the real work begins.

Bandwidth planning matters

Because G.711 is not a low-bit-rate codec, WAN sizing and concurrent call planning must be done carefully. On a healthy LAN this may not feel important, but on branch links, VPN tunnels, or multi-site voice networks it becomes very important very quickly.

QoS still matters

Even a simple codec cannot rescue a bad network. If jitter, latency, packet loss, or queue congestion are present, G.711 calls will still sound bad. Engineers sometimes blame the codec when the real issue is weak QoS policy, poor routing, or insufficient upstream bandwidth.

A-law and μ-law selection should be intentional

Codec negotiation problems are often less about G.711 itself and more about using the wrong regional variant or forcing avoidable transcoding. For international SIP trunking and multi-country deployments, being explicit about PCMA versus PCMU helps keep media behavior consistent.

Avoid unnecessary transcoding

If the call path already starts and ends on G.711-capable devices, keeping the media in G.711 is often the cleanest design. Unnecessary transcoding adds complexity, consumes DSP or CPU resources, and can make troubleshooting harder than it needs to be.

For a one-way G.711 stream with 20 ms packets, 160 bytes of audio plus 40 bytes of basic IPv4/UDP/RTP headers at 50 packets/s gives 80 kbit/s. This excludes Ethernet, VLAN, security, VPN, RTCP, and other overhead. Size both directions and simultaneous calls.

G.711: device illustration
Concept illustration; it does not represent product specifications or test results.

FAQs

What is the difference between G.711 A-law and μ-law?

They use different companding laws. μ-law is common in North America and Japan, while A-law is common in many other countries. The choice is usually driven by interoperability requirements rather than by a dramatic user-facing quality gap.

Is G.711 good for VoIP?

Yes, especially when bandwidth is available and interoperability is important. It is one of the most widely supported codecs in SIP phones, PBX systems, gateways, and carrier interconnection.

Does G.711 support HD voice?

Not in the way wideband codecs do. G.711 is typically associated with traditional narrowband telephony. If the goal is a wider audio range, codecs such as G.722 or Opus are usually better choices.

Why is G.711 still used if newer codecs exist?

Because it is simple, widely supported, low in codec delay, and easy to interoperate across mixed telephony systems. In many business networks, those advantages still outweigh the benefit of heavier compression.

Related products and technical resources

Related technical reading

Recommended Products
catalogue
customer service Phone
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .