Class 11 Computer Knowledge

Memory Units: Bit, Byte, KB, MB, GB and Conversions

WhatsApp Telegram
Memory units cover with bit, nibble, byte, KB, MB, GB and TB and the rule 1 byte equals 8 bits

Memory units tell us how much data a computer can store or move. Every file, photo and song takes up some of them. So learn the small units first, and then the big ones.

Memory Units: Bit, Nibble and Byte

First, the bit is the smallest unit of information. Its name comes from “binary digit,” and it holds one of two values, 0 or 1. Later, Claude Shannon popularised the term in 1948, and he credited John Tukey with the short form.

Advertisements

Four bits make a nibble, and eight bits make a byte. Therefore one byte can hold 256 different values, from 0 to 255. Memory trick: a nibble is a small bite, so it is half a byte. Historically, a byte held one character of text, such as a letter or a digit.

Werner Buchholz coined the word “byte” in 1956 at IBM. He changed the spelling of “bite” so that nobody would confuse it with “bit.” In the 1960s, however, some machines used bytes of six or nine bits. The eight-bit byte later became the standard.

Larger Memory Units: KB to Yottabyte

A byte is too small for modern files, so we use bigger units. Each step in the exam ladder multiplies by 1,024, which is 2 to the power 10. The table below shows the ladder.

UnitEquals
Nibble4 bits
Byte (B)8 bits
Kilobyte (KB)1,024 bytes
Megabyte (MB)1,024 KB
Gigabyte (GB)1,024 MB
Terabyte (TB)1,024 GB
Petabyte (PB)1,024 TB
Ladder of memory units from bit, nibble and byte up to KB, MB, GB, TB and PB with the multiply by 1024 rule
The memory units ladder: multiply by 1,024 going down, divide going up.

After the petabyte come the exabyte (EB), the zettabyte (ZB) and the yottabyte (YB). Trick: Big Kids Make Great Tea Pots means B, KB, MB, GB, TB, PB. Primary memory such as RAM usually comes in gigabytes, as our note on RAM, ROM and cache explains.

In the SI system, each prefix is 1,000 times the one before it. For example, a petabyte is 10 to the power 15 bytes. An exabyte is 10 to the power 18, and a yottabyte is 10 to the power 24. Therefore the gap between systems grows as the units grow.

How to Convert Memory Units

Conversion needs only two rules. To go from a bigger unit to a smaller one, simply multiply. To go from a smaller unit to a bigger one, divide. Between bits and bytes, however, the number is 8.

  • Bigger to smaller: multiply by 1,024 for each step down the ladder.
  • Smaller to bigger: divide by 1,024 for each step up.
  • Bytes to bits: multiply by 8. Bits to bytes: divide by 8.

Worked Conversion Examples

Try these steps on paper. First, 5 MB equals 5 x 1,024, which is 5,120 KB. Second, 2 GB equals 2 x 1,024, which is 2,048 MB. Third, 8,192 KB equals 8,192 divided by 1,024, which is 8 MB.

The same method works for small units. For example, 3 bytes equal 24 bits, and 64 bits equal 8 bytes. Also, 16 nibbles equal 8 bytes, because two nibbles make one byte. Finally, 1 GB equals 1,024 x 1,024 KB, so it is 1,048,576 KB.

Advertisements

Binary or Decimal: 1,000 or 1,024?

Two systems exist, so students often mix them up. The SI system uses powers of 10, so 1 kB is 1,000 bytes. In contrast, the binary system uses powers of 2, so 1 KiB is 1,024 bytes. For this purpose, the IEC created the binary names kibi, mebi and gibi. It published them in 1999.

In practice, however, people still use KB for both values. Windows shows sizes in the binary sense, while drive makers sell capacity in the decimal sense. As a result, a drive sold as 1 TB may appear as about 931 GB. Our note on HDD, SSD and other storage devices shows why that gap matters. For exams, use 1,024 unless the question says decimal or KiB.

  • Kibi (Ki): 1,024 bytes.
  • Mebi (Mi): 1,024 KiB, which is 1,048,576 bytes.
  • Gibi (Gi): 1,024 MiB, which is 1,073,741,824 bytes.
  • Tebi (Ti): 1,024 GiB, which is 1,099,511,627,776 bytes.

The gap grows with size. A terabyte is about 9% smaller than a tebibyte.

Bits, Bytes and Data Speed

Remember that a small “b” means bit, and a capital “B” means byte. So Mb is a megabit, while MB is a megabyte. Internet providers usually quote speed in bits per second. For example, 8 kbit/s equals 1 kB/s, so a link of 80 Mbps moves about 10 MB each second.

Memory Units in Real Life

Because a character takes about one byte, a 1 KB note holds roughly a thousand characters. Likewise, a 4 GB RAM module holds 4,096 MB. A 1 TB drive holds 1,024 GB in the binary sense. Besides that, modern computers process data in words of 32 or 64 bits. That means 4 or 8 bytes at a time.

Quick practice helps you remember. First, convert 4 KB to bytes, which gives 4,096. Next, convert 3 TB to GB, which gives 3,072. Also try 40 bits to bytes, which gives 5. Then check each answer with the ladder.

Memory Units: Exam Tips and Tricks

Questions on memory units usually test the order and the multiplier. So write the ladder from memory first. Then check the factor, which is 1,024 for each step. Also remember that 1 byte equals 8 bits and 1 nibble equals 4 bits.

For more detail, read the Wikipedia article on the byte and the page on binary and decimal prefixes. In addition, the article on the bit covers the symbols. Finally, take the quiz below to test your recall.

Frequently Asked Questions

How many bits are there in a byte?

One byte has eight bits, and one nibble has four bits. So a byte can hold 256 different values.

How many KB make one MB?

In exam convention, 1 MB equals 1,024 KB. However, the SI system uses 1,000 kB for 1 MB.

What is the difference between Mb and MB?

A small b means bit and a capital B means byte. For example, Mb is a megabit, while MB is a megabyte.

Why does a 1 TB drive show about 931 GB?

Makers count in decimal units, but Windows shows sizes in the binary sense. As a result, the number looks smaller.

Sources

Take the quiz for this classMemory Units: Bit, Byte, KB, MB, GB and Conversions: Quiz · 16 questionsStart

How was this? Tap to react.

Advertisements

From VSR Store

See all

10% extra discountUse this coupon code on vsrsol.com

LEARNWITHVINOD

Leave a Reply

Your email address will not be published. Required fields are marked *