Data Size Converter
Convert between all common data size units - bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. Type a value in any unit and see all equivalents instantly. Useful for understanding file sizes, bandwidth, and storage.
FAQ
This converter uses binary units (1 KB = 1024 bytes, 1 MB = 1024 KB, etc.), which is the standard for computer memory and file sizes. Some storage manufacturers use decimal units (1 MB = 1000 KB) - note the difference.
Yes. Choose your source unit from the dropdown and the converter shows the equivalent value in all other units simultaneously - bits, bytes, KB, MB, GB, TB, and PB.
MB (megabyte) = 1,000,000 bytes (decimal, base-10) is used by storage manufacturers. MiB (mebibyte) = 1,048,576 bytes (binary, base-2) is the technical standard. Windows uses binary but labels it MB. macOS uses decimal. This converter shows both to avoid confusion.
In decimal (GB): 1,000,000,000 bytes. In binary (GiB): 1,073,741,824 bytes. The 7.4% difference becomes significant at larger scales — a 1 TB drive is actually about 931 GiB. This is why hard drives appear smaller in Windows than advertised.
When using binary multiples, 1 MB = 1 MiB (mebibyte). This converter follows the JEDEC convention where KB/MB/GB represent powers of 1024. For IEC prefixes (KiB, MiB, GiB), the numeric values are the same.
More tools
Unit Converter
Convert speed, temperature, angle, length, and weight units.
Image to Base64
Convert images to Base64 data URIs instantly.
Number Base Converter
Convert between binary, octal, decimal, and hex.
Text to Binary
Convert text to binary and binary back to text.
Color Converter
Convert between HEX, RGB, HSL, and other color formats.
Text to Hex
Convert text to hexadecimal and hex back to text.
Timestamp Converter
Convert between Unix timestamps and human-readable dates.
MIME Types Reference
Look up MIME types by file extension.