GCSE · Computer Science · Edexcel · Spec 1CP2

Units of data storage

A one-minute sound clip. How big is the file? Not 'quite big' or 'smallish': an actual number. Two numbers, 8 and 1,000, will answer that, and every question like it.

Computer Science · Data storage

How big is this sound?

16 audio samples at 4 bits, 16 levels, 1000 hertz, 1 channels. File size: 30 KB

Sample 1 of 16
Levels16Bit depth4-bitSample rate1000 HzFile size30 KB
drag across the bars to repaint the wave

A one-minute recording, sampled 1,000 times every second, with each sample stored in 4 bits (so each sample is one of 16 levels, 0 to 15). The bars are a tiny slice of the wave. Paint them any shape you like, then look at the file size box.

Watch out: Painting the bars changes the shape of the sound, not the file size. The size comes from just three numbers: sample rate, bits per sample and seconds. (The readout writes kilobytes as KB.)

Computer Science · The ladder of units

Climb the ladder of units

Rank these seven units of data storage by size. The bit is the smallest unit of all, so it is already sitting at the bottom of the ladder and is not in the list.

1 · Smallest7 · Largest
  1. gigabyte

  2. nibble

  3. petabyte

  4. byte

  5. kilobyte

  6. terabyte

  7. megabyte

Computer Science · How big is big?

How many bytes in a gigabyte?

How many bytes are in 1 gigabyte? Slide to your best guess. The scale counts in millions of bytes.

Your estimate

1500 million bytes

0 million bytes3000 million bytes

Computer Science · Converting units

Fill in the missing steps

Part 1: write 40,000 bits in kilobytes. Part 2: find the size of a text file with 50,000 characters.

  1. Part 1. We start with 40,000 bits and want kilobytes. Bits to kilobytes takes two steps, bits to bytes first, then bytes to kilobytes.
  2. missing step
Which line is step 2?

Computer Science · Common slips

Whose method would you trust?

Three classmates are converting data sizes. Sam has a sound file of 24,000 bits and wants kilobytes. Priya has the same file. Zara has 50 bytes and wants bits.

Which idea is closest to what you think right now?
How sure are you?

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Bits, bytes, kilobytes and beyond, and the two numbers that convert between them: 8 and 1,000.

What you need to know

  • Everything a computer stores is binary: 0s and 1s. The smallest unit of storage is the bit, which is either 0 or 1.
  • Bits are grouped to make them easier to handle: 4 bits make a nibble, which is half a byte, and 8 bits make a byte.
  • Have a goDev says a nibble must be the chunkier one, because it sounds like a big bite. Put two nibbles side by side: how many bits is that, and what is it called?

    8 bits, which is one byte.

    A nibble is 4 bits, half a byte, so two of them make 8 bits. A nibble can't be bigger than a byte.

  • Bigger units come from number prefixes: kilo is a thousand, mega a million, giga a billion, tera a trillion and peta a quadrillion.
  • The order is bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte. From the kilobyte up, each is 1,000 times the last.
  • Have a goWithout a calculator: how many kilobytes are in one gigabyte?

    1,000,000 kilobytes.

    A gigabyte is 1,000 megabytes and each megabyte is 1,000 kilobytes, so it is 1,000 × 1,000, not just 1,000.

  • In this lesson 1 kilobyte (kB) = 1,000 bytes and 1 megabyte (MB) = 1,000,000 bytes, with a thousand again at every step up.
  • Two numbers do every conversion: 8 bits in a byte and 1,000 bytes in a kilobyte. Bigger unit: divide. Smaller unit: multiply.
  • Have a goA small file is 2,000 bytes. How many bits is that?

    16,000 bits.

    Bits are the smaller unit, so there are more of them: multiply by 8. Dividing would give a smaller number, which can't be right.

  • Bits into kilobytes takes two steps: divide by 8 to get bytes, then divide by 1,000 to get kilobytes.
  • For a text file where each character takes 1 byte, the number of characters is the number of bytes.
  • Sound file: total bits = sample rate × sample resolution × seconds. Divide by 8 for bytes, then by 1,000 for kilobytes.
  • The same size can be written in several units, so pick the most readable: 240,000 bits is 30,000 bytes is 30 kilobytes.

The big picture

Every file is just bits, and bigger units are only a way of counting them in bigger groups: 8 bits to a byte, then thousands. You will put the units in order, feel how big a gigabyte is, convert between units using 8 and 1,000, and work out the size of text and sound files.

Key points

1Data is stored as bits (0 or 1). 8 bits make a byte and 4 bits make a nibble.
2Units run bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte; from the kilobyte up each is 1,000 times the last.
3Two numbers do every conversion: 8 (bits in a byte) and 1,000 (bytes in a kilobyte).
4Bits to kilobytes is two steps: ÷ 8, then ÷ 1,000.
5Sound file: total bits = sample rate × sample resolution × seconds, then convert.

Worked example

Problem

A sound recording has a sample rate of 2,000 Hz and a sample resolution of 8 bits, and it lasts 30 seconds. Find its size in kilobytes.

⚠ Watch out

Dividing bits straight by 1,000 to get kilobytes. A kilobyte is 1,000 bytes, not 1,000 bits, so divide by 8 first to reach bytes.

🧠

Memory hook

Eight, then thousands. Bits ÷ 8 makes bytes; after that, every prefix you climb is ÷ 1,000.

✓

Check yourself

Cover the page. Explain in your own words why dividing bits by 1,000 gives the wrong size in kilobytes, then convert 64,000 bits to kilobytes and say which number you used at each step.

Flashcards

(15)
What is the smallest unit of data storage?
The bit (binary digit), stored as either 0 or 1.
How many bits make a byte?
8 bits make 1 byte, so 16 bits is 2 bytes.
What is a nibble?
A group of 4 bits, which is half a byte.
What do kilo, mega and giga mean?
Kilo is a thousand, mega is a million and giga is a billion.
What do tera and peta mean?
Tera is a trillion (1 followed by twelve zeros) and peta is a quadrillion (1 followed by fifteen zeros).
List the units of storage from smallest to largest.
Bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte.
How many bytes are in 1 kilobyte and in 1 megabyte?
1 kB = 1,000 bytes and 1 MB = 1,000,000 bytes.
How many bytes are in 1 gigabyte, 1 terabyte and 1 petabyte?
1 GB = 1,000,000,000 bytes; 1 TB = 1,000,000,000,000 bytes; 1 PB = 1,000,000,000,000,000 bytes.
Name the two numbers behind every conversion here.
1,000 (the jump between prefixes) and 8 (the jump between bits and bytes).
How do you turn bytes into bits?
Multiply by 8. For example, 50 bytes is 400 bits.
How do you turn kilobytes into megabytes (or any prefixed unit into the next one up)?
Divide by 1,000. For example, 3,000 kilobytes is 3 megabytes. Bits to bytes is different: divide by 8.
What are the two steps from bits to kilobytes?
Divide by 8 to get bytes, then divide by 1,000 to get kilobytes.
How big is a text file if each character takes 1 byte?
Its size in bytes is its number of characters.
What does a sample rate of 1,000 Hz mean for a recording?
1,000 samples are taken every second.
How do you choose the unit for a file size?
Pick the most readable and practical one. The same size can be written in several units.

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 posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

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 21 November 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.