KB, MB, GB, TB, PB Converter (Decimal & Binary)

See a file or disk size in every unit at the same time, with the decimal and binary answers side by side. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Enter the size and choose its unit.
  2. Read the same size in all other units.
  3. Compare the decimal (GB) and binary (GiB) rows to see why they differ.

How it works

Decimal (SI) units are powers of 1,000: 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 10⁹, 1 TB = 10¹², 1 PB = 10¹⁵. Binary (IEC) units are powers of 1,024: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576, 1 GiB = 1,073,741,824, 1 TiB = 1,099,511,627,776. A byte is 8 bits. All conversions use exact decimal arithmetic and show 10 significant digits.

Examples

  • 1 GB = 1,000 MB (decimal) but 1 GiB = 1,024 MiB. 1 GB = 0.931 GiB. 1 byte = 8 bits.

Limitations

  • Which one you need depends on who is measuring: drive makers, networks and macOS use decimal; Windows and some memory tools show binary sizes but still call them KB, MB and GB, which is why the same disk looks smaller in Windows.
  • Only sizes are converted; for speeds use the transfer-speed converter.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].