Calculating Memory Size

Click to see the rest of the Secondary Storage section :

Understanding how to calculate memory size required for different files requires us to learn the terms used for differnt memory sizes. We could calculate all memory sizes in bits (a single 1 or 0 in binary), but for most memory this would mean showing capacity in the many millions which is difficult.

Hard drive - GCSE Computer science

Instead, we use a set of standard sizes that scale up as memory requirements get larger:

  • 1 bit = a single 1 or 0
  • 4 bits = a nibble
  • 8 bits = a Byte

After a Byte, memory is calculated in one of two ways. If we are discussing the size of files or storage devices, multiples of 1000 are used. However, if we are discussing the transfer of data, multiples of 1024 are used.

1 KiloByte = 1000 Bytes1 KibiByte = 1024 Bytes
1 MegaByte = 1000 KiloBytes1 MebiByte = 1024 KibiBytes
1 GigaByte = 1000 MegaBytes1 GibiByte = 1024 MebiBytes
1 TeraByte = 1000 GigaBytes1 TebiByte = 1024 GibiBytes

Knowing this allows us to calculate how many files of a certain size can fit into another. For example:

David has a photo that is 2MB. How many of these can he store on his 3GB memory stick?

The first step is to put both in the same capacity:

3 * 1000 = 3000

Next, we can work out how many 2MB photos fit into 3000 MB:

3000 / 2 = 1500

So the answer is 1500 2MB photos could be stored on the disk if no other space is taken by other files.

Found this page helpful? Please consider sharing!

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on reddit
Share on tumblr

Looking for more?

Lesson Plan



Not a member yet? Sign Up Here

or Sign In below

Sign Up For Membership Today

Computer Science Student

Individual Site License
Topic Introduction Pages
Additional Revision Resources
Revision Videos
Exam Question Walkthroughs
Discounted Group Lessons
£2.50 per Month. After your initial payment, your first payment is Free.

Whole School

Whole School Site License (teacher access)
Up to 50 student accounts (£3 per student, per annum for additional students)
Online Topic Lesson Plans
Differentiated Homework Tasks
Monthly Bundle of Downloadable Resources
Discounted Live Lessons
£12.50 per Month.
Number of courses00