Data Storage Converter

Enter a value and pick your units — it converts as you type.

Result

Uses the binary convention: 1 KB = 1024 bytes.

Advertisement In-content responsive — ad slot

Convert digital storage units

Convert between bits, bytes, kilobytes, megabytes, gigabytes and terabytes in a click. Whether you're sizing a file, a download, a backup or a disk, this tool gives the answer instantly using the binary (1024) convention that operating systems use.

How the units stack up

8 bits = 1 byte  ·  1 KB = 1024 bytes  ·  1 MB = 1024 KB  ·  1 GB = 1024 MB  ·  1 TB = 1024 GB

Note that storage manufacturers usually use the decimal convention (1 KB = 1000 bytes), which is why a "1 TB" drive shows as roughly 931 GB in your operating system — the drive is measured in powers of 1000 while the OS reports powers of 1024.

Frequently asked questions

How many megabytes are in a gigabyte?

Using the binary convention this tool applies, there are 1024 megabytes in a gigabyte. So 1 GB = 1024 MB and 1 MB = 1024 KB.

What is the difference between bits and bytes?

A byte is 8 bits. Storage is usually measured in bytes (KB, MB, GB), while network and connection speeds are often quoted in bits (Mbps). That factor of 8 is why a file downloads slower than the headline connection speed suggests.

Does 1 KB equal 1000 or 1024 bytes?

It depends on the convention. This converter uses the binary convention where 1 KB = 1024 bytes, common in operating systems. Storage manufacturers often use the decimal convention where 1 KB = 1000 bytes, which is why a drive shows less capacity than advertised.