Digital Storage Converter

Convert bytes, KB, MB, GB, TB, PB and bits using both decimal (1 GB = 1,000 MB) and binary (1 GiB = 1,024 MiB) definitions, and see why a 1 TB drive shows up as about 931 GB in Windows.

Result

931.322574615 GiB

Same value in every unit

Decimal bytes (SI, ×1000)

B
1,000,000,000,000
kB
1,000,000,000
MB
1,000,000
GB
1,000
TB
1
PB
0.001

Binary bytes (IEC, ×1024)

KiB
976,562,500
MiB
953,674.316406
GiB
931.322574615
TiB
0.909494701773
PiB
0.0008881784197

Bits (×1000)

bit
8,000,000,000,000
kbit
8,000,000,000
Mbit
8,000,000
Gbit
8,000
Tbit
8

Usage examples

Finding out why a new 1 TB drive shows 931 GB

Convert 1 TB to GiB to get the 931.32 figure Windows displays. No space is missing - the box uses decimal terabytes while Windows counts in binary units but labels them GB.

Estimating how many files fit on a USB stick

Convert a 64 GB stick to MB (64,000 MB) and divide by your average photo or song size to estimate how many files will fit before you start copying.

Turning an internet plan's megabits into megabytes

Internet speeds are sold in megabits. Convert 100 Mbit to MB (12.5 MB) to see the most a 100 Mbps connection can download per second before overhead.

Sizing RAM or cloud volumes quoted in GiB

Memory and many cloud and container settings (such as Kubernetes limits written as 16Gi) use binary units. Convert 16 GiB to GB (about 17.18 GB) so the two aren't confused.

Checking a file against an upload limit

If a service caps uploads at 25 MB but your file manager shows binary sizes, convert 25 MB to MiB (about 23.84 MiB) to know whether a file will actually fit.

Quick reference

Advertised drive capacity vs. size shown in Windows (binary GiB/TiB, labeled GB/TB)

Advertised capacityGiBTiB
128 GB119.210.12
256 GB238.420.23
500 GB465.660.45
512 GB476.840.47
1 TB931.320.91
2 TB1,862.651.82
4 TB3,725.293.64
8 TB7,450.587.28

Bytes and bits in one of each unit

1 ×Bbit
Kilobyte (kB)1,0008,000
Megabyte (MB)1,000,0008,000,000
Gigabyte (GB)1,000,000,0008,000,000,000
Terabyte (TB)1,000,000,000,0008,000,000,000,000
Petabyte (PB)1,000,000,000,000,0008,000,000,000,000,000
Kibibyte (KiB)1,0248,192
Mebibyte (MiB)1,048,5768,388,608
Gibibyte (GiB)1,073,741,8248,589,934,592
Tebibyte (TiB)1,099,511,627,7768,796,093,022,208
Pebibyte (PiB)1,125,899,906,842,6249,007,199,254,740,992

Frequently asked questions

Why does my 1 TB drive only show about 931 GB?

Drive makers use decimal units, so 1 TB is 1,000,000,000,000 bytes. Windows divides by 1,024³ instead and shows the result (931.32) with the label "GB", even though it is really GiB. Formatting, recovery partitions and file system overhead can reduce the usable space a little further.

What is the difference between GB and GiB?

A gigabyte (GB) is 1,000,000,000 bytes under SI prefixes. A gibibyte (GiB) is 1,073,741,824 bytes (2³⁰), using the binary prefixes defined by the IEC in 1998 and now in IEC 80000-13. The gap grows with each step: about 2.4% at kilo, 7.4% at giga and 10% at tera.

Which operating systems use decimal or binary units?

Windows File Explorer calculates sizes in binary but labels them KB, MB and GB. macOS has shown decimal sizes since Mac OS X 10.6 Snow Leopard. On Linux it depends on the tool: df -h and ls -h use powers of 1,024, while df -H (--si) uses powers of 1,000.

How many bits are in a byte, and what's the difference between b and B?

One byte is 8 bits. A lowercase b means bits and an uppercase B means bytes, so 1 MB (megabyte) is eight times larger than 1 Mb (megabit). Network speeds are usually quoted in bits, while file sizes are quoted in bytes.

Is a kilobyte 1,000 or 1,024 bytes?

Both have been used. Under the SI and IEC standards, 1 kB is 1,000 bytes and 1 KiB is 1,024 bytes. Memory is still labeled the old way (the JEDEC convention), which is why a "16 GB" RAM module actually holds 16 GiB. This tool treats kB as 1,000 bytes; choose KiB for 1,024.

How do I convert Mbps to MB/s?

Divide by 8, because a byte is 8 bits: 100 Mbps is at most 12.5 MB/s and 1 Gbps is 125 MB/s. Real downloads are somewhat slower because of protocol overhead, Wi-Fi conditions and the server's speed. Converting Mbit to MB here gives the same ratio.

Is my input sent to a server?

No. All conversions run in your browser. Your last value and unit choices are saved only in your browser's local storage so they are still there next time.