Units of storage & memory by Matt Ottewill April 2008

Introduction

Humans use language to communicate. In the west the dominate language is English. As you know English has an alphabet of letters (a-z) and these letters can be combined together to form words. I know, there are numbers and other symbols too but for the sake of this article lets ignore them for now.

The digital alphabet

The alphabet of a digital (computer) system is 1s and 0s (Bits), represented by electrical signals and switches that turn on and off. Click here for more on the physical forms that digital signals can take.

The digital word

Like letters of the alphabet which can be grouped together to form words, so digital Bits may be grouped together to form digital "words" know as Bytes.

Digital files

These Bytes can be grouped together to form complex digital files in which instructions and information is contained. There are many many types of digital file such as ...

  • System files for your Windows or Mac OS
  • Programs
  • Image files
  • Music files
  • Document files
  • etc etc

Calculating digital file size and hardware capacity

It is often useful to know not only how big these files are, but what the capacity of the storage devices they are stored on is, and how quickly they can be sent to another computer. For example you may need to know ...

  • How much space they will take up on a hard drive or CDROM disc
  • How many files and programs you can load from a storage device into the RAM memory of the computer at the same time
  • How long it will take them to be sent over the internet
  • etc etc

Units of storage and memory

Standard units of quantity (or measurement) are employed to express single and multiple Bits. These units are most commonly used to describe ...

  • Size of computer files (system, programs & data)
  • Capacity of short term memory modules (RAM, FlashRAM and ROM)
  • Capacity of long term storage devices such as hard drives and CD-ROM discs.

The following is an overview of these units, in order from smallest to largest ...

Unit Description Size
Bit (Binary digIT)

The digital "alphabet"

The basic and smallest unit. The Bit is the alphabet of a digital signal. A single Bit can be either a 1 (on) or a 0 (off). (click here for the different physical forms a bit can take).

-
Byte

The digital "word"

Early computers grouped Bits into units of 8 to form computer "words" or Bytes . For example: 10011101An 8-bit Byte can represent 256 values between 0 (00000000) and 255 (11111111).

Bit depth

Bit depth expresses the number of Bits in a Byte. So a Byte made up from 8 Bits is said to have a Bit depth of 8. We might also say it is an 8-bit Byte.

As computer power improved, 16, 24, 32, 64 etc Bytes became possible by combining 8-bit Bytes together. As a general rule, the more bits in a byte, the more powerful and sophisticated the language can be.

Click here to read more about bit-depth

Variable but ...

... always 8 bits when used to measure file size, storage and memory (RAM) capacity.

IMPORTANT NOTE: No mater what bit-depth the Bytes in a file actually are, the total file size is always expressed in terms of 8-bit bytes. So the size of a file that contains two 16-bit Bytes (32 Bits in total) will be said to be 4 bytes in size (4 x 8 = 32).

Kilobit (kb)

Used to express network bandwidth.

eg Because 1 byte is 8 bits, a 56K (56 Kilobits/sec) modem connection has a bandwidth of 7 KiloBytes/sec (56 divided by 8).

1024 Bits
KiloByte (KB, Kb)

Currently used to measure ...

  • small data file sizes.

Particularly important in web site development where small file size (html pages and image files) is paramount.

1024 Bytes
MegaByte (Mb)

Currently used to measure ...

  • RAM capacity
  • program and data file size
  • the capacity of storage devices such as ... CD-ROM (650Mb data, 740Mb red book audio), HD floppy discs (1.4Mb) and removable cartridge drives (eg Zip in 100Mb and 250Mb versions).
1024 KiloBytes
GigaByte (Gb)

Currently used to express ...

  • the capacity of hard drives
  • the capacity of memory sticks
  • the capacity of DVD discs
  • capacity of installed RAM
  • the size of "large" video files
1024 MegaBytes
TerraByte (Tb) Used to express the capacity of large hard drives. Soon (2008) the internal drives of "consumer" PCs will have capacities measured in Tb's. 1024 GigaBytes

 

Related downloads

None at present

Music by our artists

Free MP3 tracks

Download page

Related ads