Skip to converter

Convert bytes to megabytes

One byte (B) equals 0.000001 megabytes (MB), so divide bytes by 1000000 to get megabytes.

How it's calculated

  1. 1 B ÷ 1000000 = 0.000001 MB

Decimal or binary?

Decimal (SI)

Powers of 1,000

  • 0.000001 MB

1 MB = 1,000 KB

How drive makers, carriers, macOS and iOS count.

Binary (IEC 80000-13)

Powers of 1,024

  • 9.537e-7 MiB

1 MiB = 1,024 KiB

What Windows counts in, while still printing KB, MB and GB.

1 MiB is 4.86% larger than 1 MB, so the same 1 byte read 4.63% lower in MiB than in MB.

Binary prefixes: IEC 80000-13, as set out by NIST, Prefixes for binary multiples.

Pairs you use or save show up here. They stay on this device.
Convert a list

Paste a column of numbers, one per line (tabs and semicolons also separate values). Each line keeps its place, so the results paste straight back next to your data.

Up to 1,000 values. Commas inside a number (2,54 or 1,000) are read as part of it.

How do you convert bytes to megabytes?

megabytes = bytes ÷ 1000000

Last reviewed . Source: IEC 80000-13, Quantities and units: Information science and technology. How we convert

Byte to megabyte conversion table

Bytes to megabytes

BytesMegabytes
1 B0.000001 MB
2 B0.000002 MB
3 B0.000003 MB
5 B0.000005 MB
10 B0.00001 MB
20 B0.00002 MB
50 B0.00005 MB
100 B0.0001 MB
500 B0.0005 MB
1000 B0.001 MB

Reverse: megabytes to bytes

MegabytesBytes
1 MB1000000 B
2 MB2000000 B
3 MB3000000 B
5 MB5000000 B
10 MB10000000 B
20 MB20000000 B
50 MB50000000 B
100 MB100000000 B
500 MB500000000 B
1000 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 bytes are in a megabyte?

1 megabyte equals 1000000 bytes. The ratio is constant, so this figure holds for any quantity. Divide a number of bytes by 1000000 to get megabytes.

How many megabytes are in a byte?

1 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?

1000000 is the number to divide by: 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?

1 megabyte equals 1000000 bytes, so multiply by that to go the other way. 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?

10 B = 0.00001 MB here, worked out from internationally defined SI conversion factors, as maintained by the BIPM. All math runs in your browser, so nothing is rounded away on a server, and 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 (static JSON with every factor)

https://unitglide.net/api/v1/factors