File Size Converter
Convert between Bytes, KB, MB, GB, and TB. Switch between Decimal (1000) and Binary (1024) standards for accurate storage management.
About
Data storage management requires a clear distinction between marketing claims and technical reality. Hard drive manufacturers typically use decimal units where one kilobyte equals one thousand bytes, while operating systems often calculate in binary where one kibibyte equals one thousand and twenty-four bytes. This discrepancy leads to the common confusion of seeing a "1 TB" drive appear as only "931 GB" in Windows. This converter resolves that ambiguity by offering distinct modes for Metric and IEC standards. It is essential for developers optimizing database storage and IT professionals planning server capacity.
Formulas
The conversion relies on the chosen base. For decimal (Base 10), the multiplier is 1000:
For binary (Base 2), used by most Operating Systems, the multiplier is 1024:
Reference Data
| Decimal (SI) | Bytes (10^n) | Binary (IEC) | Bytes (2^n) | Difference |
|---|---|---|---|---|
| 1 KB (Kilobyte) | 1,000 | 1 KiB (Kibibyte) | 1,024 | 2.4% |
| 1 MB (Megabyte) | 1,000,000 | 1 MiB (Mebibyte) | 1,048,576 | 4.9% |
| 1 GB (Gigabyte) | 1,000,000,000 | 1 GiB (Gibibyte) | 1,073,741,824 | 7.4% |
| 1 TB (Terabyte) | 1,000,000,000,000 | 1 TiB (Tebibyte) | 1,099,511,627,776 | 10.0% |
| 1 PB (Petabyte) | 1015 | 1 PiB (Pebibyte) | 1,125,899,906,842,624 | 12.6% |
| 1 EB (Exabyte) | 1018 | 1 EiB (Exbibyte) | ~1.15 × 1018 | 15.3% |
| 1 ZB (Zettabyte) | 1021 | 1 ZiB (Zebibyte) | ~1.18 × 1021 | 18.1% |
| 1 YB (Yottabyte) | 1024 | 1 YiB (Yobibyte) | ~1.21 × 1024 | 20.9% |