Data Storage Converter

Convert between bytes, KB, MB, GB, TB and PB in both decimal (SI, powers of 1,000) and binary (IEC, powers of 1,024) systems.

Value & Unit / Valor y Unidad
Converting… / Convirtiendo…
↗ All unit converters / Todos los conversores

Decimal (SI) vs Binary (IEC) units

There are two competing standards for digital storage units. The decimal (SI) system uses powers of 1,000: 1 KB = 1,000 bytes, 1 MB = 1,000 KB, 1 GB = 1,000 MB. Hard drive and SSD manufacturers use this system. The binary (IEC) system uses powers of 1,024: 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB. Operating systems like Windows traditionally report storage in binary units (though labeling them as KB/MB/GB), which is why a drive advertised as 500 GB appears as approximately 465 GiB in Windows.

Common data storage conversions

FromTo (bytes)Equals
1 KB (kilobyte)bytes1,000
1 KiB (kibibyte)bytes1,024
1 MB (megabyte)KB1,000
1 MiB (mebibyte)KiB1,024
1 GB (gigabyte)MB1,000
1 GiB (gibibyte)MiB1,024

Frequently asked questions

What is the difference between GB and GiB?

GB (gigabyte) uses 1 GB = 1,000,000,000 bytes (decimal SI). GiB (gibibyte) uses 1 GiB = 1,073,741,824 bytes (binary IEC). Hard drive manufacturers use GB; operating systems often report in GiB, which is why a "500 GB" drive appears as ~465 GiB in Windows.

How many MB in a GB?

In decimal (SI): 1 GB = 1,000 MB. In binary (IEC): 1 GiB = 1,024 MiB.

How many bytes in a kilobyte?

In decimal (SI): 1 KB = 1,000 bytes. In binary (IEC): 1 KiB = 1,024 bytes.