Data Storage Converter
Convert data storage between bytes, KB, MB, GB, TB, and PB — in both binary (1 KB = 1024 B) and decimal (1 KB = 1000 B) modes. Useful for storage planning and file size comparisons.
Bits
8000000
Bytes
1000000
Kilobytes (decimal)
1000
Megabytes (decimal)
1
Gigabytes (decimal)
0.001
Terabytes (decimal)
0.000001
Kibibytes (binary)
976.5625
Mebibytes (binary)
0.95367432
Gibibytes (binary)
0.00093132257
Tebibytes (binary)
9.094947e-7
How to use the data storage converter
Distinguishes decimal SI prefixes (MB = 10⁶) from binary IEC prefixes (MiB = 2²⁰). Hard drives use decimal; OS file sizes are usually binary.
Formula & explanation
Linear scaling through bytes.
Examples
1 GB = 10⁹ bytes ≈ 0.931 GiB.
Frequently asked questions
- Why does my hard drive show less space than advertised?
- Hard drive manufacturers use decimal GB (1 GB = 1,000,000,000 bytes), but operating systems report in binary GiB (1 GiB = 1,073,741,824 bytes). A 1 TB drive shows as about 931 GiB in Windows or macOS.
- What is the difference between MB and MiB?
- 1 MB (megabyte) = 1,000,000 bytes using the decimal SI standard. 1 MiB (mebibyte) = 1,048,576 bytes using the binary IEC standard. The difference is about 4.9%.
- How many bytes are in a gigabyte?
- 1 GB (decimal) = 1,000,000,000 bytes. 1 GiB (binary) = 1,073,741,824 bytes.
- How many bits are in a byte?
- There are exactly 8 bits in 1 byte. Network speeds are often measured in bits (Mbps), while file sizes use bytes (MB).
Related unit converters tools
- Shoe Size ConverterConvert shoe sizes between US, UK, EU, and foot length in cm — for both men's and women's sizing. Includes a full reference chart for all standard international shoe size systems.
- Energy ConverterConvert energy between joules, calories, kilocalories, kilowatt-hours, BTU, and electron volts. Useful for physics, nutrition, and engineering calculations.
- Clothing Size ConverterConvert clothing sizes between US, UK, EU, and AU for men's and women's tops, bottoms, and dresses. Includes reference charts for chest, waist, and hip measurements.
- Weight ConverterConvert weight between kilograms, pounds, ounces, grams, stones, and metric tons. Handles both metric and imperial units — useful for cooking, shipping, and fitness tracking.
- Volume ConverterConvert volume between liters, gallons, milliliters, cubic meters, fluid ounces, cups, and pints. Handles both US and UK gallons — useful for cooking, chemistry, and engineering.
- Temperature ConverterConvert temperature between Celsius, Fahrenheit, and Kelvin with instant results. Includes common reference points — freezing, body temperature, boiling — for quick sanity checks.