Skip to content
Aback Audio

Lossless vs lossy audio: what really changes when you compress sound

Lossless audio keeps every sample; lossy audio removes detail to save space. Compare WAV, FLAC, MP3, AAC and Opus, learn how to choose and check files locally.

By Devvrat Hans12 min read

The difference comes down to one question: when you decode the file, do you get back the exact samples you started with? A lossless format such as WAV, AIFF or FLAC says yes. A lossy format such as MP3, AAC in M4A, Opus or Vorbis in OGG says no. It removes information that is hard to hear and cannot restore it. Keep a lossless copy if you will edit the audio again; use a lossy format for a small file to play or share.

Identical

samples after a lossless decode

WAV, AIFF and FLAC

10.6 MB

per minute

CD-quality stereo WAV

1.44 MB

per minute

MP3 at 192 kbps

What lossless and lossy actually mean

Digital audio is a stream of numbers describing a sound wave thousands of times a second. Lossless and lossy describe what happens to those numbers going into a file and back out.

A lossless format preserves the numbers: decode it and you get bit for bit the samples that went in. WAV and AIFF store them uncompressed, FLAC packs them efficiently, and a WAV to FLAC round trip leaves the audio data unchanged.

A lossy format cannot do that. The encoder keeps what matters and approximates the rest, so decoding gives a close approximation rather than the original. The removed detail is gone for good. That is the trade behind small audio files.

Container names mislead. OGG usually holds Vorbis and M4A is an MP4 file that usually holds AAC; the codec inside decides losslessness. See the formats guide.

Lowering a WAV's rate, depth or channels is lossy in effect even in uncompressed WAV. A change from 48 kHz to 22.05 kHz discards high frequencies for good; the bit depth guide covers one part of that trade.

How lossless compression saves space

Uncompressed PCM writes every sample at full width, useful for editing but wasteful for storage. CD-quality stereo, 44.1 kHz at 16-bit, carries 1,411,200 bits per second, about 10.6 MB per minute. Silence costs as much as music.

FLAC predicts each sample from the ones before it and writes only the small difference between the guess and the real value. The decoder repeats the prediction and adds the differences back, rebuilding every sample exactly. Music typically lands at 40 to 60 percent of WAV size, roughly 4 to 6 MB per minute. FLAC keeps the original rate and depth, including 24-bit, and supports tags and cover art.

Approximate size of one minute of 44.1 kHz, 16-bit stereo audio
FormatTypeSize per minuteDecoded result
WAV and AIFF (PCM)Lossless, uncompressed10.6 MBExact samples
FLACLossless compressionroughly 4 to 6 MBExact samples
MP3 at 192 kbpsLossy1.44 MBApproximation
MP3 at 128 kbpsLossy0.96 MBApproximation
Opus at 96 kbpsLossy0.72 MBApproximation

These are estimates, not promises. Speech compresses further in FLAC; dense, noisy material less. For fixed bitrate formats, kbps times seconds divided by 8,000 gives megabytes; FLAC has no fixed ratio and must be measured.

Open the WAV to FLAC ConverterMake a smaller lossless FLAC from a WAV and keep every sample. The converter runs locally in your browser.

For the two lossless families, read WAV vs FLAC; for ways to shrink a WAV, see how to compress a WAV file.

How lossy compression decides what to remove

Lossy codecs model hearing: a loud sound masks a quieter one, and less audible frequencies need less precision. The encoder spends its bit budget where the audio is busiest, producing a compact description of something close to the original.

At a high bitrate the approximation is close enough that most listeners cannot separate it from the source. At a low bitrate artefacts show: cymbals smear, tones warble, quiet details vanish. Where that happens depends on material and listener, so bitrate charts are guides, not laws.

MP3 is the most widely playable and a safe default when you do not know the listener's device. AAC in M4A is native to Apple devices, Opus is strong at low bitrates and speech, and Vorbis in OGG is common in games. All four are lossy; none keeps every sample.

Blind tests let a listener compare two versions without knowing which is which. They separate the measurable from the audible: a file can differ from its source yet sound the same. Results depend on track, system and listeners, so this article claims no pass rates.

