Unit conversion

Data Storage Converter

Convert bits and bytes with separate decimal kB, MB, GB and binary KiB, MiB, GiB units.

Convert a value

Use a decimal point, not a comma. Scientific notation such as 1e3 is accepted.

Your values are processed in your browser and are not uploaded to ToolPixels. This tool does not save them.

Decimal and binary prefixes are not interchangeable

A byte contains 8 bits. Decimal units use powers of 1,000: 1 kB = 1,000 bytes. Binary units use powers of 1,024: 1 KiB = 1,024 bytes.

A lowercase b in common abbreviations means bits; uppercase B means bytes. This tool spells out bit labels to reduce ambiguity. It converts stated capacities, not usable disk space after formatting.

Example

1 GiB = 1,073.741824 MB.

Precision and input limits

Results use browser floating-point arithmetic and are rounded to your selected number of significant digits, not decimal places. Small or large results may use scientific notation. This is not an arbitrary-precision calculator.

Enter zero or a number with magnitude from 1e-100 to 1e100. Signed values are supported for mathematical conversions. Swap units exchanges the unit choices without changing your input. Editing an input clears the previous result.

NIST: binary prefixes