FT
Digital

Bytes, Kilobytes, and Beyond: Data Storage Units Explained

Understand the difference between KB, MB, GB, TB and their binary counterparts KiB, MiB, GiB.

In the digital age, understanding data storage units is essential for everyone from casual smartphone users to IT professionals. But the relationship between different units can be confusing, especially when manufacturers and operating systems use different definitions.

The Basics: Bits and Bytes

A bit is the smallest unit of data, representing a single 0 or 1. A byte consists of 8 bits and is the basic unit of data storage. One byte can represent a single character (like the letter A).

Decimal Units (SI)

The International System of Units defines storage units using powers of 1,000:

  • 1 Kilobyte (KB) = 1,000 bytes
  • 1 Megabyte (MB) = 1,000 KB = 1,000,000 bytes
  • 1 Gigabyte (GB) = 1,000 MB = 1,000,000,000 bytes
  • 1 Terabyte (TB) = 1,000 GB
  • 1 Petabyte (PB) = 1,000 TB

Binary Units (IEC)

Computers actually work in powers of 2, so the IEC created separate binary units:

  • 1 Kibibyte (KiB) = 1,024 bytes
  • 1 Mebibyte (MiB) = 1,024 KiB = 1,048,576 bytes
  • 1 Gibibyte (GiB) = 1,024 MiB = 1,073,741,824 bytes
  • 1 Tebibyte (TiB) = 1,024 GiB

The Confusion Problem

Hard drive manufacturers use decimal units (1 GB = 1,000,000,000 bytes), but many operating systems display sizes in binary units (1 GiB = 1,073,741,824 bytes). This is why a 500 GB hard drive shows approximately 465 GiB in your computer.

The difference grows larger with bigger drives. A 1 TB drive appears as about 931 GiB in your operating system.

Practical Storage References

To put these numbers in perspective:

  • A typical text email: 2-5 KB
  • A high-resolution photo: 3-8 MB
  • A typical song (MP3): 3-5 MB
  • A standard movie: 1-2 GB
  • A 4K movie: 15-30 GB
  • One hour of video call: 1-2 GB

Tips for Managing Storage

  1. Always check whether sizes are in decimal or binary units
  2. Budget about 7% less usable space than advertised
  3. Cloud storage services typically use decimal units
  4. Use our data storage converter for instant conversions between any units
datastoragecomputingbytes

Need to convert units?

Try our free online converters for instant, accurate results.