Tag:

Data Size Converter

Convert between different units of digital storage: bytes, kilobytes, megabytes, gigabytes, terabytes and more.

Conversion Result

1 MB

Common Conversions

1 KB =
1,024 Bytes
1 MB =
1,024 KB
1 GB =
1,024 MB
1 TB =
1,024 GB
1 PB =
1,024 TB
1 KiB =
1,024 Bytes
1 MiB =
1,024 KiB
1 GiB =
1,024 MiB

About Data Size Units

Decimal (SI) Units

Decimal units are based on powers of 10 and are commonly used by storage manufacturers and in many contexts:

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

Binary Units

Binary units are based on powers of 2 and are more commonly used in computing contexts:

  • Kibibyte (KiB): 1,024 bytes
  • Mebibyte (MiB): 1,024 KiB or 1,048,576 bytes
  • Gibibyte (GiB): 1,024 MiB or 1,073,741,824 bytes
  • Tebibyte (TiB): 1,024 GiB or 1,099,511,627,776 bytes
  • Pebibyte (PiB): 1,024 TiB or 1,125,899,906,842,624 bytes

Why the Difference Matters

The difference between decimal and binary units can lead to confusion. For example, a 1 TB hard drive actually contains about 0.91 TiB of space. This is why your operating system might show less available space than what's advertised on the packaging.

Frequently Asked Questions

What's the difference between KB and KiB?

KB (Kilobyte) is 1,000 bytes, while KiB (Kibibyte) is 1,024 bytes. The same pattern applies to MB vs MiB, GB vs GiB, etc. The binary units (KiB, MiB, GiB) are more commonly used in computing contexts, while decimal units (KB, MB, GB) are often used by storage manufacturers.

Why does my hard drive show less space than advertised?

This is due to the difference between decimal and binary units. Hard drive manufacturers use decimal units (1 TB = 1,000 GB), while operating systems typically use binary units (1 TB = 1,024 GiB). Additionally, some space is used for file system overhead and sometimes recovery partitions.

How accurate is this converter?

This converter uses precise mathematical formulas for data size conversions and provides results with high precision. For most practical purposes, the results are as accurate as you'll need them to be.