Saved calculators
Conversion

TB to bytes converter

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.

Use as default values for the embed calculator what is currently in input fields of the calculator on the page.
Input border focus color, switchbox checked color, select item hover color etc.

Please agree to the Terms of Use.
Preview

Save calculator

What is a terabyte?

A terabyte (TB) is a unit of digital information storage used in computing. Depending on the context, it can represent two distinct values:

  1. SI (International System of Units) Definition:
    • 1 TB = 101210^{12} bytes = 1,000,000,000,000 bytes.
    • This system uses base-10 prefixes (e.g., kilobyte, megabyte, gigabyte).
  2. Binary (IEC) Definition:
    • 1 tebibyte (TiB) = 2402^{40} bytes = 1,099,511,627,776 bytes.
    • The binary system, standardized by the International Electrotechnical Commission (IEC), uses base-2 prefixes (e.g., kibibyte, mebibyte, gibibyte).

Confusion arises because many operating systems and software tools historically used binary prefixes but labeled them with SI names (e.g., reporting 2402^{40} bytes as “TB”).

Understanding data measurement units

SI (Base-10) system

  • Kilobyte (KB): 103=1,00010^3 = 1,000 bytes.
  • Megabyte (MB): 106=1,000,00010^6 = 1,000,000 bytes.
  • Gigabyte (GB): 109=1,000,000,00010^9 = 1,000,000,000 bytes.
  • Terabyte (TB): 1012=1,000,000,000,00010^{12} = 1,000,000,000,000 bytes.

Binary (Base-2) system (IEC standard)

  • Kibibyte (KiB): 210=1,0242^{10} = 1,024 bytes.
  • Mebibyte (MiB): 220=1,048,5762^{20} = 1,048,576 bytes.
  • Gibibyte (GiB): 230=1,073,741,8242^{30} = 1,073,741,824 bytes.
  • Tebibyte (TiB): 240=1,099,511,627,7762^{40} = 1,099,511,627,776 bytes.

Key distinction:

  • SI units are used by storage manufacturers (e.g., “1 TB SSD”).
  • Binary units are used by operating systems (e.g., Windows reports 1 TB as ~931 GiB).

Formula

Converting TB (SI) to bytes

Bytes=TB×1012\text{Bytes} = \text{TB} \times 10^{12}

Converting TiB (IEC) to bytes

Bytes=TiB×240\text{Bytes} = \text{TiB} \times 2^{40}

Examples

Example 1: Converting 1 TB (SI) to bytes

1 TB=1×1012=1,000,000,000,000 bytes1\ \text{TB} = 1 \times 10^{12} = 1,000,000,000,000\ \text{bytes}

Example 2: Converting 2.5 TB (SI) to bytes

2.5 TB=2.5×1012=2,500,000,000,000 bytes2.5\ \text{TB} = 2.5 \times 10^{12} = 2,500,000,000,000\ \text{bytes}

Example 3: Converting 1 TiB (IEC) to bytes

1 TiB=1×240=1,099,511,627,776 bytes1\ \text{TiB} = 1 \times 2^{40} = 1,099,511,627,776\ \text{bytes}

Practical use case: A video production company stores 10 TB of raw footage. In bytes, this equals:

10×1012=10,000,000,000,000 bytes10 \times 10^{12} = 10,000,000,000,000\ \text{bytes}

Notes

  1. SI vs. IEC standards: Always verify which system is being used to avoid errors.
  2. Operating systems: Windows uses binary units but labels them as SI units (e.g., “TB” instead of “TiB”).
  3. Storage marketing: A “1 TB” hard drive marketed using SI units will display as ~931 GiB in Windows.
  4. Precision: For exact calculations, use 240=1,099,511,627,7762^{40} = 1,099,511,627,776.

Frequently Asked Questions

How many bytes are in a TB?

In the SI system:

1 TB=1012=1,000,000,000,000 bytes1\ \text{TB} = 10^{12} = 1,000,000,000,000\ \text{bytes}

In the binary system:

1 TiB=240=1,099,511,627,776 bytes1\ \text{TiB} = 2^{40} = 1,099,511,627,776\ \text{bytes}

Why does my 1 TB drive show only 931 GB?

Storage manufacturers use SI units (1 TB=10121\ \text{TB} = 10^{12} bytes), while operating systems use binary units:

1012230931.32 GiB\frac{10^{12}}{2^{30}} \approx 931.32\ \text{GiB}

This discrepancy is due to the difference between base-10 and base-2 systems.

How to convert 5 TiB to bytes?

Using the IEC formula:

5 TiB=5×240=5,497,558,138,880 bytes5\ \text{TiB} = 5 \times 2^{40} = 5,497,558,138,880\ \text{bytes}

Are TB and TiB Interchangeable?

No. A terabyte (TB) is 101210^{12} bytes, while a tebibyte (TiB) is 2402^{40} bytes. The difference grows with larger units (e.g., 1 TB ≈ 0.909 TiB).

What is the historical reason for two systems?

Early computing used binary prefixes (e.g., 210=1,0242^{10} = 1,024) for memory alignment. However, the SI system (103=1,00010^3 = 1,000) was already established for metric units. The IEC standardized binary prefixes in 1999 to resolve confusion.

Report a bug