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
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?
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
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?
What is a byte?
Why do we use prefixes like kilo and mega?
How many zeros follow the 1 in kilo, mega and giga?
How many zeros follow the 1 in tera and peta?
How many bytes in one kilobyte?
How many bytes in one megabyte?
How many bytes in one gigabyte?
How many bytes in one terabyte?
How many bytes in one petabyte?
Put the units in order, smallest to largest.
With decimal prefixes, how does each unit compare with the one below it?
Converting to a smaller unit (for example GB to MB): multiply or divide by 1000?
Converting to a bigger unit (for example KB to MB): multiply or divide by 1000?
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 OCR GCSE Computer Science topics
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.