Objectives

Students will be able to:

  • Understand how data storage is measured
  • understand the amount of the previous denomination present in the data storage size, e.g. 8 bits in a byte, 1024 mebibytes in a gibibyte

Bytes, Bytes, Bytes

Data storage

Question - how do we measure data storage and file size?

Humans are familiar with the metric number system.

For example, if we have 1000grams of sugar, we will say there is 1 kilogram of sugar.

Similarly, if an image needs 1000 bytes to store it, we will say that 1 kilobyte of storage is required.

1000 kilobytes is a megabyte.

1000 megabytes is a terabyte.

Here is a table detailing storage quantity for data using the metric system:

bytes metric term    
1000 kilobyte 1000 bytes 103
1000000 megabyte 1000 kilobytes 106
1000000000 gigabyte 1000 megabytes 109
1000000000000 terabyte 1000 gigabytes 1012
1000000000000000 petabyte 1000 terabytes 1015
1000000000000000000 exabyte 1000 petabytes 1018

But when we want to use binary to determine quantity of bytes?

We we can. 210 bytes is 1024 bytes. So, computer scientists express 1024 bytes as a kibibyte.

bytes binary term    
1024 kibibyte 1024 bytes 210
1048576 mebibyte 1024 kibibyes 220
1073741824 gibibyte 1024 mebibytes 230
1099511627776 tebibyte 1024 gibibytes 240
1125899906842624 pebibyte 1024 tebibytes 250
1152921504606846976 exbibyte 1024 pebibytes 260

   Task

Watch this video and complete the task:

Food For Thought

A Kilobyte is 1000 bytes. A Kibibyte is 1024 bytes.

SUBSCRIBE

Join my mailing list to receive updates on the latest blog posts and other things.