Skip to content

File Size Unit Converter (MB / MiB / GB / GiB)

Instantly convert byte counts between KB, KiB, MB, MiB, GB, GiB. For boundary-value testing and upload-limit calculation.

✅ 100% free, no signup, runs entirely in your browser

Byte (B)
KB (1,000 B)
KiB (1,024 B)
MB (1,000,000 B)
MiB (1,048,576 B)
GB (10⁹ B)
GiB (2³⁰ B)
TB (10¹² B)
If something is broken or not displaying correctly, let us know via the contact form — we use the feedback to improve.

Other Tools

Related Articles

📖 How to Use

  1. 1
    Enter a value and unit
    Enter a number in the input field and select the unit (B / KB / KiB / MB / MiB / GB / GiB) from the dropdown.
  2. 2
    Check all converted values
    Converted values for B, KB, KiB, MB, MiB, GB, GiB, and TB are shown at once. Handy for boundary testing or upload limit design.
  3. 3
    Verify the difference between SI (MB) and binary (MiB)
    1 MB = 1,000,000 B; 1 MiB = 1,048,576 B. Use this when the unit in your OS differs from the spec.

❓ FAQ

What is the difference between MB and MiB?
MB (megabyte) is the SI unit: 1,000,000 bytes. MiB (mebibyte) is the IEC unit: 1,048,576 bytes. Windows shows drive sizes in MiB, so a 1 TB drive appears as 931 GiB.
Why does my OS show a different GB than the spec?
Windows displays sizes in binary units (GiB) but labels them "GB". macOS 10.6+ uses SI units (GB). Storage makers advertise in SI, causing the "1 TB shows as 931 GB" discrepancy.
How many bytes in 1 GB?
1 GB (SI) = 1,000,000,000 bytes (10^9). 1 GiB = 1,073,741,824 bytes (2^30). When implementing upload limits, be explicit about which unit you use.