---
title: "What is a WAV file? PCM audio and file size math | BroadRouter"
description: "WAV is the RIFF-based audio container that usually holds uncompressed PCM. What is inside, how to work out file size, and how much 16 kHz mono audio fits a cap."
url: https://broadrouter.com/glossary/wav/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# WAV

Updated 2026-11-15

WAV (Waveform Audio File Format, or WAVE) is an audio container built on Microsoft and IBM's RIFF format. It usually holds uncompressed linear PCM samples, so its size is predictable: sample rate times bytes per sample times channels, per second.

Also called: WAV file, PCM WAV

WAV is the plain format of audio: big, simple, and accepted almost everywhere.

## How it works

The Library of Congress describes WAVE as a “wrapper file format” built on RIFF (Resource Interchange File Format), developed by Microsoft and IBM, with a joint specification dated August 1991. A WAV file holds a format description and the audio data. The most common encoding is linear PCM: raw samples, no compression. Standard WAVE is limited to about 4 GB; the RF64 extension exists to go beyond that.

Because PCM is uncompressed, size is simple arithmetic:

`bytes per second = sample rate × bytes per sample × channels`

For speech-to-text audio at 16 kHz, mono, 16-bit (2 bytes):

| Step | Value |
| --- | --- |
| 16,000 samples × 2 bytes × 1 channel | 32,000 bytes per second |
| 26,214,400 bytes ÷ 32,000 | 819.2 seconds |
| 819.2 ÷ 60 | about 13.65 minutes (13 min 39 s) |

A stereo 44.1 kHz file of the same length is 44,100 × 2 × 2 = 176,400 bytes a second, more than five times larger, with no gain for transcription.

## Why it matters

-   **Byte caps, not minute caps.** Transcription APIs often limit file size. With WAV you can predict exactly how much audio fits.
-   **No codec surprises.** PCM WAV decodes the same everywhere, so it is a safe target when you convert from [Ogg Opus](https://broadrouter.com/glossary/ogg-opus/), M4A or video.
-   **Resample down.** Higher [sample rates](https://broadrouter.com/glossary/sample-rate/) and stereo add bytes, not words.

## On BroadNet Inference

BroadNet’s transcription endpoint accepts WAV (`audio/wav`) or MP3 (`audio/mpeg`), up to 26,214,400 bytes per file. Its docs convert other formats with:

```bash
ffmpeg -i voice-note.ogg -ar 16000 -ac 1 voice-note.wav
```

The ffmpeg docs say `-ar` sets the sampling frequency, `-ac` the channel count, and the output format is guessed from the `.wav` extension. Check the result with `ffprobe` if you need to confirm 16-bit PCM. Anything longer than about 13 minutes at that setting needs splitting: the [audio splitter tool](https://broadrouter.com/tools/audio-splitter-ffmpeg/) builds the commands, and [transcribing long audio files](https://broadrouter.com/blog/transcribe-long-audio-files-api/) covers joining the text. Billing is per audio minute ($0.0042 on [BroadNet Transcribe Arabic](https://broadrouter.com/models/cohere-transcribe-arabic/)), so splitting does not change the audio total.

## Common mistakes

-   **Leaving the original 48 kHz stereo.** It fills the cap in under three minutes: 48,000 × 2 × 2 = 192,000 bytes a second.
-   **Assuming any .wav is PCM.** Some recorders write ADPCM or other codecs in a WAV wrapper.

## Questions

### How many minutes of WAV fit in 25 MiB?

At 16 kHz, mono, 16-bit PCM the file grows by 32,000 bytes a second. 26,214,400 divided by 32,000 is 819.2 seconds, about 13 minutes 39 seconds, slightly less once the header is counted.

### Is WAV always uncompressed?

No. The Library of Congress lists linear PCM as a common encoding but also mu-law, A-law and ADPCM. For speech-to-text, plain 16-bit PCM is the safe choice.

### WAV or MP3 for transcription?

WAV avoids a lossy encode, but MP3 fits far more audio under a byte cap. For long recordings, either split the WAV or test MP3 on your own audio.

## See also

-   [Sample rate](https://broadrouter.com/glossary/sample-rate/) (term)
-   [Ogg Opus](https://broadrouter.com/glossary/ogg-opus/) (term)
-   [Speech-to-text](https://broadrouter.com/glossary/speech-to-text/) (term)
-   [SRT subtitles](https://broadrouter.com/glossary/srt-subtitles/) (term)
-   [Transcribe WhatsApp voice notes to text with an API](https://broadrouter.com/guides/transcribe-whatsapp-voice-notes/) (guide)
-   [Arabic speech-to-text API, step by step](https://broadrouter.com/guides/arabic-speech-to-text-api/) (guide)
-   [Transcribe long audio over 25 MB: split, send and stitch](https://broadrouter.com/blog/transcribe-long-audio-files-api/) (article)
-   [Record audio in the browser and send it to a speech-to-text API](https://broadrouter.com/blog/record-browser-audio-transcription-api/) (article)

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=glossary-wav&utm_content=page-cta) ·

**Sources**

-   [Library of Congress, Sustainability of Digital Formats: WAVE audio file format fdd000001 (checked 2026-11-15)](https://www.loc.gov/preservation/digital/formats/fdd/fdd000001.shtml)
-   [FFmpeg documentation, ffmpeg tool: -ar and -ac audio options, format from extension (checked 2026-11-15)](https://ffmpeg.org/ffmpeg.html)
-   [BroadNet Inference API reference: WAV and MP3 upload, 26,214,400-byte file cap (checked 2026-11-15)](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=glossary-wav&utm_content=sources)
