Convert storage sizes between bytes, decimal units (kB, MB, GB, TB) and binary units (KiB, MiB, GiB, TiB). The main use is explaining why a drive sold as 1 TB shows less space on your computer, and estimating file and backup sizes.
How to use the Data Size calculator
- Enter the size in Data size.
- Choose the unit you have in From: decimal units are powers of 1,000 and the units with an "i" are powers of 1,024.
- Choose the target unit in To and read the result to up to eight decimals.
How the data size calculation works
Decimal GB versus binary GiB
In SI usage, kilo means exactly 1,000, so a gigabyte (GB) is 1,000,000,000 bytes. Computers address memory in powers of two, so the IEC introduced binary prefixes in 1998: a kibibyte (KiB) is 1,024 bytes and a gibibyte (GiB) is 1,073,741,824 bytes.
Drive makers label capacity in decimal units. Some operating systems report binary values but still print "GB", which makes a new drive look smaller than advertised. A 1 TB drive holds 931.32 GiB; no space is missing, it is the same number of bytes counted in a larger unit.
Bytes are not bits
Every unit here is bytes. Internet speeds are quoted in bits per second, with 8 bits in a byte. To estimate a download, convert the file to MB here, multiply by 8 to get megabits and divide by your connection speed in Mbps. The result ignores protocol overhead and file system space, which both reduce real-world figures.
Worked example
Data size: 500 · From: GB · To: GiB
- 500 GB = 500 × 1,000,000,000 = 500,000,000,000 bytes.
- 1 GiB = 1,073,741,824 bytes.
- 500,000,000,000 ÷ 1,073,741,824 = 465.66128731 GiB.
Result: 465.66128731 GiB
Assumptions and limits
B means bytes. kB/MB/GB/TB are decimal; KiB/MiB/GiB/TiB are binary. No filesystem overhead.
Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.
Frequently asked questions
Why does my 1 TB drive show about 931 GB?
The drive holds 10¹² bytes. Divided by 1,073,741,824, that is 931.32 binary gigabytes (GiB), which some systems label as GB. Formatting can take a little more space on top.
Is 1 MB 1,000 KB or 1,024 KB?
Under the SI and IEC standards, 1 MB is 1,000 kB and 1 MiB is 1,024 KiB. Older software sometimes used MB to mean 1,048,576 bytes, so check the context.
How many bits are in a byte?
Eight. A 100 Mbps connection moves at most 12.5 megabytes per second before overhead.
How many GB are in a TB?
1,000 GB in a decimal terabyte, and 1,024 GiB in a tebibyte (TiB). A TiB is about 10% larger than a TB.