Data Storage Converter

Convert bytes between decimal units (powers of 1000) and binary units (powers of 1024).

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

Decimal units step by 1000: kilobyte, megabyte, gigabyte, terabyte. Binary units step by 1024: kibibyte, mebibyte, gibibyte, tebibyte. Each option is labeled with that base.

A value entered in one family is converted through bytes into the family you chose.

How to use it

  1. Enter a number of bytes or a larger unit.
  2. Choose the source unit and the target unit.
  3. Convert. The label says whether the step is 1000 or 1024.

Limitations

Both the 1000-byte steps and the 1024-byte steps

Two prefix families sit on one menu

This storage list contains both decimal units and binary units. Decimal prefixes step by powers of 10, and the binary prefixes step by powers of 1024. The decimal ids are kb, mb, and gb: kilobyte factor 1000, megabyte factor 1000 squared which is 1000000, gigabyte factor 1000 cubed which is 1000000000. The binary ids are kib, mib, and gib: kibibyte factor 1024, mebibyte factor 1024 squared which is 1048576, gibibyte factor 1024 cubed which is 1073741824. The byte row, labelled as a decimal byte, stores 1. Every other row converts through that byte count. A kibibyte is therefore 1024 bytes and also 1.024 kilobytes, because 1024 divided by 1000 is 1.024. The labels show the base so the rows are not aliases of one another. No alias list treats kb as another name for kib.

One gibibyte against one gigabyte

Enter 1 as a gibibyte and ask for bytes. The product is 1073741824. Enter 1 as a gigabyte and ask for bytes. The product is 1000000000. The gap between those two products is 73741824 bytes, which is why a drive sold with decimal gigabytes looks smaller when a system counts gibibytes. The same split at the next size down: one mebibyte is 1048576 bytes, one megabyte is 1000000 bytes. At the small end, one kibibyte is 1024 bytes and one kilobyte is 1000 bytes. Pick the row whose parenthetical base matches the document you are reading. A file dialog that says KiB is the binary row. A networking quote that says KB and means thousands of bytes is the decimal row. Guessing from the letters K, M, or G alone is how the two families get swapped.

What is not a storage row

Terabytes and tebibytes are not stored, so do not extend the pattern by typing an extra prefix the menu lacks. Bits are not a row either. This family counts bytes. A bit rate, even one that also uses a thousand-fold prefix, is a different dimension and a different page. Nothing is added before the multiply, so twice the byte count is twice the reading in whichever family you picked. The tool does not open a file, does not add filesystem overhead, and does not decide how a vendor rounded a label. It multiplies the number you typed by the factor on the row you named.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.