Home / Common Converters / Data Storage

Data Storage Converter

Bytes, megabytes, gigabytes, terabytes

Data Storage Converter

What data storage measures

Digital storage is measured in bits and bytes. A byte is 8 bits. Decimal prefixes (kilobyte = 1,000 bytes) are used by drive makers, while binary prefixes (kibibyte = 1,024 bytes) describe memory. This page includes both families, clearly labelled.

Who uses data storage conversions

Checking whether a file will fit on a drive, understanding why a new disk shows less space than advertised, comparing cloud plans and converting between bits and bytes for network work.

Worked example. 100 GB, 1000³ converts to 100000 MB, 1000². Change either field above to try your own value.

Common mistakes to avoid

A 1 TB drive holds 1,000,000,000,000 bytes, which an operating system using binary units reports as about 931 GiB. The drive is not missing capacity; the two systems count differently.

Frequently asked question

How many megabytes are in a gigabyte?
1,000 MB in the decimal system, or 1,024 MiB per GiB in the binary system.

All factors are stored against a single base unit (Byte) and applied in one step, so converting A → B never accumulates rounding error from an intermediate hop.

Quick reference table

GigabyteMegabyte
1 GB, 1000³1000 MB, 1000²
2 GB, 1000³2000 MB, 1000²
5 GB, 1000³5000 MB, 1000²
10 GB, 1000³10000 MB, 1000²
20 GB, 1000³20000 MB, 1000²
50 GB, 1000³50000 MB, 1000²
100 GB, 1000³100000 MB, 1000²
500 GB, 1000³500000 MB, 1000²
1000 GB, 1000³1000000 MB, 1000²

All 13 units

UnitEquals in Byte
Bit (b)0.125
Nibble0.5
Byte (B)1
Kilobyte (kB, 1000)1000
Kibibyte (KiB, 1024)1024
Megabyte (MB, 1000²)1000000
Mebibyte (MiB, 1024²)1048576
Gigabyte (GB, 1000³)1000000000
Gibibyte (GiB, 1024³)1073741824
Terabyte (TB)1e+12
Tebibyte (TiB)1.099511628e+12
Petabyte (PB)1.000000e+15
Pebibyte (PiB)1.125900e+15