Data Size Converter

Convert digital storage between bytes, KB, MB, GB, TB, and PB.
Covers decimal and binary SI prefixes — KB vs KiB — with file size reference examples.

Type in any field — the others update instantly. Uses decimal (SI) prefixes (1 KB = 1,000 bytes).

Data Size Conversion uses bytes as the base unit. This converter uses decimal (SI) prefixes where each step is 1,000×.

Key relationships:

  • 1 KB = 1,000 bytes
  • 1 MB = 1,000 KB = 1,000,000 bytes
  • 1 GB = 1,000 MB = 1,000,000,000 bytes
  • 1 TB = 1,000 GB = 1,000,000,000,000 bytes
  • 1 PB = 1,000 TB = 1,000,000,000,000,000 bytes

Decimal vs. Binary: Storage manufacturers use decimal (1 KB = 1,000 bytes), while operating systems often use binary (1 KiB = 1,024 bytes). This is why a “500 GB” drive shows as ~465 GB in your OS.

Common references:

  • A text email: ~5 KB
  • An MP3 song: ~5 MB
  • A full-length movie (HD): ~4 GB
  • A modern video game: ~50–100 GB

That decimal-versus-binary gap is worth understanding, because it explains a complaint everyone has had. A “1 TB” drive is sold as a trillion bytes (decimal), but Windows reports capacity in binary units while still labeling them “GB,” so the same drive shows up as about 931. Nothing is missing; the two sides are just counting with different-sized units, and the technically correct binary label would be 931 GiB. Don’t confuse data size with bandwidth, either: storage is counted in bytes, while internet speed is counted in bits, which are eight times smaller. The “i” in KiB and GiB was invented to end this confusion, though storage marketing and operating systems never fully adopted it.


How we build and check this converter

This converter runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.