Understanding Digital Storage Units: Bytes, Kilobytes, and Beyond

The Byte: Foundation of Digital Storage

A byte is the fundamental unit of digital information, consisting of 8 bits. Each bit can be 0 or 1, so one byte can represent 256 different values (2⁸). A single ASCII character (like the letter 'A') takes up exactly one byte. A Unicode character (needed for emoji or Chinese characters) may use up to 4 bytes.

Decimal vs Binary Prefixes

Here is where the confusion begins. There are two competing prefix systems for data storage:

Decimal (SI)ValueBinary (IEC)Value
kilobyte (kB)1,000 byteskibibyte (KiB)1,024 bytes
megabyte (MB)1,000,000 bytesmebibyte (MiB)1,048,576 bytes
gigabyte (GB)1,000,000,000 bytesgibibyte (GiB)1,073,741,824 bytes
terabyte (TB)1,000,000,000,000 bytestebibyte (TiB)1,099,511,627,776 bytes

Why Your Hard Drive Seems Smaller Than Advertised

Storage manufacturers use decimal (powers of 1,000) prefixes when labelling drives. A "1 TB" drive contains exactly 1,000,000,000,000 bytes. But operating systems like Windows historically report sizes using binary (powers of 1,024) prefixes while still labelling them as "GB." So that 1 TB drive shows up as approximately 931 GB (actually 931 GiB).

This is not a scam — it is a naming inconsistency. The IEC introduced binary prefixes (KiB, MiB, GiB, TiB) in 1998 to resolve the ambiguity, but adoption has been slow. macOS switched to decimal display in 2009, and some Linux distributions use binary prefixes correctly, but Windows still uses the confusing convention.

RAM vs Storage

RAM sizes are always binary because memory chips are designed in powers of 2. An "8 GB" RAM stick contains exactly 8 × 1,073,741,824 = 8,589,934,592 bytes. But an "8 GB" USB flash drive contains 8 × 1,000,000,000 = 8,000,000,000 bytes. Same label, different actual size.

Network Speeds: Bits vs Bytes

Internet speeds are measured in bits per second (Mbps, Gbps), while file sizes are measured in bytes. Since 1 byte = 8 bits, a 100 Mbps connection can theoretically transfer 12.5 MB per second. When your ISP advertises "1 Gbps," your maximum download speed for files is about 125 MB/s (before accounting for protocol overhead).

Practical Tips

  • When comparing storage, always check whether the size is in decimal (GB) or binary (GiB) units.
  • Divide advertised hard drive size by 1.073741824 to see what your OS will likely report.
  • For network transfers, divide your connection speed in Mbps by 8 to estimate file download speed in MB/s.
  • Cloud storage providers typically use decimal units (1 GB = 1,000,000,000 bytes).