GCSE · Computer Science · Edexcel · Spec 1CP2
Need for data compression
Your holiday video is too big to email. Post it on a memory stick? Or ask a smarter question: what if the file just had fewer bits?
The bandwidth win, link by link
Reason it through
Why does a compressed file need less bandwidth, and why does everyone else on the network care?
First link · your turn
First, what does a compression algorithm actually do to the data in a file?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
What you need to know
- Compression cuts the number of bits needed to represent the same information. That's its aim, never more bits.
- It works by removing unnecessary data, or by rearranging the information more efficiently.
Have a goYour mate Jas is thrilled: their new compression app turned a file into one with MORE bits than before. Brilliant app, or broken app?
Broken. It has done the opposite of compression's job.
It's tempting to think any change means it worked, but compression aims for fewer bits for the same information, never more.
- Storage: a smaller file takes up less space, so more files fit and local or cloud storage costs can drop.
- Bandwidth is the maximum amount of data a channel can transfer at one time, usually in bits per second (Mbps, Gbps).
- Fewer bits means less bandwidth needed, so there's less load on the network and more left for other devices.
- Network speeds come in bits per second. Divide by 8 for bytes per second: 100 Mbps is about 12.5 MB/s.
Have a goA connection is rated at 64 Mbps. Quick: is that about 8, 64 or 512 megabytes per second?
About 8 megabytes per second (64 ÷ 8).
Bits per second become bytes per second by dividing by 8; 64 reads megabits as megabytes, and 512 multiplies when it should divide.
- Transfer: smaller files take less time to send and receive, so they upload, download and load on websites faster.
- Streaming services compress audio and video (MP3, MP4), so playback is smoother, with less buffering, on a range of devices.
- Images, video, audio and documents are all commonly compressed. It's not just a picture thing.
Have a goA song, a school essay and a film. Which of these would never be compressed?
None of them. All three are commonly compressed.
Audio, documents and video are compressed just like images; picking any one of them assumes compression only belongs to pictures.
- Different methods suit different files: JPEG for images, MP3 for audio, MP4 for video. ZIP combines several files into one smaller file.
The big picture
Compression makes a file use fewer bits for the same information. That one change gives you three wins: less storage space, less bandwidth needed and faster transfer. It works on images, video, audio and documents, not just pictures.
Key points
Worked example
Problem
A library's network is rated at 240 megabits per second (240 Mbps). Work out how many megabytes per second it can transfer.
⚠ Watch out
Saying compression makes the connection faster or gives you more bandwidth. Tempting, because things do arrive sooner. But the connection is exactly the same. The compressed file has fewer bits, so it needs less bandwidth and takes less time to transfer.
Memory hook
Fewer bits, fewer problems: less to store, less to squeeze down the network, less to wait for.
Check yourself
Cover the page. What one change does compression make, and which three advantages follow from it? Then turn 160 megabits per second into megabytes per second. (Answer: 20 megabytes per second.)
Flashcards
(13)What is the aim of data compression?
What are the two ways a compression algorithm makes a file smaller?
What is the storage advantage of compression?
Define bandwidth.
What is the bandwidth advantage of compression?
Compression increases bandwidth, or reduces the bandwidth needed. Which is right?
Bits per second to bytes per second: what do you do?
What is the transfer advantage of compression?
Why do streaming services compress audio and video?
Name four kinds of file that are commonly compressed.
Match each method to its file type: JPEG, MP3, MP4.
What does a ZIP file do?
A file is too large to email. How does compression help?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 24 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.