Skip to content
MyDailyTool

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