A TiB or terabyte is 1,024GiB, or 1,099,511,627,776 bytes. It is as much as can be addressed with 40 bits.