Data Storage Converter

Convert between bits, bytes, KB, MB, GB, TB and the binary units KiB, MiB, GiB and TiB.

Megabytes (MB)
1,000 MB
Decimal GB vs binary GiB
GBGB — Value: 11GiBGiB — Value: 0.9310.931
Bits
8,000,000,000 bits
Bytes
1,000,000,000 bytes
Kilobytes (KB)
1,000,000 KB
Gigabytes (GB)
1 GB
Terabytes (TB)
0.001 TB
Kibibytes (KiB)
976,562.5 KiB
Mebibytes (MiB)
953.674316 MiB
Gibibytes (GiB)
0.93132257 GiB
Tebibytes (TiB)
0.0009094947 TiB

Runs entirely in your browser. Nothing you enter is uploaded.

Formula

1 byte = 8 bitsDecimal (SI): 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MBBinary (IEC): 1 KiB = 1,024 B, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB

How it works

Two systems of prefixes are in use. Storage makers, network speeds and the SI standard count in powers of 1,000: a kilobyte is 1,000 bytes and a gigabyte is a billion bytes. Operating systems and memory chips have long counted in powers of 1,024, now formally called kibibytes (KiB), mebibytes (MiB) and gibibytes (GiB).

The gap grows with each step: a KiB is 2.4% bigger than a KB, but a TiB is almost 10% bigger than a TB. That is why a “1 TB” drive shows up as about 931 GB in Windows, which labels its binary units with the decimal names.

Network speeds are quoted in bits per second, while file sizes are in bytes. Divide megabits by 8 to get megabytes: a 100 Mb/s connection moves at most 12.5 MB of data per second.

Frequently asked questions

Is a gigabyte 1,000 or 1,024 megabytes?

By the SI definition, 1,000 MB. The 1,024-based unit is properly called a gibibyte (GiB), equal to 1,024 MiB.

Why does my new hard drive show less space than advertised?

The drive is measured in decimal TB, but the operating system reports binary units. 1 TB = 10¹² bytes ≈ 0.909 TiB, displayed as “931 GB”.

esc