For the smallest codec see what is Opus audio; for music sharing see FLAC vs MP3.

The formats you will meet in this app

The output settings in Aback Audio label each format lossy or lossless, so the trade is visible before you start. This table covers the formats the local encoders actually write.

Codecs offered by the local encoders
FormatCodecLossless?Good for
WAVPCMYes, uncompressedRecording, editing, masters
AIFFPCM (big endian)Yes, uncompressedApple editing workflows
FLACFLACYes, compressedArchives, libraries, samples
MP3MP3 (LAME)NoUniversal playback, sharing
M4AAAC-LCNoApple devices, video
OpusOpusNoVoice, web, messaging
OGGVorbisNoGames, open web apps

WAV and AIFF are both uncompressed PCM and both lossless. The choice is about compatibility, not quality: WAV is standard on Windows and in recording software, AIFF is the Mac counterpart in Logic and GarageBand. Converting WAV to AIFF changes the container, not the samples.

FLAC is the middle ground: lossless like WAV, much smaller, and able to carry tags and cover art. Some car stereos cannot read it, while MP3 plays almost everywhere. The app never calls a lossy encode lossless: MP3, M4A, Opus and OGG are shown as lossy, WAV, AIFF and FLAC as lossless. Changes such as resampling are reported separately.

Open the WAV CompressorChoose between lossless FLAC and lossy MP3, M4A or Opus in one place, then compare the output size.

Bitrate, quality and file size are not the same

Bitrate is bits per second, in kbps. At a fixed bitrate it sets file size almost exactly: double the bitrate and you double the bytes. Quality is how the audio sounds; more bits usually help, but the gain shrinks and depends on the source.

Think of bitrate as a budget, not a score. A solo voice at 96 kbps can sound clean; a dense orchestral track at the same rate may struggle. Raising bitrate cannot erase artefacts already in a lossy source, so a 128 kbps MP3 re-encoded at 320 kbps is larger but not better.

  • For music, 192 kbps MP3 is a common safe default; 128 to 160 kbps suits casual listening and higher rates leave headroom.
  • For speech, 64 to 96 kbps is usually plenty, especially in mono. Opus at 96 kbps is the app default for music and voice.
  • For Vorbis in OGG the encoder uses a quality setting from Q0 to Q10 instead of a fixed bitrate, so the rate varies with the audio.
  • For lossless FLAC and WAV there is no bitrate to tune: size follows rate, depth and channels for WAV, predictability for FLAC.

Uncompressed WAV has a data rate by arithmetic: sample rate times bit depth times channels, 1,411 kbps at 44.1 kHz, 16-bit stereo. The WAV compression guide explains the sum; for one codec see best MP3 bitrate.

Generation loss and why a master matters

Each lossy encode makes another approximation. Encode the decoded file again and you are approximating an approximation. One extra generation usually does little harm, but damage accumulates at low bitrates. This is generation loss. WAV, AIFF and FLAC do not have it: they can be copied and re-encoded with identical samples.

  • Keep one master in WAV or FLAC at the original rate and depth.
  • Edit from that master, exporting a new lossless file after stages such as trimming, noise cleanup or level work.
  • Generate each delivery copy from the master, not another lossy copy. An MP3, an M4A and an Opus should all start from the same source.
  • If you only have a lossy file, make needed changes once and keep the best copy as your working file.

A lossless master stays flexible: it can be downmixed, resampled or encoded later without losing anything not already discarded, and FLAC roughly halves the cost of keeping one. See cutting and trimming audio and how to compress a WAV file.

What happens when you convert between formats

Conversion has a direction. Lossless to lossy throws information away. Lossless to lossless, such as WAV to FLAC or WAV to AIFF, keeps everything. Lossy to lossless keeps the decoded samples, already an approximation; the container changes but the missing detail does not return.

Hence a common misconception: converting MP3 to FLAC or WAV makes a larger file, and people assume bigger means better. It is not. The new file stores the decoded MP3 samples, artefacts included; it can help with compatibility but it is not a restoration. Raising a lossy file's bitrate does the same.

