Data Storage Converter

Convert between bytes, kilobytes, gigabytes and their binary counterparts, which are not the same thing.

Runs entirely in your browser. Nothing is uploaded, logged or stored.

1 GB

0.9313226 GiB

Gibibyte

In every unit

The same quantity in every unit of the family
Unit Symbol Value
Bit b 8,000,000,000
Byte B 1,000,000,000
Kilobyte kB 1,000,000
Kibibyte KiB 976,562.5
Megabyte MB 1,000
Mebibyte MiB 953.6743
Gigabyte GB 1
Gibibyte GiB 0.9313226
Terabyte TB 0.001
Tebibyte TiB 0.0009094947
Petabyte PB 0.000001
Pebibyte PiB 8.881784E-7

A kilobyte is a thousand bytes. A kibibyte is 1024. Both are listed here, separately, because the gap between them is why a "1 TB" disk shows up as 931 GB and why nobody can agree on how big a file is.

How it works

The decimal prefixes — kilo, mega, giga — mean powers of a thousand, as they do everywhere else in measurement. The binary prefixes — kibi, mebi, gibi, standardised as KiB, MiB, GiB — mean powers of 1024, which is what memory addressing actually uses.

The gap compounds: a kibibyte is 2.4% larger than a kilobyte, a mebibyte 4.9% larger than a megabyte, and a tebibyte about 10% larger than a terabyte. That gap is the "missing" space on a new drive: one sold as 1 TB holds about 0.91 TiB, which a system counting in powers of two shows as 931 GiB.

Examples

Case Input Result
A drive sold as 1 TB 1 TB 931.32 GiB
A byte 1 B 8 bits

Frequently asked questions

Why is my 1 TB drive only 931 GB?

The manufacturer sold you 1 000 000 000 000 bytes, which is a terabyte. Your operating system divides by 1024 three times and calls the result GB, when it is really GiB. No space is missing; two different units are being shown under one name.

Which one should I use?

Decimal prefixes for storage and transfer figures, binary ones for memory, and say which you mean. Writing GiB when you mean GiB removes the ambiguity entirely, which is why the standard exists.

Is a megabit the same as a megabyte?

No, and internet plans rely on the confusion. A byte is eight bits, so a 100 Mb/s connection transfers about 12.5 MB a second at best. Bits are listed here so the division is done for you.

Good to know

  • Every factor used here is an exact definition rather than a rounded measurement, so the only error in a result is the one that comes from displaying it with a finite number of digits.

Sources

All Converters tools