Technology

Bytes, MB, GB: How to Navigate Computer Storage?

2024-05-30
WebCalcul Team
WEBCALCUL

Computing uses units of measurement that can be confusing. Between the language of hard drive manufacturers and that of your operating system (Windows, macOS), there is a mathematical gap often misunderstood.

1. Bit and Byte: The Basis of Everything

The bit is the smallest unit of information (0 or 1). A byte is composed of 8 bits.

1 byte=8 bits1 \text{ byte} = 8 \text{ bits}

2. The War of Powers: Base 10 vs Base 2

This is where calculation errors occur.

  • The decimal system (SI): Used by manufacturers, it follows powers of 10.
  • The binary system: Used by computers, it follows powers of 2 (2102^{10}).

Conversion in base 10 (International standard)

1 KB=103=1 000 bytes1 \text{ KB} = 10^3 = 1\ 000 \text{ bytes} 1 MB=106=1 000 000 bytes1 \text{ MB} = 10^6 = 1\ 000\ 000 \text{ bytes}

Conversion in base 2 (Computer reality)

To be precise, we should speak of Kibibytes (KiB) or Mebibytes (MiB): 1 KiB=210=1 024 bytes1 \text{ KiB} = 2^{10} = 1\ 024 \text{ bytes} 1 MiB=220=1 048 576 bytes1 \text{ MiB} = 2^{20} = 1\ 048\ 576 \text{ bytes}

3. The Mystery of the "Missing" Hard Drive

When you buy a 1 TB1 \text{ TB} drive (101210^{12} bytes), your computer divides this number by 1 02431\ 024^3 to display the size in GB.

The actual conversion formula seen by your PC is: CapacityPC=CapacityManufacturer(1.024)3Capacity_{PC} = \frac{Capacity_{Manufacturer}}{(1.024)^3}

This is why a 1000 GB drive actually displays only 931 GB on screen.

4. Internet Speed: Mbps vs MB/s

Another common confusion concerns download speed. Providers advertise Megabits per second (Mbps), but your browsers display Megabytes per second (MB/s).

To convert from one to the other, divide by 8: Speed(MB/s)=Speed(Mbps)8Speed_{(MB/s)} = \frac{Speed_{(Mbps)}}{8}


Need an accurate conversion? Try our Digital Storage Converter.

Free Tool

Ready to calculate?

Open Calculator