Byte and Bit Size Converter

Convert between bits, bytes, KB, MB, GB, TB in both IEC and SI units

Ad placeholder (leaderboard)

This converter shows a single data size in every common unit at once, covering both unit families that people routinely mix up: the SI decimal units that step by 1000 and the IEC binary units that step by 1024.

How it works

Every value is first reduced to a common base of bits, then divided back out into each target unit:

1 byte = 8 bits
SI:  1 KB  = 1000 B,  1 MB = 1000 KB,  1 GB = 1000 MB
IEC: 1 KiB = 1024 B,  1 MiB = 1024 KiB, 1 GiB = 1024 MiB

total_bits   = amount × bits_per_source_unit
target_value = total_bits / bits_per_target_unit

Because both families are anchored to the same bit count, you can read straight across from, say, gibibytes to gigabytes without any extra steps.

Example and tips

1 GiB equals 1.073741824 GB, 1024 MiB, and 8,589,934,592 bits. When you see a storage size that does not match expectations, the culprit is almost always a decimal-versus-binary mismatch: a 500 GB SSD holds 500 billion bytes, which a binary-counting tool reports as about 465 GiB. Quote bandwidth in bits and file sizes in bytes, and remember the factor of eight between them.

Ad placeholder (rectangle)