gizmobench

Bytes to TB Converter

At terabyte scale the two definitions of the unit are nearly 10 percent apart, so bytes to TB has two answers and this page shows both. It opens with Byte in the From box and Tebibyte (TiB) in the To box, the binary terabyte of 1,099,511,627,776 bytes that an operating system means when it labels a volume TB, ahead of whatever pair the converter last remembered. Type the 4,000,000,000,000 bytes a 4 TB drive holds and the headline reads 3.63797880709 TiB, which is the missing capacity everyone asks about: the decimal terabyte of 1,000,000,000,000 bytes sits in the list right below it at exactly 4 TB, along with 4,000 GB, 3,725.29029846 GiB and 3,814,697.26563 MiB. The gap is 99,511,627,776 bytes per terabyte, so a decimal TB is 0.909494701773 TiB and a tebibyte is 9.95 percent more bytes than a terabyte. One display limit is worth knowing at this size: answers print to twelve significant digits, and 1,099,511,627,776 has thirteen, so swapping the boxes and asking for 1 TiB in bytes gives 1,099,511,627,780. The value used in the arithmetic is the exact one; only the printed digits stop at twelve.

To9.094947e-13
Category
Digital storage
Base unit
byte

1 B in every digital storage unit

  • Bitbit
    8
  • KilobytekB
    0.001
  • MegabyteMB
    0.000001
  • GigabyteGB
    1e-9
  • TerabyteTB
    1e-12
  • KibibyteKiB
    0.0009765625
  • MebibyteMiB
    9.536743e-7
  • GibibyteGiB
    9.313226e-10
  • TebibyteTiB
    9.094947e-13

Common questions

How many bytes are in a TB?
1,000,000,000,000 in the decimal terabyte a drive is sold in, and 1,099,511,627,776 in the binary one, the tebibyte (TiB), which is 2 to the 40th power. The difference is 99,511,627,776 bytes, about 92.7 GiB, which is why the disagreement that is invisible at kilobyte scale is impossible to miss on a drive. Both units are in the menus and both appear in the list under any answer.
Why does my 4 TB drive show up as about 3.63 TB?
Because the box counted in decimal and the operating system is counting in binary. The drive holds 4,000,000,000,000 bytes, and this page turns that into 3.63797880709 TiB, which a file manager then rounds and labels TB. Nothing was lost in formatting: it is one quantity of bytes read against two definitions. An 8 TB drive lands the same way at 7.27595761418 TiB, a 12 TB at 10.9139364213 and a 20 TB at 18.1898940355.
What is the formula for bytes to TB?
TiB = bytes / 1,099,511,627,776 for the binary reading, which is the one this page opens with, and TB = bytes / 1,000,000,000,000 for the decimal one. Reversed, bytes = TiB x 1,099,511,627,776 and bytes = TB x 1,000,000,000,000. You do not have to pick before you look, because whichever you put in the To menu, the other is printed in the list underneath.
Why does 1 TiB come back as 1,099,511,627,780 bytes?
Because the display rounds to twelve significant digits and the exact figure, 1,099,511,627,776, needs thirteen. The last digit shown is rounded up from 76 to 80. It affects what is printed and copied, not what is computed: type the exact 1,099,511,627,776 bytes into the From box and the headline comes back as a clean 1 TiB. For an exact byte count of a tebibyte multiple, use the power of two rather than the printed figure.
Is a terabyte 1,000 GB or 1,024 GB?
Both are true of their own family, and mixing them is what causes the confusion. In decimal, 1 TB is 1,000 GB of 1,000,000,000 bytes. In binary, 1 TiB is 1,024 GiB of 1,073,741,824 bytes. Cross the families and the round numbers vanish: a 4 TB drive is 4,000 GB and 3,725.29029846 GiB, and 1,000,000,000,000 bytes is 931.322574615 GiB.
What is 1 byte in TB?
9.094947e-13 TiB, or 1e-12 TB in decimal. Figures below a millionth are printed in exponential form rather than as a row of zeroes, which at this unit begins early: 1,000,000,000 bytes is 0.000909494701773 TiB and is still written out, while a single byte is not. If a readable number is what you need, choose a smaller unit in the To menu, since the same byte is a clean 0.0009765625 KiB.
How do I add up several drives in terabytes?
Convert once, at the end. The page works on one figure at a time, so add the byte counts first and then paste the total: three 4 TB drives are 12,000,000,000,000 bytes, which is 10.9139364213 TiB, noticeably less than the 12 the labels suggest. Adding the TiB readings one at a time gives the same answer but rounds three times on the way.
Can I convert TB back to bytes here?
Yes. The swap button between the boxes reverses the pair into tebibytes to bytes, where 4 TiB reads 4,398,046,511,100 and 16 TiB reads 17,592,186,044,400, both printed at twelve significant digits. Pick Terabyte (TB) in the From menu after swapping to work in decimal instead, where 1 TB is exactly 1,000,000,000,000 bytes and no rounding is involved.
Why does the page open on bytes and tebibytes when I last converted something else?
Because the pair is what the page is for, so it is applied on arrival ahead of the pair the converter remembered. Only this page does it: the main unit converter still opens on the pair you left it on. The number in the box is carried over rather than cleared, since it is usually the capacity you are still checking.
Does anything I type leave the browser?
No. The byte factors are constants that ship with the page, the division runs in your browser as you type, and nothing is uploaded or attached to an account. The page keeps working after the connection goes, as long as it has already loaded.

Conversion factors are the exact legal definitions where one exists. An inch is exactly 2.54 cm and a pound exactly 0.45359237 kg, so those conversions are exact rather than approximate. Temperature uses offsets rather than factors, and that is shown in the working.