Skip to content

Data Storage Converter

Convert between bytes, KB/MB/GB and KiB/MiB/GiB with binary or decimal modes.

Convert storage with binary units

IEC units: KiB, MiB, GiB — what OSes usually report.

From unit

  • Bytes (B)

    1,073,741,824

  • Kibibytes (KiB)

    1,048,576

  • Mebibytes (MiB)

    1,024

  • Gibibytes (GiB) · source

    1

  • Tebibytes (TiB)

    0.000977

  • Pebibytes (PiB)

    9.536743E-7

Binary vs decimal

Binary (IEC)

1 KiB = 1024 B · 1 MiB = 1024² B

1 GiB is 1,073,741,824 bytes — typical for RAM and most OS file sizes.

Decimal (SI)

1 KB = 1000 B · 1 MB = 1000² B

A “500 GB” hard drive is often 500 × 1000³ bytes ≈ 465 GiB in your OS.

Why the numbers differ

1 GB (SI) ≈ 0.931 GiB

Same label “GB” can mean 1000³ or 1024³. Pick the mode that matches your source.

Bits vs bytes

1 byte = 8 bits

Network speeds are often in bits (Mbps). This tool converts bytes and byte-based storage units only.

About This Tool

Convert digital storage between bytes and larger units. Switch Binary (IEC, 1024 — KiB, MiB, GiB) for what operating systems usually show, or Decimal (SI, 1000 — KB, MB, GB) for how drives are often marketed. Every unit updates live with one-click copy, plus a clear explanation of why the two systems disagree.

Frequently asked questions

What is the difference between MB and MiB?

MB (megabyte) is usually 1000×1000 bytes in the decimal (SI) system. MiB (mebibyte) is always 1024×1024 bytes in the binary (IEC) system. A 700 MiB file is larger than a 700 MB (SI) file.

Why does my 1 TB drive show less space in Windows?

Manufacturers often use decimal TB (1000⁴ bytes). Windows reports binary GiB/TiB (1024-based). 1 TB ≈ 0.91 TiB, so the OS shows a smaller number for the same capacity.

Which mode should I use?

Use Binary for RAM, OS file sizes and most developer tools. Use Decimal when matching hard-drive or marketing labels that say GB/TB without the “i”.

Does this convert bits or Mbps?

No. It converts byte-based storage units only. Network speeds in Mbps are bits per second; divide by 8 to get megabytes per second before comparing to file sizes.

Can I copy a converted value?

Yes. Each unit card has a copy button that puts the formatted amount and unit on your clipboard.

Is my input uploaded?

No. All conversion runs in your browser.