ThisCalculator

Technology

Bytes Calculator

Updated · Standard formula, shown below

Bytes 500,000,000,000 B
Bits
4,000,000,000,000 bit
Result
Gibibytes
465.66 GiB
Result
Tebibytes
0.4547 TiB
Result

This calculator converts a data size into bytes and bits and into binary gibibytes and tebibytes. Enter an amount and pick its unit: decimal (KB, MB, GB, TB, powers of 1000) or binary (KiB, MiB, GiB, powers of 1024).

Formula

Bytes = amount × unit size. Bits = bytes × 8. GiB = bytes ÷ 1024³ (1,073,741,824). TiB = bytes ÷ 1024⁴ (1,099,511,627,776).

  • Decimal units: 1 KB = 1,000 B, 1 MB = 1,000,000 B, 1 GB = 10⁹ B, 1 TB = 10¹² B
  • Binary units: 1 KiB = 1,024 B, 1 MiB = 1,024² B, 1 GiB = 1,024³ B

Worked Example

A 500 GB drive.

  1. 500 × 1,000,000,000 = 500,000,000,000 bytes
  2. × 8 = 4,000,000,000,000 bits
  3. 500,000,000,000 ÷ 1,073,741,824 = 465.66 GiB
  4. 500,000,000,000 ÷ 1,099,511,627,776 = 0.4547 TiB

Limits and common mistakes

  • Drive makers use decimal units; many operating systems show binary units but label them “GB”. That is why a 500 GB drive shows about 465 “GB”.
  • Network speeds are in bits per second (Mbps), file sizes in bytes: divide bits by 8.
  • Formatted capacity is a little smaller again because the file system uses some space.
  • Memory (RAM) is sold in binary sizes: an “8 GB” module holds 8 GiB = 8,589,934,592 bytes.
Formula used
in x | Amount | - | 500 | 0
sel u | Unit | Gigabytes (GB)=1000000000, Megabytes (MB)=1000000, Kilobytes (KB)=1000, Terabytes (TB)=1000000000000, Gibibytes (GiB)=1073741824, Mebibytes (MiB)=1048576, Kibibytes (KiB)=1024
out b | Bytes | B | x * u | 0
out bits | Bits | bit | b * 8 | 0
out gib | Gibibytes | GiB | b / 1073741824 | 2
out tib | Tebibytes | TiB | b / 1099511627776 | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.