What is kb mb gb

Last updated: April 1, 2026

Quick Answer: KB (kilobyte), MB (megabyte), and GB (gigabyte) are standard units of digital storage capacity, with each larger unit representing 1,024 times the smaller unit: 1 KB = 1,024 bytes, 1 MB = 1,024 KB, and 1 GB = 1,024 MB.

Key Facts

Understanding Digital Storage Units

KB (kilobyte), MB (megabyte), and GB (gigabyte) are fundamental units for measuring digital information and storage capacity. These units form the basis of how we quantify data in computers, smartphones, and storage devices. Understanding the relationship between these units is essential for managing files, assessing device storage, and understanding internet speeds.

Kilobyte (KB)

A kilobyte is the smallest commonly referenced storage unit in everyday use. One kilobyte equals 1,024 bytes in the binary system (or 1,000 bytes in decimal). Kilobytes are typically used to measure small text files, basic images, or short audio clips. Modern documents and simple files rarely exceed a few megabytes, making kilobytes less commonly discussed in contemporary computing where larger units dominate.

Megabyte (MB)

A megabyte equals 1,024 kilobytes and represents a more practical unit for everyday files. Typical uses for megabytes include compressed music files (3-5 MB per song), digital photos (2-8 MB depending on resolution and format), and small video clips. Internet speeds are sometimes measured in Mbps (megabits per second), which differs from megabytes - it takes 8 megabits to equal 1 megabyte. This distinction is important when evaluating download speeds.

Gigabyte (GB)

A gigabyte equals 1,024 megabytes and is the standard unit for measuring modern storage devices. Computer hard drives, solid-state drives (SSDs), USB flash drives, and smartphone storage are typically measured in gigabytes or terabytes. A standard movie file ranges from 700 MB to 4 GB depending on quality and duration. Most consumer devices today offer storage capacities ranging from 64 GB to several terabytes.

Binary vs. Decimal Systems

Storage manufacturers sometimes use the decimal system where 1 KB = 1,000 bytes, 1 MB = 1,000 KB, and 1 GB = 1,000 MB. However, computers use binary mathematics where the factor is 1,024. This discrepancy explains why a 1 TB hard drive shows approximately 931 GB of usable space when connected to a computer - the difference between marketing claims and actual binary capacity.

Larger Units Beyond GB

Beyond gigabytes come terabytes (TB) and petabytes (PB), following the same 1,024 multiplication factor. One terabyte equals 1,024 gigabytes. Modern cloud storage, enterprise servers, and advanced consumer devices increasingly use terabyte measurements as data storage needs continue to grow exponentially.

UnitBinary SizeDecimal SizeCommon Use
KB (Kilobyte)1,024 bytes1,000 bytesSmall text documents
MB (Megabyte)1,024 KB1,000 KBPhotos, music files
GB (Gigabyte)1,024 MB1,000 MBDevice storage, movies

Related Questions

How many MB are in 1 GB?

One gigabyte contains 1,024 megabytes in the binary system, or 1,000 megabytes in the decimal system used by some storage manufacturers.

What is the difference between MB and Mbps?

MB (megabyte) measures data storage while Mbps (megabits per second) measures internet speed. Eight megabits equal one megabyte, so a 10 Mbps connection transfers approximately 1.25 MB per second.

Why does my hard drive show less storage than advertised?

Manufacturers advertise storage using decimal units (1,000), while computers calculate using binary units (1,024), creating a discrepancy between advertised and usable storage capacity.

Sources

  1. Wikipedia - Byte CC-BY-SA-4.0
  2. Wikipedia - Megabyte CC-BY-SA-4.0