Convert bytes to megabytes

Byte (B) to megabyte (MB). One byte equals 0.000001 megabytes.

1 B =0.000001MB (megabytes)

Formula

megabytes = bytes ÷ 1000000

Byte to megabyte conversion table

BytesMegabytesMegabytesBytes
1 B0.000001 MB1 MB1000000 B
2 B0.000002 MB2 MB2000000 B
3 B0.000003 MB3 MB3000000 B
5 B0.000005 MB5 MB5000000 B
10 B0.00001 MB10 MB10000000 B
20 B0.00002 MB20 MB20000000 B
50 B0.00005 MB50 MB50000000 B
100 B0.0001 MB100 MB100000000 B
500 B0.0005 MB500 MB500000000 B
1000 B0.001 MB1000 MB1000000000 B

To convert bytes to megabytes, divide the number of bytes by 1000000. One byte equals 0.000001 megabytes, and one megabyte equals 1000000 bytes, so the relationship is fixed and exact. As a worked example, 10 B comes to 0.00001 MB. Enter your own figure in the converter above to get an instant answer, or use the swap button to flip the direction. This is a digital storage conversion, and like every tool on UnitGlide it runs locally in your browser with no account or upload required. The table further down shows a range of common byte values already worked out in megabytes, plus the reverse megabyte to byte direction, which is handy for quick reference or double-checking a result by hand.

Frequently asked questions

How many megabytes are in a byte?

One byte equals 0.000001 megabytes. The ratio is constant, so you can multiply any number of bytes by 0.000001 to get megabytes.

What is the formula to convert bytes to megabytes?

Use megabytes = bytes ÷ 1000000. UnitGlide applies this exact formula for every value, so results stay accurate across the whole range.

How do I convert megabytes back to bytes?

Go the other way by using one megabyte equals 1000000 bytes. You can also press the swap button in the converter above to flip the direction in one click.

Is this byte to megabyte converter accurate?

Yes. It uses internationally defined SI conversion factors, as maintained by the BIPM, and all math runs in your browser so nothing is rounded away on a server. For everyday use the displayed precision is more than enough.

Related conversions

Embed this converter or use the API

Put this converter on your own site, or call the free JSON API. Full documentation is on the developers page.

Embed (iframe)

<iframe src="https://unitglide.net/embed/byte-to-mb" width="360" height="200"
        style="border:1px solid #e2e6ec;border-radius:12px"
        title="Byte to Megabyte converter"></iframe>
<p><a href="https://unitglide.net/convert/byte-to-mb">Byte to Megabyte Converter</a> by UnitGlide</p>

API

https://unitglide.net/api/convert?from=byte&to=mb&value=1