Data compression
Compression makes files smaller so they take less space and travel faster across networks. The trick is choosing what, if anything, to throw away.
Why compress?
Streaming video and music would be very hard without compression.
Lossless compression
Essential for text, program files and spreadsheets, where every bit matters. Examples: ZIP, PNG.
Lossy compression
Files become much smaller, but the original cannot be restored.
Used for photos, music and video. Examples: JPEG and MP3.
A school wants to email a 60-page report and a holiday photo. Which type of compression suits each?
- Report: every character matters, so lossless.
- Photo: small loss of detail is fine, so lossy gives a much smaller file.
Answer: Lossless for the report, lossy for the photo
Compression saves storage and transmission time. Lossless keeps all the data and can be reversed exactly. Lossy permanently removes some data to make much smaller files (JPEG, MP3).
- Compression
- Making a file smaller, to save storage space and transmission time.
- Transmission time
- time (s) = file size (bits) รท transmission rate (bits per second). Convert bytes to bits by multiplying by 8. Example: 2,000,000 bytes at 8 megabits per second = 16,000,000 รท 8,000,000 = 2 s.
- Bandwidth
- The maximum amount of data that can be sent per second.
- Bit
- A single binary digit, 0 or 1.
All GCSE and International GCSE Computer Science key terms and definitions โ
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
What is lossy compression?
- Compression that lets the original be rebuilt exactly
- Compression that permanently removes some data
- Compression only used for text
- Encryption of a file
Show the answer
Answer: Compression that permanently removes some data
Lossy removes data that cannot be restored.
Which image format usually uses lossy compression?
- PNG
- BMP
- GIF
- JPEG
Show the answer
Answer: JPEG
JPEG removes detail to shrink photos.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic 2.3.2
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic 3.3.2
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.
What do exam command words like explain and evaluate mean? โ