Lossless audio refers to digital audio compression or encoding in which the original digital audio data can be reconstructed exactly after decoding. If a lossless codec is applied to a PCM source and the resulting file is decoded correctly, every original sample value is recovered without alteration. This differs from lossy audio compression, where some information is deliberately discarded to obtain substantially smaller files.
Lossless audio therefore concerns reversibility of the digital encoding process rather than an absolute guarantee about the quality of the original recording. Formats and codecs such as FLAC and ALAC provide lossless compression. An uncompressed PCM file is also lossless in the broader sense that no compression loss has been introduced, although “lossless audio” commonly refers specifically to compressed formats that preserve the source exactly.
The key principle is mathematical reversibility. A lossless encoder examines the digital audio and identifies patterns, redundancy and predictable relationships that can be represented more efficiently. The decoder then applies the inverse operations to recover the exact original data. For audio, predictive coding is particularly useful because adjacent samples are often correlated. Instead of storing every sample independently, a codec can predict each sample from previous samples and encode the difference between prediction and actual value.
Statistical coding can then represent common small differences efficiently. Because no information is discarded, the decoder has enough information to recreate the exact original sequence. The compression is therefore analogous to compressing other types of lossless data such as text or software files: the result is smaller, but the content remains completely recoverable.
Lossless audio should be distinguished from uncompressed audio. Uncompressed PCM stores the sample values directly and therefore does not incur compression loss, but it uses more storage space. Lossless codecs such as FLAC compress the same underlying information while retaining exact recoverability. The distinction is also important between lossless and “high quality”. A low-quality recording can be encoded losslessly, but the lossless process does not repair defects, background noise, clipping or limitations introduced during recording. If the source was already compressed using a lossy codec, converting it into a lossless format cannot restore the discarded information. Lossless encoding preserves what is present in the input; it does not reconstruct information that was never present in that input.
File size is a major practical consideration. Lossless compression generally produces much smaller files than uncompressed PCM, but considerably larger files than aggressively compressed lossy formats. The exact reduction depends on the source material, sample rate, bit depth and codec. Music with strong statistical regularities can compress more effectively than highly complex or noisy signals. Compression level can also affect the resulting file size and processing cost.
Unlike lossy encoding, however, changing a lossless compression level does not intentionally reduce audio fidelity. A higher compression level may require more CPU time while achieving a modest additional reduction in file size, whereas a lower level can encode and decode more quickly with somewhat larger files.
Lossless audio is especially valuable for archival and production workflows. A master recording can be stored losslessly so that future processing begins from the exact digital source rather than from a version that has already undergone irreversible perceptual compression. It is also useful for personal music libraries because users can create lossy copies later without repeatedly degrading the original. In audio production, lossless files can be exchanged between applications without introducing codec losses, provided the applications preserve the sample data correctly. For preservation, metadata and integrity information can further help maintain the relationship between the audio data and its descriptive information.
Lossless audio does not necessarily sound different from an equivalent uncompressed source because the decoded samples are the same. If a FLAC file is decoded to PCM, the resulting samples should be identical to those in the source PCM file. The audible output can therefore be identical when the playback chain is equivalent. Claims that lossless compression inherently makes audio “better” than the same source in uncompressed form misunderstand the purpose of lossless compression. Its benefit is preservation and efficient storage, not enhancement. Similarly, converting a lossy MP3 or AAC file to FLAC cannot make it sound better or recover removed information; it can only prevent further loss during subsequent storage or processing.
Lossless audio also has a technical role in quality control and verification. Because exact reconstruction is possible, software can compare decoded samples against the source and verify whether a conversion preserved the data. Checksums, hashes and codec-specific integrity mechanisms can detect corruption or unintended changes. This is valuable in archives, professional workflows and large digital libraries where silent data corruption would otherwise be difficult to identify. Lossless formats can also carry metadata without altering the underlying audio samples. These characteristics make lossless encoding useful as a stable interchange and preservation mechanism, particularly when the exact digital representation needs to remain available for future processing.
The main trade-off is storage and bandwidth efficiency. Lossless files require more space and network capacity than comparable lossy files, although modern storage and broadband networks have made that disadvantage less significant for many users. Streaming services may still use lossy codecs when minimising bandwidth and operating costs is important, while some services offer lossless tiers for listeners who want exact source preservation.
Lossless audio is therefore best understood as a property of the encoding process: all original digital information is retained and recoverable. It provides an exact representation of the source within the digital domain, but it cannot compensate for limitations in recording equipment, sampling, mastering or an already-lossy source.