WAV Compressor

Published Updated

Choose your channel mix and sample rate, then compress your WAV file and preview the result before downloading — free, private, and processed entirely in your browser.

WAV size is simple arithmetic

An uncompressed WAV stores every sample, so size is sample rate times channels times bytes per sample times seconds. This tool always writes 16-bit PCM (2 bytes per sample), and it offers only two levers: mono, and a lower sample rate. There is no entropy coding, so the saving is exactly the ratio of the settings.

Size per minute of audio

SettingSize per minuteRelative size
48,000 Hz stereo11.52 MB109%
44,100 Hz stereo10.58 MB100%
44,100 Hz mono, or 22,050 Hz stereo5.29 MB50%
22,050 Hz mono2.65 MB25%
11,025 Hz mono1.32 MB12.5%

A 3-minute 44.1 kHz stereo track is about 31.8 MB. At 22,050 Hz mono it is about 7.9 MB, and at 11,025 Hz mono about 4.0 MB.

Measured: a 10-second test file through every setting

A 10-second stereo WAV was generated in 16-bit PCM at 44,100 Hz with five steady tones at 1, 4, 8, 12 and 16 kHz, giving a file of 1,764,044 bytes. It was decoded in Chromium 152, whose audio engine ran at 48,000 Hz on the test Mac, and then rendered and written by this page's own code. Every size matched 44 header bytes plus frames × channels × 2 exactly.

SettingOutput rateFile sizeShare of the source
Stereo, Keep Original48,000 Hz1,920,044 bytes108.8%
Stereo, 22,050 Hz22,050 Hz882,044 bytes50.0%
Stereo, 11,025 Hz11,025 Hz441,044 bytes25.0%
Mono, Keep Original48,000 Hz960,044 bytes54.4%
Mono, 22,050 Hz22,050 Hz441,044 bytes25.0%
Mono, 11,025 Hz11,025 Hz220,544 bytes12.5%

The first row is the surprise: with no change requested, the file grew. The browser had already resampled the 44.1 kHz source to its own 48,000 Hz when it decoded it, and Keep Original means that rate. On a computer whose audio engine runs at 44,100 Hz, no resampling would be needed at decode and the size should match the source.

What happens to frequencies above the new limit

A sample rate can only represent frequencies below half its value. The five tones in the test file show what the tool does with those that do not fit. Levels are measured at the output, in decibels against the source, and a tone above the limit is looked up at the lower frequency where it shows up.

Tone in the sourceKept at 22,050 HzKept at 11,025 Hz
1 kHz0 dB0 dB
4 kHz-0.2 dB-0.2 dB
8 kHz-0.8 dBReappears at 3,025 Hz, -0.8 dB
12 kHzReappears at 10,050 Hz, -1.8 dBReappears at 975 Hz, -1.8 dB
16 kHzReappears at 6,050 Hz, -3.3 dBReappears at 4,975 Hz, -3.3 dB

In Chromium 152 the tones above the limit were not removed. They were folded back down to the new rate minus the tone's frequency, only 1.8 to 3.3 dB below the source level. In music, cymbals, breath and hiss above the limit would turn into unrelated tones inside the band you keep, which can sound metallic or grainy. Real music is not a set of pure tones. The mono setting at Keep Original does not resample the output, and in this test all five tones came through at 0 dB.

What the mono setting does to the signal

The Web Audio specification defines the stereo to mono mix as half of the left channel plus half of the right (W3C Web Audio API), and the tool relies on it. Three checks on a 1 kHz tone: identical channels came out at the same level, a signal present in only the left channel came out 6.0 dB quieter, and a left and right pair in opposite phase came out at 0.0000056 of full scale, which is silence. A file with more than two channels is mixed down by the same specification first, to stereo or straight to mono depending on your choice.

Quality, and what the sample rate removes

A sample rate can represent frequencies up to half its value. That sets what you lose:

  • 44,100 Hz covers up to about 22 kHz, above what most people can hear.
  • 22,050 Hz covers up to about 11 kHz. Speech sounds fine and music loses its top end.
  • 11,025 Hz covers up to about 5.5 kHz. Intelligible speech, dull music.

Compressing a WAV

  1. Step 1

    Add a WAV

    The page decodes the file and lists its duration, sample rate and channels.

  2. Step 2

    Choose channels and rate

    Stereo or Mono, and Keep Original, 22,050 Hz or 11,025 Hz. Mono halves a stereo file's data; a lower sample rate cuts it in proportion to the rate.

  3. Step 3

    Compress and check the saving

    The result is a 16-bit WAV named -compressed.wav. The card prints the saving when the file is smaller.

Two side effects to expect

The browser decodes the file first, and decoded audio is resampled to the sample rate of the browser's audio engine (MDN). The "original" rate shown may therefore differ from your file. Any metadata chunks in the original WAV, such as tags or markers, are not written to the output. For something much smaller, WAV to MP3 is the usual next step.

Shrinking WAV files, answered

How big will my WAV be after compressing?

Multiply sample rate, channels, 2 bytes and seconds. A 3-minute track at 44,100 Hz stereo is about 31.8 MB. Mono halves it, 22,050 Hz halves it again, and 11,025 Hz mono lands near 4.0 MB.

Is this lossless?

No. Mixing stereo to mono and lowering the sample rate both throw information away. The output is always 16-bit PCM, so a 24-bit or 32-bit float source also loses bit depth.

Why is my output bigger than my input?

"Keep Original" means the rate the browser decoded to, which can be 48,000 Hz even when the file is 44.1 kHz. A source recorded below 22,050 Hz, such as an 8 kHz phone recording, is resampled up if you pick a higher option.

What happens to the left and right channels in mono?

They are averaged, with half of each. Material that is out of phase between the two channels can cancel, which is rare in normal recordings.

Why does my WAV sound metallic after dropping the sample rate?

The tool resamples with the browser's own audio engine, and in Chromium 152 a test tone above half the new rate came out as a lower tone only 1.8 to 3.3 dB down, not as silence. Cymbals and hiss above the limit can fold into the music that way. For a clean halving of the size, use Mono at Keep Original instead.

Why is my mono file quieter than the stereo original?

Mono is half the left channel plus half the right. When both channels carry the same signal the level stays the same, but a sound that sits in one channel only drops by 6 dB. If the result is too quiet, raise its volume in your player or editor after converting.

How can I halve a WAV without touching the frequencies?

Pick Mono and leave the sample rate on Keep Original. That halves the number of samples and does not resample the output. Keep in mind that the Keep Original rate is the one your browser decoded to, so a 44.1 kHz file can still be written at 48,000 Hz and end up slightly larger per channel than the source.

Should I use MP3 instead?

For listening and sharing, yes: a lossy MP3 is a fraction of any WAV. Use WAV compression when you need to stay uncompressed, for example for an editor or a device that only reads WAV. The WAV to MP3 tool covers the other case.

Related guide

MP3, OGG, WAV: when to convert or compress audio. The guide works out WAV size as sample rate times bytes times channels times seconds, with a 240-second table from 42.3 MB down to 5.3 MB.

Related Tools