← All blog posts

Data Storage Converter for students — with examples

WhiteUI · A plain-English guide to the Data Storage Converter

If you are studying computing, storage units come up in almost every topic — file sizes, memory, networks, databases. The Data Storage Converter is a quick way to check your homework, but the exam will ask you to show the working, so here is the method behind the answers.

The ladder to memorise

Each step up multiplies by 1,024: 1 KB = 1,024 B, 1 MB = 1,024 KB, 1 GB = 1,024 MB, 1 TB = 1,024 GB, 1 PB = 1,024 TB. Going down, multiply; going up, divide. If the question does not say otherwise, school and exam questions use 1,024.

Worked example 1: 5 GB to MB

5 GB is one step down to MB, so multiply once: 5 × 1,024 = 5,120 MB. Show the step: 5 × 1,024 = 5,120 MB.

Worked example 2: 16 GB of RAM in bytes

16 GB of RAM is 16 × 1,024 = 16,384 MB, and 16,384 × 1,024 = 16,777,216 KB, and 16,777,216 × 1,024 = 17,179,869,184 bytes. Three multiplications, each by 1,024 — that is why the tool goes through bytes internally.

Worked example 3: 1 PB in bytes

1 PB is five steps above a byte, so it is 1,024⁵ bytes = 1,125,899,906,842,624 bytes. You would never write that out in an exam — you would write 1,024⁵ and leave it there — but it shows why petabytes only appear when you are talking about data centres, not laptops.

At a glance

16 GB of RAM on a 32 GB scale0 MB16,384 MB32,768 MB16 GB = 16,384 MB on the 1024 base
16 GB of RAM is 16,384 MB — exactly half of 32 GB.

The common mistake

The exam trap is using 1,000 instead of 1,024. If a question says a file is 5 GB and asks for MB, the expected answer is 5,120 MB, not 5,000 MB. Unless the question says “using 1 KB = 1,000 bytes”, always use 1,024.

Frequently asked questions

How many MB are in 5 GB?

5,120 MB on the 1024 base: 5 times 1,024.

How many bytes are in 16 GB?

17,179,869,184 bytes on the 1024 base: 16 times 1,024 three times over.

How many bytes are in 1 PB?

1,125,899,906,842,624 bytes, which is 1,024 to the power of 5.

Should I use 1,000 or 1,024 in exams?

Use 1,024 unless the question says otherwise. Exam questions about storage use the 1024 base.

More guides on the Data Storage Converter

Try it yourself

Try the Data Storage Converter — free, in your browser.

Open the Data Storage Converter