Upsampling has the same limit: resampling a 22.05 kHz MP3 to 48 kHz inserts new values but cannot bring back removed high frequencies. The app reports a rate change instead of applying one silently; the sample rate guide treats conversion and real detail separately.

A container change is different. Taking the AAC track from an MP4 video and saving it as M4A does not transcode the audio, so there is no new generation loss. The question is whether samples were re-encoded, not whether the extension changed. For the reverse direction see WAV vs FLAC; for a small copy use WAV to MP3.

Tags, cover art and embedded metadata

Lossless and lossy describe audio samples, not the information stored beside them. Tags such as title, artist and cover art are a separate matter, and support varies by format. That is why converted files sometimes lose artwork.

FLAC is strongest for a searchable archive: lossless, half the size of WAV, and able to carry tags and cover art. MP3 carries ID3 tags and artwork almost every player reads, and M4A carries tags too; Opus tag support depends on the player. WAV and AIFF were built for editing, so their tags are weak, and this app's OGG and AIFF encoders write none. Check what happens to tags on conversion rather than assuming they travel with the audio. Metadata can hold personal information, so treat it as your own data.

The Audio Inspector separates file properties from embedded tags. It reports container, codec, rate, depth and bitrate, then lists only tags the container carries. A file can have perfect 48 kHz stereo audio and no tags, and the tool invents no values for missing fields.

How to check a file before you trust the label

Filenames lie: a file called recording-24bit.wav can be 16-bit, and a high resolution label can hide a low bitrate MP3. To know whether a file is lossless, read its header and identify the codec inside, without sending the file anywhere.

  1. 1

    Open the inspector

    Drop the file onto the Audio Inspector, which reads the container before decoding.

  2. 2

    Read the codec

    The Codec line says PCM, FLAC, MP3, AAC, Opus or Vorbis. With the compression label it settles lossless or lossy.

  3. 3

    Check rate and depth

    Rate, channels and depth come from the header where possible; variable bitrate files show an estimated bitrate.

  4. 4

    Look at levels and tags

    Levels measures loudness and clipped samples; Embedded metadata shows only the tags the file contains.

  5. 5

    Keep a report

    Copy report or Download report saves the summary as plain text for a delivery check.

This helps before a delivery, when a portal asks for a specific rate and depth, or when a download sounds wrong. A sharp high frequency cutoff is clearer in a spectrogram, a clue rather than proof.

Open the Audio File InspectorSee a file's container, codec, sample rate, bit depth and bitrate locally, with no upload step.

Aback Audio processes audio locally in your browser: files are read on your device, encoded in a background worker and returned as a download, not uploaded for these tools. That says where processing happens, not that the site works without a network, since assets still load. For size see how to compress a WAV file; for pairings see WAV vs FLAC and FLAC vs MP3.

Tools used in this article

Frequently asked questions

Is FLAC really lossless?

Yes. Decoding FLAC returns exactly the samples of the WAV or AIFF it came from, so round trips change nothing, even though the file is typically 40 to 60 percent of the WAV size.

Can I turn an MP3 into a lossless file?

You can change its container to FLAC or WAV, but that does not make it lossless in origin. The new file stores the decoded MP3 samples, already an approximation, using more bytes. It may help compatibility but cannot recover detail.

Does a higher bitrate always sound better?

It gives the encoder more room and often helps, but it is not a guarantee and the gains shrink as the rate rises. The source matters as much as the number, and a higher bitrate cannot repair lossy artefacts.

What is the difference between a container and a codec?

The container is the package, such as WAV, M4A or OGG. The codec is how audio inside is represented, such as PCM, FLAC, AAC, MP3, Opus or Vorbis. Losslessness belongs to the codec and samples, not the name.

Should I edit audio in a lossy format?

Prefer WAV or FLAC. Each lossy encode adds approximation, so edit from a lossless master and export lossy copies at the end. If you only have a lossy file, make one new copy rather than many.

How can I tell whether a file is lossless?

Check the container and codec rather than the filename. The Audio Inspector reads a file's codec, compression type, rate and depth locally, so you can tell PCM or FLAC from MP3, AAC, Opus or Vorbis.

Related articles