File Size Converter
File sizes are quoted in two competing systems — decimal (SI) and binary (IEC) — and the mismatch causes constant confusion, from “missing” hard-drive space to download estimates that look wrong. This converter takes one value and expresses it across bytes, KB, MB, GB, TB and PB (decimal) and the binary KiB, MiB, GiB, TiB and PiB (IEC) units at once, so you can compare a vendor’s figure with what your operating system reports.
How it works
The two systems differ only by their base. The decimal units step up by 1000 (1 KB = 1000 bytes), while the binary units step up by 1024 (1 KiB = 1024 bytes). The tool converts your input to a raw byte count, then divides by the correct power of 1000 or 1024 for every unit:
Decimal: 1 KB = 1000 bytes · Binary: 1 KiB = 1024 bytes (1024 = 2¹⁰)
Because storage vendors advertise in decimal but most operating systems count in binary (often mislabelling GiB as “GB”), the same file or drive can show two different numbers.
Example
A drive sold as 1 TB holds 1,000,000,000,000 bytes (decimal). Converting that byte count to binary gibibytes: 1,000,000,000,000 ÷ 1024³ ≈ 931.32 GiB — which is why your OS reports about 931 GB.
| Decimal | Bytes | Binary equivalent |
|---|---|---|
| 1 KB | 1,000 | 0.9766 KiB |
| 1 MB | 1,000,000 | 0.9537 MiB |
| 1 GB | 1,000,000,000 | 0.9313 GiB |
| 1 TB | 1,000,000,000,000 | 931.32 GiB |
Everything is calculated locally in your browser — nothing is sent anywhere.