Data Size Converter
Convert digital storage sizes between bytes, decimal SI units (KB/MB/GB), and binary IEC units (KiB/MiB/GiB) with instant results.
Data Size Converter — Bytes, KB, MB, GiB, and More
Digital storage is labeled in two common systems: decimal SI prefixes (kilobyte = 1000 bytes, megabyte = 1000² bytes) and binary IEC prefixes (kibibyte = 1024 bytes, mebibyte = 1024² bytes). Operating systems often display binary-based sizes while storage vendors often advertise decimal capacities. This converter keeps both families explicit so you can translate marketing numbers, download sizes, and RAM or disk figures without mixing definitions accidentally.
Units included
- Decimal: byte through petabyte using powers of 1000.
- Binary: kibibyte through pebibyte using powers of 1024.
Precision note
Values are computed with JavaScript floating-point numbers. For extremely large capacities the displayed byte total is still useful for ratio conversions between units, but it is not a substitute for bigint accounting in billing systems.
Frequently Asked Questions
Why is 1 GB not equal to 1 GiB?
1 GB is 1,000,000,000 bytes (decimal), while 1 GiB is 1,073,741,824 bytes (binary). They differ by about 7.4% at the gigabyte scale.
Which should I use for a 1 TB hard drive label?
Retail drives usually advertise decimal terabytes (TB). If your OS shows “TiB” or a slightly smaller “TB” in binary terms, compare using the same convention as the spec sheet.
Can I convert bytes to mebibytes?
Yes. Choose byte as the source unit and mebibyte (MiB) as the target, or any other pair from the dropdowns.
Does this tool send my numbers to a server?
No. All math runs in your browser; nothing is uploaded for conversion.
Related tools
Your recent visits