Data Storage Converter
Convert any data size. The two families of units, 1000-based and 1024-based, are kept separate, because confusing them is why your new drive looks smaller than advertised.
Last reviewed
To
0.93132257 GiB, and 1 GB = 0.93132257 GiB
Common conversions
Why your new drive looks smaller than the box said
You buy a 1 TB drive. Windows says 931 GB. Nothing is wrong, nothing was stolen, and the drive is exactly the size advertised.
There are two families of units, and they both use the letters “GB”.
| Family | One “giga” is | Used by |
|---|---|---|
| Decimal (powers of 1,000) | 1,000,000,000 bytes | Drive manufacturers, macOS, Linux, networking |
| Binary (powers of 1,024) | 1,073,741,824 bytes | Windows, memory (RAM) |
Your drive holds exactly 1,000,000,000,000 bytes, a real terabyte. Windows divides that by 1,024 three times and gets 931.32, then labels the answer “GB” even though it has just calculated gibibytes.
So the drive is the right size. Windows is using a bigger unit and calling it by the smaller unit’s name.
| Advertised | Shown by Windows |
|---|---|
| 500 GB | 465.7 GB |
| 1 TB | 931.3 GB |
| 2 TB | 1.82 TB |
| 4 TB | 3.64 TB |
The gap grows at every step: 2.4% at kilobytes, 4.9% at megabytes, 7.4% at gigabytes, 10% at terabytes.
The honest names
In 1998 the IEC introduced separate names so the two could be told apart:
| Decimal | Binary | ||
|---|---|---|---|
| kilobyte (kB) | 1,000 | kibibyte (KiB) | 1,024 |
| megabyte (MB) | 1,000² | mebibyte (MiB) | 1,024² |
| gigabyte (GB) | 1,000³ | gibibyte (GiB) | 1,024³ |
| terabyte (TB) | 1,000⁴ | tebibyte (TiB) | 1,024⁴ |
They are correct, unambiguous, and almost nobody uses them in conversation. Linux tools and some file managers do; Windows does not. This converter lists both so you can see which one a given number actually is.
Bits and bytes: the other factor-of-eight trap
Internet speeds are measured in bits. File sizes are measured in bytes. There are 8 bits in a byte.
A “100 Mbps” connection does not download 100 MB per second. It downloads 12.5 MB per second at best, and in practice a bit less, because of protocol overhead.
| Connection | Realistic download speed | 1 GB file takes |
|---|---|---|
| 10 Mbps | 1.25 MB/s | about 13 minutes |
| 50 Mbps | 6.25 MB/s | about 2.7 minutes |
| 100 Mbps | 12.5 MB/s | about 80 seconds |
| 500 Mbps | 62.5 MB/s | about 16 seconds |
| 1 Gbps | 125 MB/s | about 8 seconds |
The giveaway is the capital letter: Mb is megabits, MB is megabytes. One letter, a factor of eight.
How big is that, roughly?
| Size | |
|---|---|
| A page of plain text | 2 KB |
| A high-quality photo | 3–5 MB |
| A three-minute song | 3–8 MB |
| An hour of music | 60–150 MB |
| An hour of HD video | 1–3 GB |
| An hour of 4K video | 7–12 GB |
| A modern video game | 50–150 GB |
Which is why a 1 TB drive sounds enormous until you install four games on it.
Where this costs people money
- Buying a drive. Compare like with like. A “1 TB” drive and a “1 TiB” drive differ by 10%.
- Cloud storage bills. Providers bill in decimal GB. Your operating system reports binary GB. The invoice will not match what your file manager shows.
- Mobile data caps. Sold in decimal GB, and your phone usually reports binary, so you hit the cap slightly sooner than the number suggests.
- Broadband adverts. Always in megabits, because the number is eight times bigger than the one you care about.
How long will a download take?
The time in seconds is the file size in bits divided by the connection speed in bits per second. Because a byte is 8 bits, multiply the size in bytes by 8.
- A 700 MB file on a 20 Mbps connection: 700 × 8 ÷ 20 = 280 seconds, or 4 minutes 40 seconds.
- A 4.5 GB file on a 100 Mbps connection: 4,500 × 8 ÷ 100 = 360 seconds, or 6 minutes.
These are best cases. Real speeds are lower because of protocol overhead and the load on the network, so add a margin.
Phone storage in the units your phone shows
A phone sold with 128 GB of storage has 128 × 10⁹ bytes. A phone that reports sizes in binary units shows that as 128 × 10⁹ ÷ 2³⁰ = 119.21 GiB. In the same way, 64 GB is 59.60 GiB and 256 GB is 238.42 GiB. Part of the space is also used by the operating system, so the free space is lower still.
Memory is different
RAM is built in powers of two, so a 16 GB memory module holds 16 × 2³⁰ = 17,179,869,184 bytes. That is why memory is counted in binary units even when the label says GB. A drive and a memory module of the same “GB” size are not the same number of bytes.
Quick rules
- Divide bits by 8 to get bytes. Multiply bytes by 8 to get bits.
- For decimal to binary, divide by 1.0737 for gigabytes.
- When in doubt, convert both numbers to bytes and compare.
Streaming and data use
Video services describe their quality as a bit rate. A stream of 5 megabits per second uses 5 ÷ 8 = 0.625 megabytes every second, which is 2,250 MB, or 2.25 GB, an hour. At that rate a 50 GB monthly allowance covers about 22 hours of such video. The same sum works for a music stream: divide the bit rate by 8 for bytes per second, then multiply by the seconds.
Frequently asked questions
Why does my 1 TB drive show as only 931 GB?
Because the manufacturer counts in powers of 1,000 and your operating system counts in powers of 1,024. The drive genuinely holds 1,000,000,000,000 bytes, which is 931.32 gibibytes, and Windows labels gibibytes as "GB". No storage is missing; the two are measuring the same bytes with different-sized units.
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000³ bytes: 1,000,000,000. A gibibyte (GiB) is 1,024³ bytes: 1,073,741,824. GiB is about 7.4% larger. The gap widens with every step up: at terabyte scale it is almost 10%.
Which one does my computer use?
Windows shows 1,024-based sizes but labels them GB, which is the root of the confusion. macOS and most Linux distributions use 1,000-based sizes and label them GB, matching what the manufacturer printed on the box. Same drive, different number on screen.
How long does a 1 GB download take?
On a 100 Mbps connection, about 80 seconds in the best case. The trap is bits versus bytes: internet speeds are quoted in megabits, file sizes in megabytes, and there are 8 bits to a byte. So divide your megabit speed by 8 to get megabytes per second.
Why are there 1,024 bytes in a kibibyte?
Because computer memory is addressed in binary, and 1,024 is 2¹⁰, the power of two closest to 1,000. Engineers borrowed the metric prefix "kilo" for it, which worked while the gap was 2.4%. By terabyte scale the same shortcut is off by 10%, which is why the separate kibi/mebi/gibi names were introduced in 1998.
Related calculators
- Speed ConverterConvert any speed.
- Temperature ConverterConvert between temperature scales.
- Unit ConverterPick what you are converting, enter a value, choose the two units, and read the answer.
- Length ConverterConvert any length or distance.
- Weight ConverterConvert any weight.
- Hertz to Seconds ConverterEnter a frequency and read the time one cycle takes, or enter a time and read the frequency.
- Speed and Velocity ConverterEnter a speed or the size of a velocity and choose the two units.