Pulse Code Modulation (PCM): How It Works, Types, Advantages, and Applications
Pulse code modulation (PCM) is a method for representing an analog signal—such as speech, music, or a sensor reading—as a sequence of binary numbers. It is one of the fundamental building blocks of digital audio and digital communications. In plain terms, PCM measures an analog waveform at regular intervals, rounds each measurement to an allowed level, and transmits or stores the resulting number. That simple process makes analog information easier to copy, process, store, encrypt, and transmit through digital systems. PCM remains important in audio interfaces, telephony, recording, measurement equipment, and many data-conversion systems.
What is pulse code modulation?
Pulse code modulation is an analog-to-digital conversion technique. An encoder takes samples of a continuously varying input signal and converts each sample into a fixed-length binary code word. A decoder can later use those code words to reconstruct an analog approximation of the original signal.
Despite the word modulation, PCM is not the same thing as an RF scheme such as AM, FM, or QAM. PCM describes how a signal’s amplitude is digitized. The PCM bitstream can then be carried by a separate physical or network transmission method.
At a high level, a PCM system follows this path:
Analog input → anti-alias filter → sampling → quantization → binary encoding → digital storage or transmission → decoding → reconstruction filter
How does PCM work?
The pulse code modulation process has three core stages: sampling, quantization, and encoding.
1. Sampling: measuring the waveform over time
An analog signal has a value at every instant. A PCM encoder instead measures its amplitude at evenly spaced instants. The number of measurements per second is the sampling rate, expressed in hertz (Hz) or samples per second.
To preserve a signal with a highest useful frequency of B Hz, the sampling rate must be greater than twice B. This is the Nyquist sampling criterion. In a real system, an anti-alias low-pass filter is used before sampling so frequencies above the usable band do not fold into the sampled signal as distortion.
For example, traditional narrowband telephone voice is commonly sampled at 8,000 samples per second. The ITU-T G.711 voice PCM standard uses this 8 kHz sampling rate and creates a 64 kbit/s stream from 8-bit code words.
2. Quantization: assigning each sample to a level
Each sampled amplitude can theoretically take any value, but a digital system must choose from a finite set of values. Quantization rounds the sample to its nearest available level.
If each sample uses n bits, the encoder can represent 2^n quantization levels. More bits create more levels and normally reduce the rounding error known as quantization noise. A 16-bit linear PCM sample has 65,536 possible code values; a 24-bit sample has 16,777,216.
Quantization is the deliberately lossy step in ordinary PCM. Once a sample has been rounded, the exact original amplitude is not retained. Increasing bit depth generally improves the achievable signal-to-noise ratio and dynamic range, assuming the analog circuitry is equally capable.
3. Encoding: turning levels into bits
Finally, the chosen quantization level is encoded as a binary number. For linear PCM, each code word directly represents an amplitude level. The bitstream can be stored in a file, placed into audio frames, or sent over a digital link.
At the receiving end, the decoder converts each code word back into a sample value. A digital-to-analog converter and reconstruction filter then produce a continuous output waveform.

