GUIDE

WAV, Opus and file size: trimming, joining and compressing audio

Sample rate, bit depth and bitrate in plain words, why WAV files are large, what Opus does, and how StillKit trims, joins and shrinks audio.

By StillKit · Updated

An audio file's size depends on how much data it keeps for each second of sound. WAV keeps every measurement of the sound wave, so one minute of CD-quality stereo takes about 10.6 MB. Opus keeps a compressed description that leaves out what you are unlikely to hear: at 64 kbps, a minute takes about 0.48 MB, around one twentieth as much. Edit in WAV, share in Opus, and compress once, from the highest-quality copy you have.

Sample rate, bit depth and bitrate in plain words

Digital audio is a long list of measurements of the sound wave. The sample rate is how many measurements are taken each second, and it sets the highest pitch the file can hold: half the rate. At 44.1 kHz that is 22.05 kHz, a little above the limit of human hearing. At 16 kHz it is 8 kHz, enough for clear speech. At 8 kHz it is 4 kHz, the narrow sound of a phone call.

Bit depth is how precisely each measurement is stored. StillKit writes 16 bits, which allows 65,536 steps between the lowest and highest value, the same as an audio CD. Bitrate is how much data each second takes. For WAV it is the sample rate times the bit depth times the number of channels: 44,100 × 16 × 2 gives 1,411,200 bits per second, or about 1,411 kbps. For Opus, you choose the bitrate, and the encoder decides what to keep within it.

Why WAV is large, and why that can help

Size of one minute of audio
Saved asSettingSize per minute
WAV48 kHz, stereo11.5 MB
WAV44.1 kHz, stereo10.6 MB
WAV44.1 kHz, mono5.3 MB
WAV16 kHz, mono1.9 MB
WAV8 kHz, mono1.0 MB
Opus96 kbpsAbout 0.72 MB
Opus64 kbpsAbout 0.48 MB
Opus32 kbpsAbout 0.24 MB
Opus24 kbpsAbout 0.18 MB

WAV is uncompressed, so saving it loses nothing and every edit is exact, which makes it a good working format between steps. The cost is size. StillKit limits a WAV result to 40 MB, which holds about 3 minutes 46 seconds of 44.1 kHz stereo. For a longer recording, choose Mono (smaller file), which halves the size, or a lower Sample rate. A minute of 16 kHz mono is about five times smaller than a minute of 44.1 kHz stereo.

StillKit's WAV and Opus files contain only the sound. Song titles, artist names and cover pictures stored in the original file are not copied.

What Opus does, and where an Opus file plays

Opus is an open audio codec, a method for compressing sound, standardized by the Internet Engineering Task Force as RFC 6716. Like other lossy formats, it spends its data on what hearing notices most and drops detail that louder sounds nearby would mask. It has separate techniques for speech and for music. That is why one format serves both a 24 kbps voice note and a 96 kbps song. Opus is built around a 48 kHz sample rate, so Compress audio file decodes your file at 48 kHz before encoding it.

StillKit uses the Opus encoder built into your browser, at the Quality you choose. It stores the result in an Ogg container as RFC 7845 describes, with the .opus ending. If your browser has no Opus encoder, the tool says so instead of saving anything. Bitrates are targets: the encoder can spend more data on busy passages and less on quiet ones. The result line reports the real size in MB per minute, next to the size the same audio would take as WAV.

Before you send an Opus file, check that the other person's device or app plays it, as some older devices and apps cannot. Upload forms that list only MP3, WAV or M4A will not take it either. For those, use Convert audio to WAV, which nearly any player opens, though at a far larger size.

Every decode and save makes a new copy

StillKit's audio tools first let your browser decode the file into plain measurements at the sample rate you pick. They then cut, join or change those measurements and save the result. That has consequences:

  • Saving an MP3 as WAV does not restore what MP3 compression removed. The WAV holds the decoded sound exactly, flaws included, at many times the size.
  • Compressing an MP3 or M4A to Opus is a second lossy step, so some quality is lost twice. Start from the original recording or a WAV when you have one, and compress once, at the end.
  • A lower sample rate removes high frequencies for good. Converting a 16 kHz file back to 44.1 kHz makes it bigger, not clearer.
  • Mono averages the left and right channels. Sounds placed to one side end up in the middle, and anything recorded out of step between the two channels can partly cancel out.

Trimming, joining and adjusting

Audio cutter and trimmer takes a Start time and an End time as seconds (95), minutes and seconds (1:35) or hours too (1:02:10), with decimals allowed, as in 1:35.5. Leave the end blank to keep everything to the end. If the start comes after the end, the message tells you the file's length as StillKit decoded it. The fade in raises the volume in a straight line from silence over the seconds you give, and the fade out lowers it to silence. Audio fade in and fade out applies the same fades without cutting anything.

Merge audio files joins 2 to 20 clips in the order they are listed, with 0 to 10 seconds of silence between them. Every clip is decoded at the one sample rate you choose, so recordings made at different rates join cleanly. The result is named after the first file.

Change audio volume works in decibels from -30 to 30. Each 6 dB up doubles the height of the sound wave, and each 6 dB down halves it. Normalize moves the whole recording so its single loudest moment sits at -1 dB, slightly under the maximum. One loud cough or door slam therefore sets the limit for everything else, so cut such moments out first. If a change pushes peaks past the maximum, StillKit flattens them and says so in the result; a smaller change sounds cleaner.

For the sound of a video, choose the video file in Convert audio to WAV, which saves WAV, or in Compress audio file, which saves Opus. Both take a video of up to 150 MB and read only its sound. Editing the video itself works differently, as Trimming, cropping and compressing video explains.

The limits, and how to work within them

Files can total 20 MB, or 150 MB in the two tools that also take a video, and StillKit decodes at most about 30 million measurements per job, counting every channel. That is about 5 minutes 40 seconds of stereo at 44.1 kHz, or 15½ minutes of stereo at 16 kHz. Compression decodes at 48 kHz, where the limit is 5 minutes 12 seconds of stereo. A stereo file counts both channels even when you choose Mono, because the channels are mixed after decoding. Each job must also finish within 30 seconds.

TRY IT YOURSELF

Tools used in this guide

Find your next shortcut

Search loads only when needed. Your search stays on your device.

Browse all categories and sections →