GCSE · Computer Science · OCR · Spec J277

Larger units: KB, MB, GB, TB, PB

KB, MB, GB, TB, PB look like random letters to memorise. They aren't. Each is a number of bytes with a prefix, and the prefix tells you the size.

Computer Science · Data units

Five piles of bytes, five units. Pick a pile, then pick the unit it equals. Tip: count the zeros after the 1.

Still to sort

Kilobyte (KB) (0)

kilo: 1 followed by 3 zeros

Megabyte (MB) (0)

mega: 1 followed by 6 zeros

Gigabyte (GB) (0)

giga: 1 followed by 9 zeros

Terabyte (TB) (0)

tera: 1 followed by 12 zeros

Petabyte (PB) (0)

peta: 1 followed by 15 zeros

5 of 5 still to sort.

Before we climb the ladder

Bit or byte?

A friend is explaining how storage is measured and says a few things that sound sure of themselves.

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

Predict, then check

Use the pattern before you check it.

Kilo has 3 zeros after the 1, mega has 6 and giga has 9. How many zeros follow the 1 in tera?

The ladder

Put the units in order

How many bytes the unit stands for

1 · Smallest5 · Largest
  1. Terabyte

  2. Kilobyte

  3. Petabyte

  4. Megabyte

  5. Gigabyte

Climbing down the ladder

Terabytes to megabytes

A data set is 4 TB. How many MB is that? Fill in the gaps.

  1. MB is two rungs below TB on the ladder: TB, then GB, then MB. We are heading to a smaller unit, so there will be more of them.
  2. missing step
Which line is step 2?

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Three more zeros every step, from a thousand bytes to a quadrillion.

What you need to know

  • A bit is the smallest unit of data in computing: a single 0 or a single 1.
  • A byte is a group of 8 bits.
  • Have a goYour classmate says a byte is just a posher word for a bit. How many bits would you tell them are packed into one byte?

    8 bits.

    A bit is a single 0 or 1 and a byte is a group of 8 of them, so they are two different sizes, not two names for one thing.

  • Prefixes stand for multiples of a number, so huge sizes are easier to understand and compare.
  • Count the zeros: kilo is 1 followed by 3 zeros (a thousand), mega is 6 (a million), giga is 9 (a billion).
  • Have a goA classmate swears 'mega' means a billion because it sounds enormous. Count the zeros: how many does mega have, and what number is that?

    6 zeros, which is a million.

    A billion has 9 zeros and belongs to giga. Mega stops at six, so it is only a million.

  • Keep going: tera is 1 followed by 12 zeros (a trillion), and peta is 1 followed by 15 zeros (a quadrillion).
  • So 1 kilobyte is 1000 bytes, 1 megabyte is a million bytes, and 1 gigabyte is a billion bytes.
  • And 1 terabyte is a trillion bytes, while 1 petabyte is a quadrillion bytes.
  • Have a goWhich has more zeros after the 1: a trillion or a quadrillion? Say which prefix each goes with.

    A quadrillion: 15 zeros, peta. A trillion has 12, tera.

    More zeros means a bigger number, and each prefix up the ladder adds three more. Peta sits above tera.

  • Order, smallest to largest: kilobyte, megabyte, gigabyte, terabyte, petabyte. Knowing it helps you convert between them.
  • This lesson uses decimal prefixes, so each unit is a thousand of the unit below it.
  • That means a thousand KB in an MB, a thousand MB in a GB, a thousand GB in a TB, and a thousand TB in a PB.

The big picture

A bit is the smallest unit of data, a 0 or a 1, and a byte is a group of 8 bits. Prefixes stand for multiples of a number: kilo is 1 followed by 3 zeros (a thousand), mega 6 (a million), giga 9 (a billion), tera 12 (a trillion) and peta 15 (a quadrillion). So 1 kilobyte is 1000 bytes, 1 megabyte a million bytes, 1 gigabyte a billion, 1 terabyte a trillion and 1 petabyte a quadrillion. The order is kilobyte, megabyte, gigabyte, terabyte, petabyte, and with decimal prefixes each unit is a thousand of the unit below it, which is what makes converting between them work.

Key points

1Bit = a single 0 or 1 (smallest unit). Byte = a group of 8 bits.
2Kilo, mega, giga, tera, peta = 1 followed by 3, 6, 9, 12, 15 zeros: a thousand, a million, a billion, a trillion, a quadrillion.
31 KB = 1000 bytes, 1 MB = a million bytes, 1 GB = a billion, 1 TB = a trillion, 1 PB = a quadrillion bytes.
4Order: kilobyte, megabyte, gigabyte, terabyte, petabyte. With decimal prefixes each unit is a thousand of the unit below.

Worked example

Problem

A folder holds 7,000,000 KB of data. How many GB is that?

⚠ Watch out

Treating the units as names to memorise instead of reading the zeros. The other classic slip is the wrong direction when converting: going to a smaller unit means more of them, so multiply by 1000. Going to a bigger unit means fewer, so divide by 1000.

🧠

Memory hook

Kilo, mega, giga, tera, peta: 3, 6, 9, 12, 15 zeros. Three more zeros every step up the ladder.

✓

Check yourself

Cover the page. List the five units from smallest to largest, then say how many zeros follow the 1 for each prefix.

Flashcards

(14)
What is a bit?
The smallest unit of data in computing: a single 0 or a single 1.
What is a byte?
A group of 8 bits.
Why do we use prefixes like kilo and mega?
They express multiples of a number, which makes sizes easier to understand and compare.
How many zeros follow the 1 in kilo, mega and giga?
3, 6 and 9: a thousand, a million and a billion.
How many zeros follow the 1 in tera and peta?
12 and 15: a trillion and a quadrillion.
How many bytes in one kilobyte?
1000 bytes.
How many bytes in one megabyte?
A million bytes.
How many bytes in one gigabyte?
A billion bytes.
How many bytes in one terabyte?
A trillion bytes.
How many bytes in one petabyte?
A quadrillion bytes.
Put the units in order, smallest to largest.
Kilobyte, megabyte, gigabyte, terabyte, petabyte.
With decimal prefixes, how does each unit compare with the one below it?
It is a thousand of the unit below: a thousand KB in an MB, a thousand MB in a GB, and so on.
Converting to a smaller unit (for example GB to MB): multiply or divide by 1000?
Multiply: there are more of the smaller unit.
Converting to a bigger unit (for example KB to MB): multiply or divide by 1000?
Divide: there are fewer of the bigger unit.

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 OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)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 14 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.