Data Size Converter (KB, MB, GB, KiB, MiB, GiB, ...)
Convert a data size between bits, bytes, and both decimal (KB, MB, GB) and binary (KiB, MiB, GiB) prefixes. Runs entirely in your browser.
How it works
Every unit is converted through a common base unit — the bit (1 byte = 8 bits). Storage manufacturers use decimal prefixes (1 KB = 1000 bytes, 1 MB = 1,000,000 bytes), while operating systems traditionally report binary prefixes (1 KiB = 1024 bytes, 1 MiB = 1,048,576 bytes) under the same "KB/MB" label — which is exactly why a "1 TB" drive shows up as roughly 931 GiB in your file explorer. This tool keeps the two families explicitly separate.
Common conversions
| From | To | Result |
|---|---|---|
| 1 GB (decimal) | GiB (binary) | 0.9313 GiB |
| 1 TB (decimal) | GiB (binary) | 931.32 GiB |
| 8 Mbit | MB | 1 MB |
| 1 byte | bit | 8 bit |
FAQ
Why does my "1 TB" drive show less than 1 TB of space?
The manufacturer used decimal TB (1012 bytes); your operating system reports the same bytes using binary TiB (240 bytes), which is a larger unit — so the same physical storage shows a smaller number.
Is a kilobyte 1000 or 1024 bytes?
Both are used in practice: 1000 bytes is technically a kilobyte (KB), 1024 bytes is a kibibyte (KiB). Many older tools and operating systems label 1024-byte units "KB" anyway — check context.