Data Capacity & Calculating Capacity Requirements (OCR GCSE Computer Science)

Revision Note

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

Data Capacity & Calculating Capacity Requirements

What is data capacity?

  • Data capacity is the maximum amount of information that a storage device can hold

  • If you know the capacity of a storage device, you can calculate how much of different data types can be stored

  • Examples of data that could be stored include text, images and sound files

How do you calculate capacity requirements?

  • To calculate capacity requirements you need to:

    • Know the capacity of the storage device

    • Calculate the size of a file (formula)

    • Ensure the same units of data storage are used for capacity and size of the file, else convert between units to get them to be the same

    • Divide the capacity by size of the file being stored

capacities
  • The image above shows common capacities of storage devices such as hard drives (HDD), USB flash drives, solid state drives (SSD) and optical disks (CD)

Calculating file sizes

Text Files

(Bytes per character) x (Number of characters)

Size of text file = 

 

 

Bytes per character

1

Based on Extended ASCII character set being used (8 bits)

Number of characters

2000

Including spaces!

1 x 2000

=

2000 bytes = 2 KB

Image Files

(Resolution) x (Colour Depth)

Size of image file = 

 

 

Resolution

500 x 500

Resolution = Width x Height

Colour Depth

24 bits

24 bits = 3 bytes

(500x500) x 24

(500x500) x 3

=

=

6,000,000 bits

750,000 bytes = 75 KB

Sound Files

(Sample Rate) x (Duration in seconds) (Bit Depth)

Size of sound file = 

 

 

Sample Rate

10

Samples per second

Duration

30

Seconds

Bit Depth

4

Number of bits stored per sample

10 x 30 x 4

=

1200 bits = 150 bytes

Worked Example

Lyla is a social media influencer. She creates images to be shared on her social media accounts.

Each image has a fixed size of 3 MB. She is storing the images on a USB flash drive which has a capacity of 6 GB.
Calculate how many images can be saved on the storage device. Show your working [2]

How to answer this question:

  • Convert 6 GB to MB

  • Divide the capacity in MB by the files size in MB

Answer

  • 6 GB  = 6 * 1000 = 6000 MB

  • 6000 / 3 = 2000 images

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Robert Hampton

Author: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

James Woodhouse

Author: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.