Home Unit Conversion Data Storage Converter

Data Storage Converter

Convert between bits, bytes and the decimal (KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB) storage units. See why drives show less space than the box says.

Advertisement

How it works

The byte is the base unit, and 8 bits make one byte. The decimal units (KB, MB, GB) count in thousands: 1 KB = 1,000 bytes. The binary units (KiB, MiB, GiB) count in 1024s: 1 KiB = 1,024 bytes. Storage makers use decimal units, while operating systems often show binary ones, which is why a 500 GB drive can show about 465 GiB.

Advertisement

Formula

1 byte = 8 bits.
Decimal: 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MB.
Binary: 1 KiB = 1,024 B, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB.

Example

Example in plain words. Convert 1 GB to MB.

1 × 1,000 = 1,000 MB.

But 1 GB in binary units is 1,000,000,000 ÷ 1,073,741,824 = 0.931 GiB.

And a 500 GB drive is 465.661 GiB, which is what many computers show.

Frequently asked questions

Why does my new drive show less space?

The box uses decimal GB (billions of bytes) and the computer shows binary GiB (multiples of 1,024³). Same bytes, different counting.

Which unit do internet providers use?

Bits, usually megabits per second (Mbps). Divide by 8 to get megabytes per second.

Advertisement

Related calculators

Length Converter

Convert between millimeters, centimeters, meters, kilometers, inches, feet, yards, miles and nautical miles.

Weight Converter

Convert between milligrams, grams, kilograms, metric tons, ounces, pounds and stone.

Volume Converter

Convert between milliliters, liters, cubic meters and US kitchen units: teaspoons, tablespoons, fluid ounces, cups, pints, quarts and gallons.

Temperature Converter

Convert between Celsius, Fahrenheit and Kelvin.