Unit Converter Convert length, weight, temperature and more — free, fast, private.

Data Storage Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes and terabytes using binary (1024-based) multiples.

How data storage conversion works

This category uses the binary multiples that operating systems and RAM sizes use: each step is 1,024, so 1 KB = 1,024 bytes and 1 MB = 1,024 KB. Drive manufacturers quote decimal multiples instead (1 GB = 1 billion bytes), which is why a 500 GB drive shows up as about 465 GiB.

UnitEquals
1 Bit0.125 B
1 Byte (B)base unit
1 Kilobyte (KB)1024 B
1 Megabyte (MB)1048580 B
1 Gigabyte (GB)1073740000 B
1 Terabyte (TB)1099510000000 B

All data storage conversions

Every data storage pair has its own quick-reference page with a conversion table:

Back to the full unit converter for all seven categories.

Common mistakes to avoid

A quick accuracy check

Want to sanity-check any converter? Convert -40 from Celsius to Fahrenheit: the result must be exactly -40, the only temperature where the two scales meet. Then convert 0 Kelvin to Celsius: you should get -273.15, absolute zero. A converter that handles both edge cases correctly has sound temperature formulas, and this one does.

Frequently asked questions

Why is 1 KB equal to 1024 bytes here?

Computing traditionally uses binary multiples (2^10 = 1,024), matching how memory and operating systems report sizes. The strict SI names for these are kibibyte (KiB), mebibyte (MiB) and so on, but KB/MB/GB remain the common labels.

How many bits are in a byte?

Eight. Network speeds are quoted in bits per second (Mb/s) while file sizes use bytes — a 100 Mbit/s connection therefore downloads at most 12.5 megabytes per second.