Farmer DiamondsUsed hard drives with statutory warranty – home page

Guides

Why does my 20 TB hard drive show only 18.19 TiB?

The label says terabytes, the operating system reports tebibytes. It is the same amount of storage in two units – nothing is missing.

The short answer

A hard drive labelled 20 TB reports 18.19 TiB to the operating system. Both are the same amount of storage.

The label counts in decimal: 1 TB is 1,000,000,000,000 bytes. Operating systems count in binary: 1 TiB is 1,099,511,627,776 bytes. The same number of bytes therefore gives a smaller figure in TiB than in TB – always about 9.1% smaller.

Some systems, Windows for one, count in binary and still write “TB” after the figure. What they mean is TiB.

Every capacity on offer in TB and TiB

Capacities on offer: as labelled and in the operating system
As labelledThe operating system reportsModels
14 TB12.73 TiBWD Red Plus
16 TB14.55 TiBSeagate Exos X16
18 TB16.37 TiBOOS18000G, Seagate Exos X18
20 TB18.19 TiBSeagate Exos X20
22 TB20.01 TiBOOS22000G

The figure in TiB is also on every drive page, below the row “Capacity”.

In a RAID and in a ZFS pool

In a RAID or a ZFS pool not the capacity of all drives is usable: part of it carries the redundancy. How many drives remain usable depends on the layout. The table works with drives of 20 TB each.

Usable capacity per layout
LayoutUsableAs labelledThe operating system reports
2× RAID 11 of 220 TB18.19 TiB
3× raidz12 of 340 TB36.38 TiB
5× raidz14 of 580 TB72.76 TiB
5× raidz23 of 560 TB54.57 TiB

Nominal, before ZFS metadata and raidz padding. The space actually available is lower; by how much depends on ashift and recordsize and has not been measured here.

Ready-made sets are listed under RAID sets.

Doing the sum yourself

The capacity in TB times 1,000,000,000,000, divided by 1,099,511,627,776, gives the capacity in TiB.

A hard drive rarely reports exactly the number of bytes its label names. We write in TB what the label says and compute the TiB from the bytes the drive itself reports. More on the other details under Measured values of a used hard drive.