Audio Compression7 min read

How to Reduce Audio File Size

Shrink audio files by 60-95% using optimal codecs, bitrates, and compression tools. From lossless FLAC to efficient MP3 and Opus.

DifficultyEasy
Compression60-95%
Quality LossMinimal to None

Understanding Audio File Sizes

Audio files vary wildly in size based on format and quality settings:

FormatTypeSize (5 min song)Quality
WAV (Uncompressed)Lossless~50 MBPerfect
FLACLossless~25 MBPerfect (50% smaller)
ALAC (Apple)Lossless~25 MBPerfect
MP3 320 kbpsLossy~12 MBExcellent
MP3 192 kbpsLossy~7 MBVery Good
MP3 128 kbpsLossy~5 MBGood
AAC 128 kbpsLossy~5 MBVery Good (better than MP3)
Opus 128 kbpsLossy~5 MBExcellent (best quality/size)
Quick rule: WAV to FLAC = 50% savings, lossless. WAV to MP3 (192 kbps) = 86% savings, near-perfect quality for most listeners.

Method 1: Convert WAV to FLAC (Lossless)

FLAC offers 40-60% compression with zero quality loss. Perfect for archiving music collections.

1

Using FFmpeg

# Single file ffmpeg -i input.wav output.flac # Batch convert folder for file in *.wav; do ffmpeg -i "$file" "${file%.wav}.flac" done # Maximum compression (slower, smaller) ffmpeg -i input.wav -compression_level 12 output.flac
2

Using fre:ac (GUI, Free)

Download from freac.org (Windows, Mac, Linux)

  1. Add audio files to queue
  2. Select output format: FLAC
  3. Quality: Level 8 (maximum compression)
  4. Click "Start encoding"

Result: 50-60% smaller files, bit-perfect audio.

Note: FLAC isn't supported everywhere. MP3 is more universal for sharing. Use FLAC for archival/personal libraries only.

Method 2: Convert to MP3 (Lossy)

MP3 is the most compatible format. Use when file size matters more than audiophile-grade quality.

Bitrate Recommendations

  • 320 kbps: Indistinguishable from CD for most people. Use for archival.
  • 256 kbps: Excellent quality. Good balance for large collections.
  • 192 kbps: Very good quality. Recommended for most uses.
  • 128 kbps: Acceptable quality. Good for podcasts, audiobooks.
  • 96 kbps: Voice-only content (podcasts, lectures).
  • 64 kbps or lower: Avoid unless desperate.

FFmpeg Conversion

# High quality (320 kbps CBR) ffmpeg -i input.wav -b:a 320k output.mp3 # Recommended (192 kbps VBR) ffmpeg -i input.wav -codec:a libmp3lame -q:a 2 output.mp3 # Good quality (128 kbps VBR) ffmpeg -i input.wav -codec:a libmp3lame -q:a 4 output.mp3 # Batch convert for file in *.wav; do ffmpeg -i "$file" -codec:a libmp3lame -q:a 2 "${file%.wav}.mp3" done

VBR quality scale: 0 = best (245 kbps avg), 2 = excellent (190 kbps), 4 = good (165 kbps), 6 = acceptable (115 kbps)

Using Audacity (Free GUI)

  1. Download Audacity + LAME encoder
  2. Open audio file
  3. File → Export → Export as MP3
  4. Quality: 192 kbps (or choose custom)
  5. Click Save

Method 3: AAC Encoding (Better Than MP3)

AAC offers 20-30% better quality than MP3 at the same bitrate. Great for iOS/Apple ecosystems.

# AAC 128 kbps (comparable to MP3 192 kbps) ffmpeg -i input.wav -c:a aac -b:a 128k output.m4a # AAC 192 kbps (comparable to MP3 256 kbps) ffmpeg -i input.wav -c:a aac -b:a 192k output.m4a # Use best AAC encoder if available (fdk_aac) ffmpeg -i input.wav -c:a libfdk_aac -vbr 4 output.m4a
When to use AAC: Apple Music libraries, podcasts (Apple Podcasts standard), audiobooks, or when you need better quality at lower bitrates.

Method 4: Opus (Best Quality/Size Ratio)

Opus is the modern, open-source codec. Superior quality to MP3/AAC at lower bitrates.

# Opus 96 kbps (better than MP3 128 kbps) ffmpeg -i input.wav -c:a libopus -b:a 96k output.opus # Opus 128 kbps (better than MP3 192 kbps) ffmpeg -i input.wav -c:a libopus -b:a 128k output.opus # Music (use 128-192 kbps) ffmpeg -i music.wav -c:a libopus -b:a 160k music.opus # Voice/Podcasts (use 64-96 kbps) ffmpeg -i podcast.wav -c:a libopus -b:a 80k podcast.opus
Compatibility: Opus isn't supported on older devices/software. Use for web streaming, modern apps, or if you control playback environment.

Advanced Techniques

Trim Silence

Remove dead air from recordings (podcasts, lectures):

# Remove silence at start/end ffmpeg -i input.mp3 \ -af "silenceremove=start_periods=1:start_duration=1:start_threshold=-50dB:detection=peak,aformat=dblp,areverse,silenceremove=start_periods=1:start_duration=1:start_threshold=-50dB:detection=peak,aformat=dblp,areverse" \ output.mp3

Savings: 5-20% for typical recordings

Reduce Sample Rate

Music is typically 44.1 kHz. Lower for voice:

# 44.1 kHz → 22.05 kHz (50% file size) # Good for podcasts/audiobooks ffmpeg -i input.wav -ar 22050 -b:a 96k output.mp3 # Extreme compression for voice ffmpeg -i input.wav -ar 16000 -b:a 64k output.mp3

Warning: Don't reduce sample rate for music. Use only for speech.

Convert Stereo to Mono

Halves file size for voice recordings:

# Stereo to mono (50% reduction) ffmpeg -i stereo.wav -ac 1 -b:a 96k mono.mp3 # Useful for podcasts, lectures, phone recordings

Use when: Recording is mono (single mic) but saved as stereo.

Real-World Examples

Example 1: Music Album

WAV (12 tracks)620 MB
FLAC285 MB

Method: ffmpeg -i *.wav -compression_level 8 output.flac

Result: 54% reduction, lossless quality

Example 2: Podcast Episode

WAV (60 min)600 MB
MP3 96 kbps43 MB

Method: Mono, 22.05 kHz sample rate, 96 kbps MP3

Result: 93% reduction, excellent for voice

Example 3: Audiobook

M4B 128 kbps180 MB
Opus 64 kbps86 MB

Method: Re-encode to Opus at 64 kbps (optimized for voice)

Result: 52% reduction, perfect clarity for narration

Frequently Asked Questions

What is the best audio format for file size?

Lossless: FLAC (50% smaller than WAV, perfect quality)

Lossy (music): Opus 128-160 kbps (best quality/size ratio), or AAC 192 kbps (universal compatibility)

Lossy (voice): Opus 64-96 kbps or MP3 96 kbps

Most compatible: MP3 192 kbps (works everywhere, good quality)

What bitrate should I use for MP3?

320 kbps: Archival, audiophile listening

192 kbps: Recommended for most music

128 kbps: Acceptable for casual listening, large collections

96 kbps: Podcasts, audiobooks, voice recordings

64 kbps or lower: Only for low-quality voice or if extremely desperate

Is FLAC really lossless?

Yes. FLAC is mathematically bit-perfect to the original WAV. You can convert WAV → FLAC → WAV and get identical files. It achieves compression through algorithmic encoding, not by discarding data like MP3.

How do I compress audio without losing quality?

True lossless: Convert WAV to FLAC (40-60% smaller, zero quality loss)

Perceptually lossless: Use MP3 320 kbps or AAC 256 kbps. Technically lossy but indistinguishable to human ears in blind tests.

Should I use VBR or CBR encoding?

VBR (Variable Bitrate): Better quality at same average file size. Recommended for music.

CBR (Constant Bitrate): More predictable file size, better for streaming. Use for podcasts or if compatibility is a concern.

Recommendation: Use VBR for offline files, CBR for streaming.

Can I compress MP3 files further?

No, don't re-encode lossy formats. Each time you compress MP3 → MP3, you degrade quality (generation loss). If you must shrink an MP3:

  1. Lower the bitrate (320 kbps → 192 kbps)
  2. But expect quality degradation
  3. Better: Re-encode from original lossless source if available
What's better: MP3, AAC, or Opus?

Compatibility: MP3 > AAC > Opus

Quality at same bitrate: Opus > AAC > MP3

Recommendation:

  • Use MP3 if you need universal compatibility
  • Use AAC for Apple ecosystem or podcasts
  • Use Opus for web streaming or if you control playback