Convert file sizes and storage capacities between bits, bytes and their decimal or binary multiples. This data storage converter keeps labels such as GB and GiB separate so you can choose the units used by your source.
Unit converter
Data Storage Converter
Convert bits and bytes between decimal units such as MB and GB and binary units such as MiB and GiB.
One byte is 8 bits. Decimal units use powers of 1,000; binary units use powers of 1,024. The word option is a 16-bit word.
For storage conversions on your phone, Unit Converter is free to download and includes a Data Storage converter.
How to use this tool
- Choose the original unit under From and the desired unit under To.
- Enter a zero or positive Value in the original unit.
- Read the live conversion or click Convert. Swap units reverses the pair while converting the value to preserve the quantity.
What does data storage measure?
Data storage measures an amount of digital information. A file size tells you how much data belongs to a file, while a storage capacity tells you how much a device or storage space can hold. Both are commonly expressed in bytes and their multiples.
A data storage converter helps you compare these amounts when their labels use different units. The two details to look for are whether the unit counts bits or bytes, and whether its prefix follows the decimal or binary system.
Understanding bits and bytes
A bit is a binary digit: a value of zero or one. A byte is a group of eight bits. Bytes provide a convenient way to describe files and memory without writing very large bit counts.
Bits = bytes × 8
Bytes = bits ÷ 8
The capital B in a unit symbol means bytes. Bit units use bit or a lowercase b. The letter is part of the measurement, so it matters just as much as the prefix before it.
Smaller groupings also appear in programming and data formats. A nibble contains four bits, or half a byte. The word option in this converter specifically means a 16-bit word, equal to two bytes.
Decimal and binary storage units
Large amounts of data use prefixes to keep the numbers readable. The decimal sequence is kilobytes, megabytes, gigabytes, terabytes, petabytes and exabytes. Each step is 1,000 times the previous one: a kilobyte is 1,000 bytes, a megabyte is 1,000 kilobytes, and so on.
The binary sequence uses kibibytes, mebibytes, gibibytes, tebibytes, pebibytes and exbibytes. Each step is 1,024 times the previous one. Their symbols are KiB, MiB, GiB, TiB, PiB and EiB. The extra i identifies the binary prefix.
These binary prefixes also apply to bits. A kibibit, written Kibit, contains 1,024 bits; a kibibyte, written KiB, contains 1,024 bytes. This is why both the prefix and the final bit-or-byte symbol must be read together.
Why GB and GiB give different numbers
A gigabyte and a gibibyte are different-sized units:
- 1 GB = 1,000,000,000 bytes
- 1 GiB = 1,073,741,824 bytes
The gibibyte is the larger unit, so a given byte count produces a smaller number in GiB than in GB. This explains the numerical difference when capacity figures use these two labels. To express a byte count in either unit, divide it by the corresponding number of bytes above.
How conversion between data units works
Any pair of supported units can be compared through the number of bits each contains. The general relationship is:
Converted value = original value × bits per original unit ÷ bits per target unit
This handles both changes at once: a decimal or binary prefix and a bit or byte grouping. Within the same byte-based sequence, moving to the next larger unit means dividing by 1,000 for decimal units or 1,024 for binary units. Moving to the next smaller unit means multiplying by that factor.
More tools: Browse all calculators and unit converters.
Convert storage units on your phone
Keep data storage conversions and other measurement tools handy with Unit Converter. Download it free from the App Store or Google Play.

