Data Size Converter
Convert between bits, bytes, KB, MB, GB, TB, and PB — decimal or binary, all units at once.
About this tool
The Data Size Converter takes a value in any unit — bits, bytes, KB, MB, GB, TB, or PB — and instantly shows the equivalent in every other unit, side by side in a results table.
The tool exposes the distinction that trips up most byte-size calculators: decimal vs. binary multiples. Storage vendors typically use decimal (SI) units, where 1 KB = 1000 bytes — this is what your hard drive's rated capacity uses. Operating systems traditionally use binary (powers of 1024), which is why a "500 GB" drive shows up as roughly 465 GB in Windows. This tool's Decimal/Binary toggle switches the entire table between the two systems, and relabels the binary-mode units correctly as KiB, MiB, GiB, TiB, and PiB per the IEC standard, rather than mislabeling 1024-based values as "KB"/"MB".
Common uses: figuring out how many MB a file transfer will actually consume against a data cap, reconciling a "GB" marketing number against what your OS reports, or sizing API payload limits. All arithmetic happens in plain JavaScript in your browser.
