Skip to content

Data Size Converter

Convert bits, bytes, decimal KB/MB/GB, and binary KiB/MiB/GiB without mixing conventions.

Data Size Converter interactive tool

Convert a data size

Decimal units use powers of 1,000: 1 KB = 1,000 bytes. Binary units use powers of 1,024: 1 KiB = 1,024 bytes.

Equivalent sizes

Bits and bytes

Bits (bit)
8000000000
Bytes (B)
1000000000

Decimal (SI) units

Kilobytes (KB)
1000000
Megabytes (MB)
1000
Gigabytes (GB)
1
Terabytes (TB)
0.001
Petabytes (PB)
0.000001

Binary (IEC) units

Kibibytes (KiB)
976562.5
Mebibytes (MiB)
953.67431641
Gibibytes (GiB)
0.93132257
Tebibytes (TiB)
0.00090949
Pebibytes (PiB)
8.881784e-7

What Is Data Size Converter?

A data size converter translates bits and bytes into both decimal storage units and binary computer-memory units. The distinction matters when a storage product uses GB but a software tool reports GiB.

Decimal vs. Binary Units

Decimal SI prefixes use powers of 1,000. Binary IEC prefixes use powers of 1,024 and include an "i" in the name:

  • 1 KB = 1,000 bytes and 1 KiB = 1,024 bytes.
  • 1 MB = 1,000 KB and 1 MiB = 1,024 KiB.
  • 1 GB = 1,000 MB and 1 GiB = 1,024 MiB.
  • 1 TB = 1,000 GB and 1 TiB = 1,024 GiB.

Practical Uses

Use the conversion table when comparing hard-drive capacity, cloud storage quotas, memory limits, file-upload limits, or network data. The calculator keeps the two conventions visible so you can match the unit used by the product or specification you are reading.

How To Use the Data Size Converter

  1. Enter a non-negative data size, such as 1.
  2. Select the input unit, including bits, bytes, decimal units, or binary IEC units.
  3. Compare the result across decimal units (KB, MB, GB) and binary units (KiB, MiB, GiB).
  4. Use the copy button beside any result to copy its value and unit.

MB versus MiB and the 1,000 versus 1,024 convention

Use this data-size converter when a specification mixes bits, bytes, decimal KB/MB/GB, and binary KiB/MiB/GiB. It keeps the 1,000-byte and 1,024-byte conventions separate so you can identify which label a storage or software document uses.

Need the formula or convention behind this result? Read the calculator methods and assumptions.

Data Size Converter FAQs

Related Tools