Storage unit converter: TB, GB, MB and KB

Convert between bytes, KB, MB, GB, TB and PB, in decimal units as drives and cloud services count them, or binary units as Windows does.

Units
1 TB = 1,000 GB

TB to GB conversion table

Terabytes converted to gigabytes, in decimal and binary units
SizeGB (decimal)GiB in that many TiB (binary)What Windows shows for a drive this size
1 TB1,000 GB1,024 GiBabout 931.32 GB
2 TB2,000 GB2,048 GiBabout 1,862.65 GB
4 TB4,000 GB4,096 GiBabout 3,725.29 GB
5 TB5,000 GB5,120 GiBabout 4,656.61 GB
8 TB8,000 GB8,192 GiBabout 7,450.58 GB
10 TB10,000 GB10,240 GiBabout 9,313.23 GB
16 TB16,000 GB16,384 GiBabout 14,901.16 GB
20 TB20,000 GB20,480 GiBabout 18,626.45 GB

Why does my 1 TB drive show 931 GB?

A 1 TB drive holds 1,000,000,000,000 bytes. Windows divides by 1,073,741,824 bytes per “GB”, which is really a gibibyte (GiB), so it shows about 931.32 GB. Nothing is missing: the same bytes are counted in a bigger unit. A Mac counts in decimal units, so it shows the same drive as 1 TB.

Decimal or binary: which is right?

Both, for different things. The standard prefixes kilo, mega, giga and tera mean powers of 1,000, and drive makers and cloud services sell storage that way. The binary prefixes kibi, mebi, gibi and tebi mean powers of 1,024. Windows uses the binary amounts but the decimal names, which is where the confusion comes from.

From bytes to petabytes

Storage units in bytes, decimal and binary
UnitDecimal, in bytesBinary unitBinary, in bytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB1,000,000,000,0001 TiB1,099,511,627,776
1 PB1,000,000,000,000,0001 PiB1,125,899,906,842,624

Sources: NIST: SI prefixes (kilo, mega, giga, tera are powers of 10); NIST: prefixes for binary multiples (kibi, mebi, gibi, tebi); Apple: how storage capacity is measured on Apple devices; Microsoft: storage in Windows appears in binary units; Seagate: why a drive reports less capacity (archived); Western Digital: 1 TB = one trillion bytes.

Questions about storage units

How many GB are in 1 TB?

1,000 GB in the decimal units that drive makers and cloud services use, and that Macs and iPhones show today. In binary units, 1 TiB is 1,024 GiB, which is why Windows shows a 1 TB drive as about 931.32 GB.

Is 1 GB 1,000 MB or 1,024 MB?

Both are in use. In decimal units 1 GB is 1,000 MB, as storage is sold. In binary units 1 GiB is 1,024 MiB; Windows uses the binary amounts but labels them GB and MB.

What does GiB mean?

A gibibyte: 1,073,741,824 bytes, or 1,024 MiB. The binary prefixes kibi, mebi, gibi and tebi were created so 1,024-based amounts have their own names.

Updated: