Skip to the calculator
Rule Calculator

Convert Megabytes to Bytes

1 megabyte is 1,000,000 B. One megabyte is exactly 1000000 bytes.

One megabyte is 1000000 bytes. To convert megabytes to bytes, multiply by 1000000; to go the other way, divide by 1000000 or multiply by 1.0000 × 10^-6. The factor is exact rather than rounded: it follows from IEC 80000-13. Exactly one million bytes.

Factor checked against the defining standard · How we check

Bytes
1,000,000 B
Megabytes × 1000000
value * 10000001,000,000 B

1 megabyte in every data unit

UnitValueExact factor
bytes1,000,000 B× 1,000,000
kilobytes1,000 kB× 1,000
megabytes (as entered)1 MB
gigabytes0.001 GB× 0.001
terabytes0.000001 TB× 0.000001
kibibytes976.5625 KiB× 976.5625
mebibytes0.9536743164 MiB× 0.953674316406
gibibytes0.0009313225746 GiB× 0.000931322574615

Factors are entered by hand from IEC 80000-13 rather than derived from a units library, so the ones that terminate are exact rather than rounded.

How do you convert megabytes to bytes?

  1. 1.Take the measurement in megabytes.
  2. 2.Multiply by 1000000 — that is how many bytes fit in one megabyte.
  3. 3.To go back the other way, divide by 1000000, or multiply by 1.0000 × 10^-6.

Megabytes to bytes conversion table

MegabytesBytes
1 MB1,000,000 B
2 MB2,000,000 B
3 MB3,000,000 B
4 MB4,000,000 B
5 MB5,000,000 B
6 MB6,000,000 B
7 MB7,000,000 B
8 MB8,000,000 B
9 MB9,000,000 B
10 MB10,000,000 B
12 MB12,000,000 B
15 MB15,000,000 B
20 MB20,000,000 B
25 MB25,000,000 B
50 MB50,000,000 B
100 MB100,000,000 B

What are megabytes and bytes?

Megabyte (MB)
Exactly one million bytes. A file manager showing a smaller number for the same file is counting in mebibytes.
Byte (B)
Eight bits. The smallest unit storage is actually sold and addressed in.

Source: IEC 80000-13 — binary prefixes for information quantities

Questions people actually ask

How many bytes are in a megabyte?
1000000. Eight bits. The smallest unit storage is actually sold and addressed in.
How do I convert bytes back to megabytes?
Divide by 1000000, or multiply by 1.0000 × 10^-6 — they are the same operation.

Other data conversions

Bytes to megabytes — the same conversion the other way.