MB to bytes

Type any number of megabytes and see it in bytes straight away; the converter below starts with 5 MB.

What you type stays in your browser

5 MB = 5,000,000 B

1 MB = 1,000,000 B

5 MB in other units

Results show up to six significant figures; the calculation uses exact unit definitions.

In short

1 megabyte equals 1,000,000 bytes. To convert megabytes to bytes, multiply by 1,000,000: 5 MB × 1,000,000 = 5,000,000 B.

MB to bytes formula

The formula is bytes = megabytes × 1,000,000, so every megabyte adds 1,000,000 bytes to the result.

Written as a single factor, 1 MB = 1,000,000 B; the converter keeps the full precision of that factor and rounds only the final result.

Going back, 1 byte = 0.000001 megabytes, so multiply by 0.000001 to turn bytes into megabytes.

As a reference point, 100 megabytes make 100,000,000 B, while 100 bytes make 0.0001 MB.

Example: 5 MB to bytes

This is the conversion of 5 MB to bytes, worked through step by step.

  • Multiply by 1,000,000: 5 × 1,000,000 = 5,000,000.
  • Rounded for everyday use, 5 MB = 5,000,000 B.

MB to bytes conversion chart

megabytes bytes
1 MB 1,000,000 B
2 MB 2,000,000 B
3 MB 3,000,000 B
4 MB 4,000,000 B
5 MB 5,000,000 B
6 MB 6,000,000 B
7 MB 7,000,000 B
8 MB 8,000,000 B
9 MB 9,000,000 B
10 MB 10,000,000 B
12 MB 12,000,000 B
15 MB 15,000,000 B
20 MB 20,000,000 B
25 MB 25,000,000 B
30 MB 30,000,000 B
40 MB 40,000,000 B
50 MB 50,000,000 B
60 MB 60,000,000 B
75 MB 75,000,000 B
100 MB 100,000,000 B

Frequently asked questions

How many bytes are in a megabyte?

One megabyte is 1,000,000 B. Turned around, one byte is 0.000001 MB; the two factors multiply to exactly 1.

How many megabytes are in a byte?

One byte contains 0.000001 MB. To turn a number of bytes into megabytes, multiply by 0.000001; the calculation on this page simply runs it the other way.

How do I convert bytes to megabytes?

Reverse the rule: multiply by 0.000001. For example, 5,000,000 B is 5 MB.

What is 10 megabytes in bytes?

10 MB is exactly 10,000,000 B.

Is the MB to bytes conversion exact?

Yes. Both units have exact definitions, so the factor is exactly 1,000,000 and any difference you see comes only from rounding the result.

What are megabytes and bytes?

A megabyte is 1,000,000 bytes in decimal units. Photos, songs and email attachment limits are usually stated in MB.

A byte is 8 bits, enough to store one character of plain text. File sizes and memory are counted in bytes and their multiples.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

All data size conversions

Unit converter All unit converters

Last updated Nov 20, 2026