Data Storage Converter

Drive makers label in gigabytes (1 GB = 1 billion bytes); Windows and macOS report in gibibytes (1 GiB = 1,024³ bytes). A "500 GB" drive shows about 465 GiB — same capacity, different arithmetic. Converting between decimal and binary units avoids confusion when sizing storage or reading specs.

All Converters

Quick Reference: Most Searched Data Storage Conversions

1 GB in MBDecimal
1,000 MB
1 GiB in MiBBinary
1,024 MiB
1 GB in GiBWhy drive shrinks
0.931 GiB
100 MB in GBFile size
0.1 GB
1 TB in GBDecimal
1,000 GB
8 Gbit in GBSpeed vs size
1 GB
512 MiB in MBRAM
537 MB
1 KiB in KBBinary vs decimal
1.024 kB

Real-World Data Storage Scale

How these numbers relate to everyday life
1B
1 byte
8 bits. One ASCII character.
1,000B
1 kB (decimal)
1,000 B. SI kilobyte; used by drive makers.
1,024B
1 KiB
1,024 B. Classic "kilobyte" in RAM and old docs.
1,000,000B
1 MB (decimal)
1,000,000 B. Advertised "megabyte" on storage.
1,048,576B
1 MiB
1,024² B. How OS often counts megabytes.
1,000,000,000B
1 GB (decimal)
1 billion B. Typical SSD/HDD capacity unit in ads.
1,073,741,824B
1 GiB
1,024³ B. What Windows shows for "GB".
1,000,000,000,000B
1 TB (decimal)
1 trillion B. Common for external and NAS drives.
1,000,000,000,000,000B
1 PB
1 quadrillion B. Data centers and big data.

Who Uses Data Storage Conversions?

Consumer Storage & Drives

Manufacturers use decimal GB/TB (1 GB = 10⁹ B); operating systems use binary GiB/TiB (1 GiB = 2³⁰ B). The "missing" space on a new drive is from this conversion, not a defect.

500 GB drive = 500 × 10⁹ B = 465.66 GiB. Windows shows ~466 GB when it means GiB.

Networking & Bandwidth

Speeds are usually in bits per second (Mbit/s, Gbit/s); file sizes are in bytes. Converting avoids wrong expectations: 100 Mbit/s ≈ 12.5 MB/s max throughput.

1 Gbit/s = 125 MB/s (bytes). 50 Mbit/s connection ≈ 6.25 MB/s download.

Software & RAM

Memory is addressed in binary. RAM and cache sizes are in KiB, MiB, GiB (or labeled "KB/MB/GB" but meaning binary). Mixing with decimal MB/GB overstates or understates capacity.

8 GiB RAM = 8 × 1,024³ B = 8.59 GB (decimal). Task Manager may show "8.0 GB" meaning 8 GiB.

Cloud & Billing

Cloud storage and transfer are often billed in GB (decimal) or GiB. Knowing the unit prevents billing surprises and correct comparison of plans.

1 TB plan (decimal) = 1 × 10¹² B. Same as 931.32 GiB. Check provider definition.

Compliance & Forensics

Legal and forensic reports may require exact byte counts. Stating whether decimal or binary units were used avoids disputes over "GB" meaning 10⁹ or 2³⁰ bytes.

1 GB (SI) = 1,000,000,000 B. 1 GiB (IEC) = 1,073,741,824 B. Document which you use.

Did You Know?

The IEC standardized binary prefixes in 1998: kibibyte (KiB), mebibyte (MiB), gibibyte (GiB). So "kilobyte" can mean 1,000 B (SI) or 1,024 B (legacy); KiB unambiguously means 1,024 B.

Source: IEC 60027-2

Hard drive "capacity" in the US is allowed to use decimal units (1 GB = 10⁹ bytes). So a "1 TB" drive has 1 × 10¹² bytes, which is about 931 GiB — the "missing" 69 GiB is the unit difference, not lost space.

Source: NIST

1 byte = 8 bits by convention. So 1 Mbit/s = 125 KB/s (decimal) or 122 KiB/s (binary). Internet speed in Mbit/s: divide by 8 to get approximate MB/s download.

Source: IEC

Common Mistakes to Avoid

Assuming "GB" on a drive label is the same as "GB" in Windows

Drive label: GB = 10⁹ bytes (decimal). Windows often displays "GB" but means GiB (2³⁰ bytes). 1 decimal GB = 0.931 GiB. So 500 GB drive ≈ 465 GiB.

Confusing megabit per second (Mbit/s) with megabyte per second (MB/s)

1 Mbit/s = 0.125 MB/s (1 byte = 8 bits). A 100 Mbit/s connection gives at most 12.5 MB/s download, not 100 MB/s.

Using 1,000 instead of 1,024 (or vice versa) when scripting storage

For RAM, sectors, and OS-reported size use 1,024. For manufacturer capacity and network throughput (bytes) use 1,000. Or use KiB/MiB/GiB in code to be explicit.

Data Storage Conversion Reference

Decimal (SI)

  • 1 kB1,000 B
  • 1 MB1,000,000 B
  • 1 GB10⁹ B
  • 1 TB10¹² B

Binary (IEC)

  • 1 KiB1,024 B
  • 1 MiB1,024² B
  • 1 GiB1,024³ B
  • 1 byte8 bits
Decimal: 1 kB = 1,000 B. Binary: 1 KiB = 1,024 B (IEC 60027-2).

Related Converters

Data Storage Conversion FAQ