Understand the number, not just the label

File Size Converter

Compare decimal and binary units. Conversion changes the unit—not the file.

Non-negative decimals, up to 6 decimal places. Maximum converted size: 10¹⁵ bytes. No commas or exponent notation.

Your input is calculated in this browser tab. It is not uploaded or saved by this tool.

Which units mean what?

Decimal units use powers of 1000: 1 MB is 1,000,000 bytes. Binary units use powers of 1024: 1 MiB is 1,048,576 bytes. The standard decimal kilobyte symbol is kB. Some software uses the label KB ambiguously; check its documentation.

Try an exact comparison

Enter 1 and choose MB: the B row is 1,000,000. Choose MiB with the same value: the B row is 1,048,576. Enter 1.5 MB: the B row is 1,500,000 and the MiB row is approximately 1.430511.

Precision and limits

Values use JavaScript's floating-point number arithmetic and locale-independent decimal formatting. Some fractions are approximate even within the accepted range; up to six input decimals does not promise six decimals of exact byte precision. Output is rounded to at most six decimal places, with no thousands separators. This is a practical comparison tool, not arbitrary-precision arithmetic.

B means bytes, not bits. This tool does not compress a file, change disk allocation, or estimate a guaranteed transfer time. For an upload limit, read the service's own unit definition and measure the final file.

Read KB, MB, GB, KiB, MiB, and GiB explained and how to check an actual file or folder size. Unit definitions follow NIST's binary-prefix reference.