Pulse Code Modulation sampling rate, bit depth, and bitrate
Three related specifications determine the basic quality and data rate of uncompressed PCM audio:
| Term | What it controls | Typical effect when increased |
|---|---|---|
| Sampling rate | How often the waveform is measured | Captures a wider frequency range |
| Bit depth | How many amplitude levels each sample can use | Reduces quantization noise and increases dynamic-range potential |
| Channels | Number of independent audio signals | Adds spatial information and increases data rate |
For uncompressed, linear PCM, the raw audio bitrate is:
Bitrate = sampling rate × bit depth × number of channels
For stereo audio at 44.1 kHz and 16 bits per sample:
44,100 × 16 × 2 = 1,411,200 bit/s, or about 1.411 Mbit/s before container and transport overhead.
Types of Pulse Code Modulation
- Linear PCM (LPCM) – In linear PCM, the spacing between quantization levels is uniform. Each step represents the same amplitude increment. LPCM is common in professional audio workflows, WAV and AIFF files, audio interfaces, digital mixers, and optical-disc formats.
- Nonlinear PCM and companding – Nonlinear PCM gives more effective precision to quieter signals and less to louder ones. This approach is useful for speech because human hearing is more sensitive to errors at low signal levels. A compressor at the encoder and an expander at the decoder perform companding. The two well-known G.711 companding laws are μ-law and A-law. Both use 8-bit code words at 8 kHz for standard 64 kbit/s narrowband voice channels.
- Differential PCM (DPCM) – Differential PCM (DPCM) encodes the difference between a sample and a predicted value rather than the full sample value. When adjacent samples are similar, the difference may need fewer bits than the absolute amplitude.
- Adaptive differential PCM (ADPCM) – Adaptive differential PCM (ADPCM) changes its prediction or quantizer characteristics as the signal changes. It can reduce bitrate while maintaining acceptable quality for speech and other applications.
Advantages of PCM
- Strong noise immunity: Digital repeaters can regenerate recognized 0s and 1s instead of amplifying accumulated analog noise.
- Consistent copies: PCM data can be duplicated without generation-to-generation degradation when transmission errors are controlled.
- Straightforward processing: Digital systems can filter, mix, analyze, encrypt, compress, and route PCM data efficiently.
- Predictable quality: Sampling rate and bit depth make the representation easy to specify and compare.
- Interoperability: Long-established formats and standards support PCM across audio, telephony, and industrial equipment.
Disadvantages and limitations of PCM
- Higher data rates: Raw PCM normally consumes more bandwidth and storage than compressed codecs.
- Quantization noise: Finite bit depth introduces rounding error.
- Aliasing risk: Insufficient sampling or poor input filtering can permanently introduce distortion.
- Clock requirements: Transmitters and receivers need reliable timing and synchronization.
- No semantic compression by default: Standard PCM represents samples directly; it does not remove information based on speech or hearing models.
Where is pulse code modulation used?
PCM is used wherever an analog signal must become dependable digital data. Common examples include:
- Digital audio recording, production, and playback
- Telephony and VoIP gateways
- Consumer media and uncompressed audio tracks
- Sensor measurement and data-acquisition systems
- Medical, scientific, and industrial instrumentation
- Embedded systems using analog-to-digital converters
- Digital transmission and multiplexing systems
PCM vs. analog modulation: what is the difference?
Analog modulation continuously varies a property of a carrier or pulse in proportion to the source signal. PCM instead creates discrete numerical code words that represent samples of the source.
PCM makes the information digital; a transmission scheme determines how those bits move through cable, fiber, radio, or an IP network.
PCM vs. DPCM vs. ADPCM
| Method | What is encoded | Main benefit | Typical trade-off |
|---|---|---|---|
| PCM | Each sample’s amplitude | Simple, predictable representation | Higher raw bitrate |
| DPCM | Difference from a predicted sample | Can use fewer bits for correlated signals | Prediction errors and added complexity |
| ADPCM | Differential signal with adaptive behavior | More efficient for many voice signals | Lossy and more complex to encode/decode |
How to choose PCM settings
- Set the frequency range first. Choose a sampling rate above twice the highest frequency you need, with room for practical filter design.
- Choose bit depth for noise and dynamic-range needs. More bits improve low-level detail but increase data size.
- Count channels. Mono, stereo, and multichannel audio multiply the data rate.
- Check the full format. Confirm sample format, byte order, channel ordering, and framing.
- Plan for transmission overhead. Real-time and networked audio need bandwidth beyond the raw PCM calculation.
Final take: why PCM still matters
Pulse code modulation is the bridge between continuously varying physical signals and digital systems. Its sampling, quantization, and binary encoding stages provide a clear, dependable representation that supports high-quality audio, interoperable voice communications, and countless measurement applications. Whether you are designing an audio product, specifying a VoIP system, or learning digital communications, start with the three PCM essentials: sample fast enough for the signal bandwidth, use enough quantization levels for the required fidelity, and account for the resulting data rate.