The reduction in the size of data in order to save space or transmission time. Compression is performed by a program which uses an algorithm or formula to determine how best to compress and decompress the data.