Digital Storage Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes and terabytes. Both decimal (1 GB = 1,000 MB) and binary (1 GiB = 1,024 MiB) units are listed so you can see the difference.

1 megabyte = 0.001 gigabytes

Decimal prefixes (kB, MB, GB) are powers of 1,000; binary prefixes (KiB, MiB, GiB) are powers of 1,024. Storage makers use decimal; Windows reports binary but labels it GB.

Popular digital storage conversions

Common units

UnitSymbolValue in bytes
bitbit0.125 B
byteB1 B
kilobytekB1,000 B
megabyteMB1,000,000 B
gigabyteGB1,000,000,000 B
terabyteTB1,000,000,000,000 B
petabytePB1×10¹⁵ B
kibibyteKiB1,024 B
mebibyteMiB1,048,576 B
gibibyteGiB1,073,741,824 B
tebibyteTiB1,099,511,627,776 B
kilobitkb125 B
megabitMb125,000 B
gigabitGb125,000,000 B

Other units

UnitSymbolValue in bytes
exabyteEB1×10¹⁸ B
zettabyteZB1×10²¹ B
yottabyteYB1×10²⁴ B
pebibytePiB1.125899907×10¹⁵ B
exbibyteEiB1.152921505×10¹⁸ B
terabitTb125,000,000,000 B
kibibitKibit128 B
mebibitMibit131,072 B
gibibitGibit134,217,728 B

Historical and traditional units

UnitSymbolValue in bytes
nibblenibble0.5 B