Units of storage - Low-level operations and computer architecture - National 4 Computing Science Revision - BBC Bitesize (2024)

Units of storage

Everything in a computer is stored as 1s and 0s. A single 1 or a single 0 in a computer is called a 'bit'. If we store a character in a computer it takes eight 1s and 0s, so we might say it takes eight bits to store a character.

Imagine you had to write a 1000 word essay. If we assume that each word has an average of five letters, we can do a rough calculation to work out how many bits it would take to store the essay.

If each letter takes eight bits to store and we have five letters in a word then each word would take forty bits to store.

If we have 1000 words then we would need to multiply 1000 by 40 which gives us 40,000 bits. We would also have to store the spaces between words (a space uses the ASCII code 32). This will of course, add more bits to this number.

The number of bits (1s and 0s) that we store in a computer adds up very quickly. Remember too that pictures and videos are stored as 1s and 0s and these take many, many bits to store. If you had a video on your computer you might look at the size of it and see that it was made up of 1,258,291,200 bits. Clearly this is a large number and so thankfully we can convert this to other units that make it easier to work with.

As already stated above, a single 1 or a single 0 in a computer is called a bit. The next unit up is called a byte and a byte is 8 bits together.

Units of storage - Low-level operations and computer architecture - National 4 Computing Science Revision - BBC Bitesize (1)

The next unit is called a kilobyte. Kilo, as in kilometre or kilogram, means 1000. Although, in computer terms, kilo means 1024, so 1 kilobyte is 1024 bytes.

The next unit up is called a megabyte. 1 megabyte is 1024 kilobytes. After that it's a gigabyte, which is 1024 megabytes. Can you see the pattern? You just take the unit before and multiply it by 1024. 1024 gigabytes are called a terabyte and 1024 terabytes are 1 petabyte. 1 petabyte is made up of 9,007,199,254,740,992 bits.

This table shows how the units are related.

UnitDescriptionExample
Bit1 or 0A single pixel in a black and white picture
Byte8 bitsA single character
Kilobyte1024 bytesA small email is about 2 kilobytes
Megabyte1024 kilobytesMP3 files take up about 1 megabyte per minute
Gigabyte1024 megabytes1 gigabyte can hold about 300 MP3 songs
Terabyte1024 gigabytes1 terabyte can hold about 100 DVD-quality films
Petabyte1024 terabytes1 petabyte can hold enough MP3 songs to play continuously for over 2000 years - without repeating!
UnitBit
Description1 or 0
ExampleA single pixel in a black and white picture
UnitByte
Description8 bits
ExampleA single character
UnitKilobyte
Description1024 bytes
ExampleA small email is about 2 kilobytes
UnitMegabyte
Description1024 kilobytes
ExampleMP3 files take up about 1 megabyte per minute
UnitGigabyte
Description1024 megabytes
Example1 gigabyte can hold about 300 MP3 songs
UnitTerabyte
Description1024 gigabytes
Example1 terabyte can hold about 100 DVD-quality films
UnitPetabyte
Description1024 terabytes
Example1 petabyte can hold enough MP3 songs to play continuously for over 2000 years - without repeating!

The start of each word (before the ‘byte’) is called a prefix. We use these in everyday life too: I wouldn’t give my car's weight in grams, though I technically could. I would add the ‘kilo’ prefix to describe the weight in Kilograms, which would be more sensible.

In Computing Science, we use prefixes to stop us having to write down enormous numbers – a Terabyte is in reality 1125899906842624 bytes!

Units of storage - Low-level operations and computer architecture - National 4 Computing Science Revision - BBC Bitesize (2024)

FAQs

What are the 5 units of storage in a computer? ›

Units of storage
UnitDescriptionExample
Byte8 bitsA single character
Kilobyte1024 bytesA small email is about 2 kilobytes
Megabyte1024 kilobytesMP3 files take up about 1 megabyte per minute
Gigabyte1024 megabytes1 gigabyte can hold about 300 MP3 songs
3 more rows

What is 100 terabytes called? ›

