File size converter
Convert between bytes, KB, MB, GB and TB, and their binary counterparts KiB, MiB, GiB and TiB. Type a number and every unit updates at once.
- Decimal and binary units
- Updates as you type
- No sign-up
Decimal units
Steps of 1,000. Used on drive labels, by macOS, and for storage plans.
Binary units
Steps of 1,024. What Windows shows, labelled as KB, MB and GB.
Two systems share one set of names
A kilobyte was 1,024 bytes for decades, because computers count in powers of two and 1,024 was close enough to a thousand. Drive makers used the metric meaning instead, 1,000 bytes, and the two definitions have lived side by side ever since.
The standard fix is a second set of names. The metric prefixes keep their metric meaning, and the powers of two get their own: kibi, mebi, gibi, tebi.
| Decimal | Bytes | Binary | Bytes | Gap |
|---|---|---|---|---|
| 1 kB | 1,000 | 1 KiB | 1,024 | 2.4% |
| 1 MB | 1,000,000 | 1 MiB | 1,048,576 | 4.9% |
| 1 GB | 1,000,000,000 | 1 GiB | 1,073,741,824 | 7.4% |
| 1 TB | 1,000,000,000,000 | 1 TiB | 1,099,511,627,776 | 10% |
Which one are you looking at?
- Drive and SSD labels: decimal. A 4 TB drive holds 4,000,000,000,000 bytes.
- Windows: binary, but printed with decimal labels. That 4 TB drive appears as 3.64 TB.
- macOS and iOS: decimal. The same drive appears as 4 TB.
- Memory (RAM): binary. 16 GB of RAM is 16 GiB.
- Cloud storage plans: usually decimal, though it varies by provider.
Common conversions
| From | Decimal | Binary |
|---|---|---|
| 500 MB | 0.5 GB | 476.8 MiB |
| 1 GB | 1,000 MB | 953.7 MiB |
| 256 GB | 0.256 TB | 238.4 GiB |
| 1 TB | 1,000 GB | 931.3 GiB |
| 4 TB | 4,000 GB | 3.64 TiB |
Planning a NAS? The RAID calculator shows usable space in both systems, so the number matches what the NAS reports.
Questions
How many MB are in a GB?
1,000 MB in a gigabyte (GB), the decimal unit drives and cloud plans are sold in. 1,024 MiB in a gibibyte (GiB), the binary unit. Windows shows binary sizes but labels them GB, which is where most of the confusion comes from.
Why does my 1 TB drive show only 931 GB?
The drive holds 1,000,000,000,000 bytes, exactly as sold. Windows divides that by 1,024 three times and prints the result, 931, with the label GB. Nothing is missing: 1 TB equals 931 GiB. macOS and most Linux file managers use decimal units, so they show 1 TB.
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000³ bytes. A gibibyte (GiB) is 1,024³ bytes, about 7.4% larger. The gap widens with each step: a tebibyte is about 10% larger than a terabyte.
How many GB are in a TB?
1,000 GB in a terabyte. In binary units, 1,024 GiB in a tebibyte (TiB).
Is a megabit the same as a megabyte?
No. A megabyte is eight megabits. Connection speeds are quoted in megabits per second (Mbps) and file sizes in megabytes (MB), so a 100 Mbps line moves about 12.5 MB each second. The download time calculator does that conversion for you.