Data Size Converter

Convert bits, bytes and every prefix - and see the decimal (1000) and binary (1024) answers side by side.

ScaleDecimal (x1000)Binary (x1024)
Bits-
Bytes-
Kilo--
Mega--
Giga--
Tera--

Left column uses powers of 1000 (what drive makers and networks quote). Right column uses powers of 1024 (what your operating system and RAM use).

Two ways to count the same bytes

A byte is a byte, but the prefixes on top of it come in two flavours. The decimal (SI) system multiplies by 1,000 at each step: 1 kB = 1,000 bytes, 1 MB = 1,000 kB, and so on. The binary (IEC) system multiplies by 1,024, because computers count in powers of two: 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB. The proper binary units are spelled kibi, mebi, gibi and tebi (KiB, MiB, GiB, TiB) to keep them distinct.

Why "500 GB" shows as 465 GiB

This is the number one source of confusion. A drive labelled 500 GB holds exactly 500,000,000,000 bytes - the manufacturer uses the decimal definition, so the maths is clean. Your operating system, though, divides by 1,024 three times to reach the giga level: 500,000,000,000 / 1,024 / 1,024 / 1,024 = 465.66. So it reports 465 GiB (often still mislabelled "GB"). Nothing is lost; the drive is honest. The two systems simply disagree by about 7.4 percent at the giga level, and the gap widens the higher you go - a 1 TB drive shows as roughly 931 GiB.

Bits versus bytes

Storage is measured in bytes (capital B); data-transfer speed is measured in bits (lower-case b). There are 8 bits in a byte, so a 100 Mbps connection tops out near 12.5 MB per second. Confusing the two makes downloads look eight times slower than advertised. If you are working out how long a file will take to download, keep an eye on that factor of eight.

Working with raw numbers elsewhere? The binary converter turns decimal into base-2, and the all-in-one unit converter covers length, weight and more alongside data. For plain arithmetic, the percentage calculator is handy when you want the exact gap between GB and GiB.

Frequently asked questions

Why does my 500 GB drive show as only 465 GB?
The drive maker counts 500 GB as 500,000,000,000 bytes using the decimal standard (1 GB = 1000 MB). Your operating system divides by 1024 at each step, so the same bytes come out as 465 GiB - though Windows still labels it "GB". The storage is not missing; the two systems just count differently.
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000,000,000 bytes (decimal, powers of 1000). A gibibyte (GiB) is 1,073,741,824 bytes (binary, powers of 1024). GiB is about 7.4 percent larger than GB. The gap grows at each level: a terabyte versus a tebibyte differ by about 10 percent.
How many megabytes are in a gigabyte?
In decimal terms, 1 GB = 1,000 MB. In binary terms, 1 GiB = 1,024 MiB. Which one applies depends on the context - network and storage marketing use 1000, while RAM and operating systems typically use 1024.
How many bits are in a byte?
Eight. One byte = 8 bits. This matters for internet speeds, which are quoted in bits per second: a 100 Mbps connection delivers at most about 12.5 megabytes per second (100 / 8).
Should I use decimal or binary?
Use decimal (GB, MB) for storage capacity, file sizes shown by most software, and network speeds. Use binary (GiB, MiB) for RAM and when an operating system reports memory. When precision matters, state which you mean - this tool shows both side by side.