Data Size Converter
Convert between bytes, KB, MB, GB, TB (decimal) and KiB, MiB, GiB, TiB (binary).
Try it with this example
Enter 1024 and see the difference between KB (decimal) and KiB (binary). Clarifies 1000 vs 1024.
What is this tool?
Storage and memory sizes use two conventions: decimal (powers of 1000) and binary (powers of 1024). A kilobyte can mean 1000 bytes (KB, decimal) or 1024 bytes (KiB, binary). That difference grows: 1 GB (decimal) is 1 billion bytes; 1 GiB (binary) is 1,073,741,824 bytes. The Data Size Converter clarifies this. Enter 1024 and see it as 1 KiB or 1.024 KB. Enter 1 GB and see the equivalent in MiB, KiB, and bytes. Essential for storage, memory, and file size interpretation.
Hard drive makers often use decimal (1 TB = 10¹² bytes); operating systems often report in binary (1 TiB = 2⁴⁰ bytes). That's why a "1 TB" drive shows about 931 GiB in Windows—both are "correct" but use different bases. The tool converts between bytes, KB/MB/GB/TB (decimal), and KiB/MiB/GiB/TiB (binary). Enter a value in any unit and see all equivalents.
Use it when comparing drive specs to actual capacity, when configuring memory limits (e.g. "max 512 MiB"), or when debugging "why is my file size different from what I expected?" Programmers use it when dealing with buffer sizes or when documenting APIs. The tool runs in your browser. No server, no API. Enter and convert.
Large values are supported within JavaScript's safe integer range. For petabyte-scale calculations, verify with a calculator; for typical storage and memory sizes, the tool is accurate. Bookmark it for the next storage or memory conversion.
Clarifies the 1000 vs 1024 confusion once and for all.