Everyday Calculators

Data size converter

Convert bits and bytes using decimal and binary prefixes.

JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.

How to use it

Enter a nonnegative value and choose a bit or byte source and target unit.

Example

1 KiB equals 1024 B and 8192 bits.

Frequently asked question

Is a megabyte the same as a mebibyte?

No. 1 MB is 1000000 bytes and 1 MiB is 1048576 bytes.

Limits and privacy

Decimal kilo is 1000; binary kibi is 1024. Outputs use JavaScript number precision, so very large values may round; magnitudes are limited to 1e15.

Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.