Lossless

Lossless compression is a type of media compression that shrinks a file's size without any quality loss. A file shrunk with lossless compression is indistinguishable from the original.

Lossless media formats save storage space while maintaining the full fidelity of the original file. For example, an image saved as a lossless PNG preserves every pixel of the original. A lossless FLAC audio file includes waveforms identical to the original audio sample. Professional photo and video editors often choose lossless formats to prevent artifacting and maintain as much quality as possible.

Lossless compression preserves details better than lossy compression
Lossless compression preserves details better than lossy compression

How Lossless Compression Works

Unlike lossy compression, which discards certain parts of a file to create a smaller and lower-fidelity version of the original, lossless compression saves file space by rewriting the data more efficiently. Many lossless algorithms look through a file for any pattern that repeats, then save that pattern and reference it later instead of writing the same data multiple times. Many lossless media compression algorithms are similar to ones used for compressing documents and other files. For example, PNG compression is a derivative of the same algorithm that ZIP files use.

NOTE: Lossless compression usually cannot reduce a file's size by as much as a lossy compression algorithm can. FLAC audio compression can often achieve a 40-50% reduction in file size, while a lossy MP3 file can reduce the original file size by 90%.

Updated December 21, 2022 by Brian P.
Reviewed by Per C.

quizTest Your Knowledge

The High Efficiency Video Coding (HEVC) codec is also known as what?

A
IEEE 1394
0%
B
H.265
0%
C
802.11
0%
D
X64
0%
Correct! Incorrect!     View the H.265 definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Lossless on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation bar directly below the definition.

Our goal to explain computer terminology in a way that is easy to understand. We strive for accuracy and simplicity with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

TechTerms Newsletter

Improve your technical knowledge with our daily or weekly newsletter! Subscribe today and get new terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.