Data Storage converter

Digital information is measured in bits, the smallest unit, representing a single binary value of 0 or 1. Eight bits make one byte, the basic unit for file sizes and memory. Network speeds are usually stated in bits per second, while storage and file sizes are stated in bytes.

Convert between 8 data storage units. Pick any two units below; results update as you type.

Most used data storage conversions

Popular data storage conversions

About data storage units

Two prefix systems are in use. Decimal (SI) prefixes count in powers of 1,000, so 1 kB is 1,000 bytes. Binary (IEC) prefixes count in powers of 1,024, so 1 KiB is 1,024 bytes, 1 MiB is 1,048,576 bytes, and so on through GiB, TiB, and PiB. Storage makers label drives with decimal units, while some operating systems report binary values using decimal-looking labels.

The International Electrotechnical Commission introduced the kibi, mebi, and gibi prefixes in 1998 to end this ambiguity, but labels such as "KB" and "GB" are still often used loosely for binary quantities.

Unit systems compared

Computing uses binary counting internally, so memory modules and cache sizes come in powers of two, while storage and network capacities usually follow decimal SI prefixes. A 16 GB memory module is 16 GiB, which is about 17.2 billion bytes, while a 16 GB drive holds 16 billion bytes. The gap grows with size: a 1 TB drive shows about 9% less capacity than 1 TiB when an operating system reports it in binary units.

Data rates use a different convention again. Network speeds are quoted in bits per second with decimal prefixes, so a 100 Mbps link carries 100,000,000 bits each second, or about 12.5 MB per second of payload before overhead. Video bitrates and internet plans follow the same rule, which is why a download can seem slower than the advertised number when the operating system reports its progress in bytes. Storage vendors and network providers follow the decimal rule, so the same label means the same count of bytes on every operating system.

Where data storage units matter

Tips

All data storage units

UnitSymbolValue in bits
Bitsbit1 bit = 1 bit
BytesB1 B = 8 bit
KilobyteskB1 kB = 8,000 bit
KibibytesKiB1 KiB = 8,192 bit
MebibytesMiB1 MiB = 8,388,608 bit
GibibytesGiB1 GiB = 8,589,935,000 bit
TebibytesTiB1 TiB = 8,796,093,000,000 bit
PebibytesPiB1 PiB = 9.0072E15 bit

Convert offline on your phone. 36 categories, live currency rates, calculators and history in our free Unit Converter app.

Google PlayApp Store

Factors: NIST SP 811 · SI Brochure · NIST Handbook 44 — Updated