Convert between bits, bytes, KB, MB, GB, TB, PB with binary and SI modes
Enter a data size value to see conversions
Convert between metric and imperial units for length, weight, temperature, and more
Convert between decimal, binary, octal, hexadecimal, and Roman numerals
Convert between Hz, kHz, MHz, GHz, and RPM
Convert between m/s, km/h, mph, knots, ft/s, and Mach
Data Size Converter is a free online tool that converts digital data measurements between seven units: bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. It supports both binary (1024-based, using KiB/MiB/GiB notation) and SI decimal (1000-based, using KB/MB/GB notation) standards, allowing you to switch between the two with a single click. The distinction between binary and decimal data sizes is a frequent source of confusion. Storage manufacturers typically use the SI standard (1 GB = 1,000,000,000 bytes), while operating systems historically used binary calculations (1 GiB = 1,073,741,824 bytes). This is why a hard drive advertised as 1 TB shows approximately 931 GiB in your operating system. The IEC introduced unambiguous binary prefixes (KiB, MiB, GiB) to resolve this confusion. This converter helps developers, system administrators, and everyday users accurately convert between data sizes in either standard. Enter any value and select the source unit to see all conversions instantly. Toggle between binary and SI modes to compare how the same data amount is expressed in each system. All calculations run in your browser.
Binary (IEC, 1024-based): 1 KiB = 1,024 bytes 1 MiB = 1,024 KiB = 1,048,576 bytes 1 GiB = 1,024 MiB = 1,073,741,824 bytes 1 TiB = 1,024 GiB 1 PiB = 1,024 TiB SI (Decimal, 1000-based): 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 PB = 1,000 TB 1 byte = 8 bits 1 GB (SI) = 0.931 GiB (binary)