Data Storage Converter
Convert between bytes and terabytes, with the decimal units drive makers use and the binary units your computer reports shown separately.
How to use the Data Storage Converter
- 1Type a value into any box — every other unit updates as you type.
- 2Use the swap button to flip the two headline units.
- 3Copy any result with the button beside it.
- 4Adjust the decimal places if you need more or less precision.
How it works
There are two families of units here, and confusing them is why a 1 TB drive shows up as 931 GB. Decimal units — kB, MB, GB, TB — step in powers of 1,000 and are what storage manufacturers use. Binary units — KiB, MiB, GiB, TiB — step in powers of 1,024 and are what operating systems actually measure with.
The gap widens as the numbers grow: a kilobyte and a kibibyte differ by 2.4%, but a terabyte and a tebibyte differ by nearly 10%. Windows adds to the confusion by displaying binary quantities with decimal labels — what it calls 931 GB is really 931 GiB. Both families are listed here with their correct names so you can see exactly which is which.
Conversion works by taking your value to a single base unit and then out again, so every pair of units is consistent with every other. Values are calculated at full double precision and only rounded for display, which means round-tripping a number through two conversions returns what you started with.
The formula
- byte
- the base unit, eight bits
- kB, MB, GB, TB
- decimal units, powers of 1,000
- KiB, MiB, GiB, TiB
- binary units, powers of 1,024
Worked example
Why a 1 TB drive shows as 931 GB
- The manufacturer sells 1 TB = 1,000,000,000,000 bytes.
- The operating system divides by 1,024 three times.
- 1,000,000,000,000 ÷ 1,073,741,824 = 931.32
Result: 931 GiB — the same drive, measured with a different sized unit.