Data Storage / File Size Converter
Convert between bits, bytes, KB, MB, GB, TB — including the 1000 vs. 1024 distinction.
Enter your values to calculate your result.
Formula
Every unit converts through bytes (the base unit). This calculator keeps two conventions distinct: KB/MB/GB/TB use the SI decimal definition (1 KB = 1000 bytes), while KiB/MiB/GiB/TiB use the IEC binary definition (1 KiB = 1024 bytes) — software disagrees about which one a plain "KB" or "GB" means, so both are offered explicitly rather than guessing.
Frequently Asked Questions
Why are there both GB and GiB?
GB (gigabyte) conventionally means 1,000³ bytes, while GiB (gibibyte) means 1,024³ bytes — about 7.4% more. Pick whichever matches the number you're trying to match (e.g. a drive's advertised capacity vs. what your OS reports).
Does this cover the Mbps ↔ MB/s conversion?
No — that's a data transfer RATE (bits per second), not a file size. Use the Data Transfer Converter for that.

