Data Storage Converter
Convert digital storage sizes between bits, bytes, KB, MB, GB, TB and their binary KiB, MiB and GiB counterparts — free, instant and private. All the math happens in your browser.
How to use the data storage converter
- Enter a value. Type the amount of data you want to convert into the Value box — for example, 1 to convert 1 gigabyte.
- Pick the units. Choose the unit to convert from and the unit to convert to, then press ⇄ to swap them if needed.
- Read the result. The converted size appears instantly, along with a table listing the same amount in every other storage unit.
About this tool
This free data storage converter handles both the decimal (SI) units used on packaging — kilobyte, megabyte, gigabyte, terabyte and petabyte, each a power of 1,000 — and the binary units used by operating systems: kibibyte, mebibyte, gibibyte and tebibyte, each a power of 1,024. It is the quickest way to work out how many megabytes a file uses, how many photos fit on a memory card, or why a drive labelled "1 TB" shows up as roughly 931 GiB in your file manager.
The converter also includes bits, which matter for internet and network speeds because there are 8 bits in every byte. Everything is calculated locally in your browser with JavaScript, so the sizes you enter are never uploaded or logged, and the tool keeps working offline once the page has loaded.
Frequently asked questions
What is the difference between MB and MiB?
A megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes (1,024 × 1,024). Storage is usually advertised in decimal MB/GB, but operating systems often report the binary MiB/GiB, which is why the numbers can look different.
Why does my hard drive show less space than advertised?
Drive makers count a terabyte as 1,000,000,000,000 bytes (decimal), but Windows reports space in binary tebibytes/gibibytes. A "1 TB" drive therefore shows about 931 GiB — no space is missing, it is just two different definitions.
How many bits are in a byte?
There are 8 bits in one byte. To convert a byte figure to bits, multiply by 8; to go from bits to bytes, divide by 8.
Is internet speed measured in bits or bytes?
Internet speeds are quoted in bits per second (Mbps, Gbps), while file sizes are in bytes. A 100 Mbps connection downloads at about 12.5 MB/s, because you divide the bit rate by 8.