Data Storage Converter
Enter a value in any storage unit and instantly see the equivalent in bytes, KB, MB, GB, TB and their binary (KiB, MiB, GiB) counterparts.
| Unit | Value |
|---|
Enter a value in any storage unit and instantly see the equivalent in bytes, KB, MB, GB, TB and their binary (KiB, MiB, GiB) counterparts.
| Unit | Value |
|---|
Storage sizes get confusing fast: a "1 TB" hard drive shows up as roughly 931 GiB in your operating system, a download manager reports MB while your file browser shows MiB, and marketing numbers rarely match what you actually see on screen. This tool lets you enter a value once and see it converted to every common storage unit at the same time — both the decimal (1000-based) units used in marketing and storage specs, and the binary (1024-based) units your OS actually uses internally.
Every storage unit converts through the byte (B), where 1 byte = 8 bits. To convert from unit A to unit B:
The key distinction in this domain isn't the formula — it's which base a unit uses. Decimal units (KB, MB, GB, TB, PB) scale by powers of 1000, following the SI convention. Binary units (KiB, MiB, GiB, TiB, PiB) scale by powers of 1024, matching how computers actually address memory.
| Unit | Symbol | Value in Bytes |
|---|---|---|
| Bit | bit | 0.125 |
| Byte | B | 1 |
| Kilobyte | KB | 1,000 |
| Megabyte | MB | 1,000,000 |
| Gigabyte | GB | 1,000,000,000 |
| Terabyte | TB | 1,000,000,000,000 |
| Petabyte | PB | 1,000,000,000,000,000 |
| Kibibyte | KiB | 1,024 |
| Mebibyte | MiB | 1,048,576 |
| Gibibyte | GiB | 1,073,741,824 |
| Tebibyte | TiB | 1,099,511,627,776 |
| Pebibyte | PiB | 1,125,899,906,842,624 |
Note: the binary prefixes (kibi-, mebi-, gibi-...) were standardized by the IEC specifically to disambiguate from the decimal SI prefixes (kilo-, mega-, giga-...), since operating systems and storage manufacturers historically used "KB/MB/GB" to mean two different things.
Example 1 — Why a "1 TB" Drive Shows Less Space
A drive marketed as 1 TB = 1,000,000,000,000 bytes. Your OS reports it in GiB: 1,000,000,000,000 ÷ 1,073,741,824 ≈ 931.32 GiB — the "missing" space is just a different counting base, not lost storage.
Example 2 — MB to KB
A 5 MB file: 5 × 1,000,000 B ÷ 1,000 B/KB = 5,000 KB.
Example 3 — Bytes to Bits
A network speed test showing 100 Mbps is measuring bits, not bytes: 100 Mb ÷ 8 = 12.5 MB/s of actual download speed.
Example 4 — GiB to GB
A game reporting 25 GiB of install size: 25 × 1,073,741,824 B ÷ 1,000,000,000 B/GB ≈ 26.84 GB — worth knowing before comparing it to your drive's marketed capacity.