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
| As labelled | The operating system reports | Models |
|---|---|---|
| 14 TB | 12.73 TiB | WD Red Plus |
| 16 TB | 14.55 TiB | Seagate Exos X16 |
| 18 TB | 16.37 TiB | OOS18000G, Seagate Exos X18 |
| 20 TB | 18.19 TiB | Seagate Exos X20 |
| 22 TB | 20.01 TiB | OOS22000G |
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.
| Layout | Usable | As labelled | The operating system reports |
|---|---|---|---|
| 2× RAID 1 | 1 of 2 | 20 TB | 18.19 TiB |
| 3× raidz1 | 2 of 3 | 40 TB | 36.38 TiB |
| 5× raidz1 | 4 of 5 | 80 TB | 72.76 TiB |
| 5× raidz2 | 3 of 5 | 60 TB | 54.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.