Storage software that reports in TiB
Tebibytes are the unit that storage software uses when it wants to be precise. ZFS pool listings, Ceph and other distributed storage dashboards, LVM tools, hypervisor datastore views and several backup products display capacity in binary multiples, and some label them TiB outright. The raw numbers underneath are byte counts, often with thirteen or fourteen digits, and those are hard to compare with the terabyte figure on a purchase order. This page turns the byte count into TiB so you can set a pool size beside the drives you bought. It is a tool for the person who has a byte total from a command line and needs the same capacity in the unit an array dashboard or a capacity report uses.
Why the divisor is 1,099,511,627,776
A tebibyte is 1,024 gibibytes, and each gibibyte is 1,073,741,824 bytes, so one TiB is 2 to the 40th power, or 1,099,511,627,776 bytes. The tebi prefix is one of the binary prefixes the IEC defined at the end of the 1990s, along with kibi, mebi and gibi, and NIST SP 811 lists them for use when a quantity really is a power of 1,024. The SI prefix tera, by contrast, is 10 to the 12th power. Dividing bytes by the binary divisor is therefore not the same as dividing by a trillion, and the result for the same drive differs by close to 10 percent.
What the default ten bytes shows
The page opens with 10 bytes, which comes out at about 9.0949e-12 TiB. Ten bytes divided by a number with thirteen digits is a very small figure, and scientific notation is the only readable way to show it. Treat the default as a wiring check, not a realistic case. The factor 9.09494701773e-13 on the page is the reciprocal of the divisor, so one byte is a little under one trillionth of a tebibyte. As a size test, a byte count of 1,099,511,627,776 must return exactly 1, and 2,199,023,255,552 must return exactly 2. If a count near a trillion returns something close to 0.9 instead, the input is a decimal terabyte.
A one trillion byte drive and a 24 TB shelf
A drive sold as 1 TB holds about 1,000,000,000,000 bytes, which the converter shows as 0.9095 TiB, or about 931 GiB. A group of drives totaling 24,000,000,000,000 bytes is about 21.83 TiB, and a 100,000,000,000,000 byte data set is about 90.95 TiB. These numbers explain a common surprise when building a pool: six 4 TB drives total 24 TB on the invoice but only about 21.83 TiB in the pool tools, before redundancy takes its share. The difference is the unit, not defective drives. Apply the ratio of about 0.9095 to any decimal terabyte figure for a quick estimate, then use the page for the exact value.
Exact tebibyte counts and their meaning
Some byte counts convert to whole tebibytes, and they are a sign that a value came from a binary allocation. 4,398,046,511,104 bytes is 4 TiB, and 17,592,186,044,416 bytes is 16 TiB. Virtual disk limits are often set at such sizes: a classic VMDK or VHD size limit and several file system limits are stated in TiB or in binary multiples close to it. The 16 TiB boundary shows up as a file size limit in some older file system versions, so a byte count just under 17,592,186,044,416 is worth checking against the limit of the system that will hold the file.
Converting TiB back into bytes
To go from TiB to bytes, set From to Tebibytes and To to Bytes. The multiplication is by 1,099,511,627,776, so 3 TiB is 3,298,534,883,328 bytes and 0.5 TiB is 549,755,813,888 bytes. Scripts that create volumes or set quotas often want a plain byte integer, and this is the form to paste. Keep every digit, because a rounded value such as 3.3 trillion changes the size by tens of gigabytes. Fractions of a tebibyte work well, since the factor is a power of two: 0.25 TiB is exactly 274,877,906,944 bytes, and the multiplication adds no rounding error before the number is shown.
Precision when the byte count is huge
This unit sits near the edge of what plain floating-point arithmetic handles without loss. Integers are exact up to 9,007,199,254,740,992, which is exactly 8,192 TiB, or 8 pebibytes. A byte count above that, entered as a whole number, can be rounded in its last digit or two before the division, and only a single archive of many pebibytes comes near it. The effect on the TiB result is below one part in nine quadrillion and does not change any displayed digit you would use. For pool sizes in the tens of tebibytes, report the figure to two or three decimal places. A figure like 21.83 TiB is plenty for a purchase decision. Only a comparison against an exact byte threshold needs integer arithmetic, and that comparison is better done in a database or a script with big integers.
TiB, TB and the labels on tools
Tool labels are inconsistent. ZFS and several Linux utilities use binary multiples and may print T or TiB. Windows shows TB for binary values. Many network storage vendors print TB in the interface for values that they calculate in binary, and some print TiB. The safest habit is to compare byte counts. If a product says a volume is 21.8 TB and you believe the drives total 24 TB, divide 24,000,000,000,000 by 1,099,511,627,776 and see that 21.83 explains the display. When writing your own reports, spell out the symbol: TiB for 2 to the 40th power and TB for 10 to the 12th, and state the byte total if the figure drives a purchasing decision.
Planning with usable space
Capacity planning adds another layer on top of the unit change. A pool of 21.83 TiB raw that uses RAID-Z2 across six drives keeps four drives of data space, giving about 14.55 TiB before file system overhead and the free-space margin that copy-on-write file systems need to stay fast. With the usual advice to keep a fifth of the pool free, the working figure drops to roughly 11.6 TiB. The page converts only the byte count, so apply redundancy and reserve to the TiB value afterward. A common practice is to leave a margin of free space on the pool and plan growth against the reduced figure rather than the raw one.