Units of measurement for storage data
Decimal valueBinary equivalent of decimal valueDifference
100 gigabytes (GB)93.13 gibibytes (GiB)6.87%
100 terabytes (TB)90.94 tebibytes (TiB)9.06%
100 petabytes (PB)88.81 pebibytes (PiB)11.19%
100 exabytes (EB)86.73 exbibytes (EiB)13.27%
2 more rows

What are the 10 units of storage in computer? ›

The different units of data storage in computer science include Bit, Byte, Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB), Petabyte (PB), Exabyte (EB), Zettabyte (ZB), and Yottabyte (YB).

What is storage unit of a computer system? ›

The storage unit is a part of the computer system which is employed to store the information and instructions to be processed. A storage device is an integral part of the computer hardware which stores information/data to process the result of any computational work.

What are the 4 types of computer storage? ›

Q 2.
  • USB drive.
  • Hard Disk.
  • Floppy Disk.
  • Compact Disc.
  • Cloud Storage.

What is 1000000 terabytes called? ›

An exabyte is the equivalent of one quintillion bytes, one billion gigabytes or one million terabytes (TB). In context with other units of digital data and storage: 8 bits equals one byte. 1,024 bytes equal one kilobyte (KB)

What's bigger than a TB? ›

Therefore, after terabyte comes petabyte. Next is exabyte, then zettabyte and yottabyte.

Do Yottabytes exist? ›

Yottabyte storage is not yet in use, and there is nothing yet currently big enough to measure in yottabytes.

What is 1kb equal to? ›

The correct answer is that 1kb is equal to 1024 bytes. This is because computers use a binary system to measure data, where each unit is multiplied by 2 instead of 10. Therefore, 1kb is equal to 2^10 bytes, which is equal to 1024 bytes.

What is the smallest memory device? ›

The correct answer is A bit. The smallest memory unit is known as a bit. The term "bit" refers to a binary digit. A logical state with one of two potential values is represented by a bit.

What is the largest bytes to smallest? ›

Orders of Magnitude in Digital Data & Computer Storage
  • Bit is an eighth of a byte* ...
  • Byte: 1 Byte. ...
  • Kilobyte: 1 thousand or, 1,000 bytes. ...
  • Megabyte: 1 million, or 1,000,000 bytes. ...
  • Gigabyte: 1 billion, or 1,000,000,000 bytes. ...
  • Terabyte: 1 trillion, or 1,000,000,000,000 bytes. ...
  • Petabye: 1 quadrillion, or 1,000,000,000,000,000 bytes.
Feb 15, 2024

What is the biggest byte? ›

Currently YOTTABYTE is the biggest one.
  • Kilobyte (1024 Bytes)
  • Megabyte (1024 Kilobytes)
  • Gigabyte (1,024 Megabytes, or 1,048,576 Kilobytes)
  • Terabyte (1,024 Gigabytes)
  • Petabyte (1,024 Terabytes, or 1,048,576 Gigabytes)
  • Exabyte (1,024 Petabytes)
  • Zettabyte (1,024 Exabytes)
Mar 18, 2019

What are 5 output devices? ›

Examples include monitors, printers, speakers, headphones, projectors, GPS devices, optical mark readers, and braille readers.

What is the main function of an input device? ›

Input devices send information signals and commands to the computer, whereas output devices receive data signals from a computer. Types of input devices include keyboards, pointing devices, and data entry devices. Computer input devices record types of inputs, including text, audio, videos, etc.

What is 5 storage devices? ›

Storage devices in a computer
  • RAM. RAM means random access memory which is used to access any temporary data and to get intermediate results for the usage of that information. ...
  • ROM. ROM means read-only memory. ...
  • Floppy disk. ...
  • Hard disk. ...
  • Magnetic disk. ...
  • Pen drive. ...
  • SSD. ...
  • Sd card.

How many computer units are there? ›

A computer consists of five main components namely, Input unit, Central Processing Unit, Memory unit Arithmetic & logical unit, Control unit and an Output unit.

Top Articles
Latest Posts
Article information

Author: Terence Hammes MD

Last Updated:

Views: 5860

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.