Data Storage Converter

Convert bits, bytes, KB, MB, GB, TB and the binary KiB, MiB, GiB, TiB, and see why a 1 TB drive shows 931 GB.

Result
931.3225746 gibibytes (GiB)
Conversion
1 terabytes (TB) = 931.3225746 gibibytes (GiB)
Factor
1 terabytes (TB) = 931.3225746 gibibytes (GiB)
In every unit
UnitValue
bits8,000,000,000,000
bytes (B)1,000,000,000,000
kilobytes (kB)1,000,000,000
megabytes (MB)1,000,000
gigabytes (GB)1,000
terabytes (TB)1
petabytes (PB)0.001
kibibytes (KiB)976,562,500
mebibytes (MiB)953,674.3164
gibibytes (GiB)931.3225746
tebibytes (TiB)0.9094947018

There are two families of storage units. SI (decimal) prefixes count in powers of 1,000: 1 kB = 1,000 bytes, 1 GB = 10⁹ bytes, 1 TB = 10¹² bytes. The IEC binary prefixes count in powers of 1,024: 1 KiB = 1,024 bytes, 1 GiB = 2³⁰ bytes, 1 TiB = 2⁴⁰ bytes. NIST's page on these prefixes (approved by the IEC in 1998) spells out the difference: 1 MB = 1,000,000 bytes, while 1 MiB = 1,048,576 bytes.

Drive makers label capacity in decimal units, while some operating systems report binary units but still print "GB". That is why a 1 TB drive shows about 931 GB (really 931.32 GiB); no space is missing.

How to use the data storage converter

  1. Enter the amount.
  2. Choose the unit you have and the one you want. Units ending in "iB" are binary (1,024-based).
  3. Read the result and the table of every unit. 1 byte = 8 bits.

Formula

Result = value × (bytes per "from" unit) ÷ (bytes per "to" unit)
kB, MB, GB, TB, PB = 10³, 10⁶, 10⁹, 10¹², 10¹⁵ bytes · KiB, MiB, GiB, TiB = 2¹⁰, 2²⁰, 2³⁰, 2⁴⁰ bytes · 1 byte = 8 bits

Worked example

How much does a "1 TB" drive show in binary units?

  1. 1 TB = 1,000,000,000,000 bytes.
  2. 1 GiB = 1,073,741,824 bytes.
  3. 10¹² ÷ 1,073,741,824 = 931.32 GiB (or 0.9095 TiB).

Similarly, a 500 GB drive is 465.66 GiB, and a 4 GiB memory module is 4.295 GB.

Decimal vs binary gap

Decimal unitBinary unitBinary is larger by
kB (10³)KiB (2¹⁰)2.4%
MB (10⁶)MiB (2²⁰)4.9%
GB (10⁹)GiB (2³⁰)7.4%
TB (10¹²)TiB (2⁴⁰)10.0%

Network speeds are usually given in bits per second (Mbps), so divide by 8 to get bytes: 100 Mbps is 12.5 MB/s at best, before overhead. Formatted capacity is also slightly lower than the raw figure because the file system uses some space.

Bits vs bytes for internet speeds

Internet plans and Wi-Fi speeds are quoted in megabits per second (Mbps), while file sizes and download managers usually show megabytes (MB). Since 1 byte = 8 bits, divide Mbps by 8 for the best-case MB per second:

Plan speedBest case MB/sTime for a 5 GB file (ideal)
50 Mbps6.2513 min 20 s
100 Mbps12.56 min 40 s
500 Mbps62.51 min 20 s
1,000 Mbps (1 Gbps)12540 s

Real downloads are slower because of protocol overhead, Wi-Fi conditions and the server's own speed.

Estimating how much fits

To estimate how many files fit on a drive, divide the usable capacity by the typical file size, using the same unit family for both. For example, a 256 GB phone holds roughly 256,000 MB; at an average of 4 MB per photo that is about 64,000 photos before accounting for the operating system and apps, which take a meaningful share. Use the decimal units here if the file sizes are shown by a system that counts in 1,000s, and the binary units (MiB, GiB) if it counts in 1,024s.

Caveats and assumptions

  • Some software uses "KB/MB/GB" to mean 1,024-based units; check which convention your tool uses.
  • Network throughput in bits per second also loses some capacity to protocol overhead.

Frequently asked questions

Why does my 1 TB drive show 931 GB?

The drive has 10¹² bytes. Your computer divides by 1,024³ instead of 1,000³, giving 931.32 "GB" (properly GiB).

How many MB are in a GB?

1,000 MB in decimal units. In binary units, 1 GiB = 1,024 MiB.

What is the difference between GB and GiB?

A GB is 1,000,000,000 bytes; a GiB is 1,073,741,824 bytes, about 7.4% more.

How many bits are in a byte?

8 bits.

How many GB is a TB?

1,000 GB in decimal units; 1 TiB = 1,024 GiB in binary units.

How fast is 100 Mbps in MB/s?

At most 12.5 MB/s (100 ÷ 8), before overhead.

Sources

This calculator gives estimates for planning and education. Check measurements, local codes, supplier specs and your school's official policy before relying on a result. See our disclaimer and how we build and check calculators.