WAV (Waveform Audio) Format — Complete Guide
What Is WAV?
WAV (Waveform Audio File Format) is Microsoft's standard format for storing uncompressed, pulse-code modulated (PCM) audio data on Windows. Introduced in 1991 as part of the RIFF specification, WAV is the most universally compatible audio format — readable by every audio application, every operating system, every digital audio workstation, and virtually every hardware device that handles audio.
WAV files store raw, uncompressed audio samples in linear PCM (Pulse Code Modulation), making them mathematically identical to the original analog signal within the limits of the sample rate and bit depth. There is no compression, no codec, no encoding artefacts — just raw numbers representing amplitude at regular time intervals.
RIFF Structure of WAV Files
WAV is a RIFF (Resource Interchange File Format) file with a specific chunk layout:
RIFF chunk
├─ 'WAVE' identifier — marks this as a WAV file
├─ fmt chunk (16–40 bytes) — audio format description
│ ├─ wFormatTag (2 bytes) — codec (1 = PCM; 3 = IEEE float; 65534 = extensible)
│ ├─ nChannels (2 bytes) — number of audio channels (1=mono, 2=stereo, 6=5.1...)
│ ├─ nSamplesPerSec (4 bytes) — sample rate (e.g., 44100, 48000, 96000)
│ ├─ nAvgBytesPerSec (4 bytes) — data rate = nSamplesPerSec × nBlockAlign
│ ├─ nBlockAlign (2 bytes) — bytes per sample frame = nChannels × (wBitsPerSample/8)
│ └─ wBitsPerSample (2 bytes) — bit depth (8, 16, 24, 32)
├─ data chunk — raw PCM sample data (the actual audio)
└─ optional chunks: fact, cue, LIST INFO, smpl, bext (broadcast extension)
WAV Extensible Format (WAVE_FORMAT_EXTENSIBLE)
For multichannel audio beyond 2 channels or bit depths above 16 bits, WAV uses the WAVE_FORMAT_EXTENSIBLE structure (wFormatTag = 0xFFFE) with additional fields:
wValidBitsPerSample— actual bits used (e.g., 24 in a 32-bit container)dwChannelMask— speaker position mapping for multichannel audio (FL, FR, C, LFE, BL, BR, etc.)SubFormat— 16-byte GUID identifying the actual codec (PCM or IEEE float)
This extensible format supports 5.1, 7.1, and other multichannel configurations with explicit speaker assignments.
PCM Data: How Audio Is Stored
Sample Rate
The sample rate defines how many times per second the analog signal's amplitude is measured:
| Sample Rate | Use Case |
|---|---|
| 8,000 Hz | Telephone quality, voice over IP (SILK) |
| 11,025 Hz | Legacy low-quality audio (very old games) |
| 22,050 Hz | AM radio quality; streaming voice |
| 44,100 Hz | CD quality — standard for music, podcasts |
| 48,000 Hz | Professional audio/video standard — all broadcast, video production, DAWs |
| 88,200 Hz | High-resolution audio; 2× CD rate |
| 96,000 Hz | Hi-res audio standard — studio recording |
| 176,400 Hz | Ultra-hi-res; mastering only |
| 192,000 Hz | Ultra-hi-res; mastering; SACD equivalent |
The Nyquist-Shannon theorem states that sample rate must be at least twice the maximum reproducible frequency. At 44,100 Hz, frequencies up to 22,050 Hz are captured — well above human hearing (20 kHz ceiling). 48,000 Hz and above provide additional headroom for digital processing without aliasing.
Bit Depth
Bit depth determines the dynamic range — the ratio between the loudest and quietest representable sound:
| Bit Depth | Dynamic Range | Noise Floor | Common Use |
|---|---|---|---|
| 8-bit | 48 dB | Audible hiss | Legacy games, telephone (µ-law/A-law) |
| 16-bit | 96 dB | Below hearing threshold | CD audio; consumer audio |
| 24-bit | 144 dB | Theoretical silence | Studio recording; professional audio |
| 32-bit int | 192 dB | Theoretical | Rare; extreme headroom |
| 32-bit float | ~1,528 dB* | Theoretical | DAW internal processing |
| 64-bit float | ~Infinite practical | Theoretical | High-precision scientific audio |
*32-bit float uses IEEE 754 floating-point representation with 24 bits of mantissa + exponent, providing enormous dynamic range but values outside [−1.0, +1.0] clip during D/A conversion.
Integer vs. Floating-Point PCM
WAV supports both integer PCM and IEEE 754 floating-point PCM (wFormatTag = 3):
- Integer PCM: Values are fixed-range integers (e.g., −32768 to +32767 for 16-bit). Efficient; universally compatible; required for CD burning and hardware playback.
- Float PCM: Values are IEEE floating-point numbers. Range is nominally [−1.0, +1.0] but can temporarily exceed it (headroom for intermediate processing). Clipping occurs at D/A conversion if values exceed ±1.0. Used internally in DAWs and audio processing chains where intermediate results must not be clipped.
File Size
WAV file size is directly calculable:
Size (bytes) = sample_rate × (bit_depth / 8) × channels × duration_seconds
Examples:
- 1 minute of CD-quality stereo (44.1 kHz, 16-bit, 2ch): 44100 × 2 × 2 × 60 = 10.1 MB
- 1 minute of 24-bit/96 kHz stereo: 96000 × 3 × 2 × 60 = 33.8 MB
- 1 hour of CD-quality stereo: 635 MB
- 1 hour of 24-bit/96 kHz stereo: 2.03 GB
Broadcast WAV (BWF) — Professional Extension
The Broadcast Wave Format (BWF) is an extension of WAV standardised by the European Broadcasting Union (EBU R98, 2001) for broadcast audio production. BWF adds a bext (Broadcast Audio Extension) chunk containing:
Description(256 chars) — free-text descriptionOriginator(32 chars) — creator or deviceOriginatorReference(32 chars) — unique reference IDOriginationDate(10 chars) — YYYY-MM-DDOriginationTime(8 chars) — HH:MM:SSTimeReference(8 bytes) — sample count offset from midnight (allows synchronisation without SMPTE timecode hardware)Version(2 bytes) — BWF version (0 = original; 1 = umid; 2 = loudness metadata)UMID(64 bytes) — Unique Material Identifier (unique worldwide ID for broadcast content)LoudnessValue,LoudnessRange,MaxTruePeakLevel, etc. — EBU R128 loudness metadata (BWF v2)CodingHistory— text log of all processing applied to the file
BWF is used by professional audio recorders (Zoom, Sound Devices, Tascam), broadcast workstations, and radio production systems as the standard interchange format.
RF64: The WAV Extension for Large Files
Standard WAV uses RIFF with 32-bit size fields — limiting file size to 4 GB. At 24-bit/96 kHz stereo, 4 GB is only ~5 hours 44 minutes.
RF64 (EBU R125, 2009) extends WAV with 64-bit addressing using a ds64 chunk:
- Replaces the RIFF identifier with
RF64for files > 4 GB - 64-bit size fields allow files up to 16 EB
- Fully backward-compatible with applications that support it
- Used by professional multi-track recording sessions
Metadata in WAV
INFO Chunk (LIST INFO)
Basic metadata in a LIST INFO chunk using 4-character codes:
INAM— TitleIART— ArtistIPRD— AlbumICRD— YearIGNR— GenreICMT— CommentICOP— Copyright
ID3 Tags in WAV
Modern WAV files often embed ID3 tags (the same standard used in MP3) via an id3 chunk (with trailing space). This provides full modern metadata (album art, track number, BPM, lyrics, ReplayGain) within the WAV container.
Advantages of WAV
- Maximum compatibility — plays on every audio device, workstation, operating system, and hardware interface without codecs
- Lossless and exact — no compression, no artefacts; mathematically identical to the source
- DAW native format — all digital audio workstations (Pro Tools, Logic Pro, Ableton, Reaper, Cubase) use WAV as their internal format
- Hardware I/O — audio interfaces output and record WAV data directly; no codec overhead
- Simple structure — trivial to parse; audio data starts at a known offset (no codec initialization)
- Precise timing — sample-accurate timing via TimeReference in BWF; essential for audio post-production sync
Disadvantages of WAV
- Large file sizes — 10 MB/minute (CD quality) to 34 MB/minute (24-bit/96 kHz); significant storage requirement for large libraries
- Limited metadata — INFO chunk metadata is minimal; ID3 in WAV is an afterthought vs. FLAC's native Vorbis Comments
- No compression — FLAC achieves 40–60 % size reduction without any quality loss
- 4 GB limit — base WAV format truncates at 4 GB; requires RF64 for longer recordings
- No chapters or cue points — professional DAWs work around this with companion
.ptx(Pro Tools) or.als(Ableton) project files
WAV vs. FLAC: When to Use Each
| Criterion | WAV | FLAC |
|---|---|---|
| Audio quality | Identical | Identical |
| File size | Full (uncompressed) | 40–60% smaller |
| Metadata | Basic (INFO/ID3) | Comprehensive (Vorbis Comments) |
| Compatibility | Maximum | Excellent (not all hardware) |
| DAW native format | Yes (most DAWs) | Limited |
| Streaming | No | Limited |
| BWF professional features | Yes | No |
| Maximum file size | 4 GB (4 GB+ with RF64) | > 4 GB native |
Use WAV for: recording, DAW sessions, audio interface I/O, CD burning, broadcast production Use FLAC for: music library archival, storage-constrained environments, sharing
Converting WAV Files
WAV → MP3/AAC/OGG: Encode to lossy format for distribution; permanent quality reduction; use WAV as archive master WAV → FLAC: Lossless compression; identical audio data; smaller files; recommended for library storage WAV → AIFF: Mac-native equivalent; same PCM data, Apple chunk structure; for Logic Pro and GarageBand workflows MP3/AAC → WAV: Decode to PCM; preserves lossy artefacts; use as intermediate for editing, not as quality improvement
Related conversions
Audio format pairs that come up most often: