mAIbmAIbTools

Megabytes to Bytes

Type a value in either box to convert between megabytes and bytes. The factor is 1e+06.

Megabytes
Bytes
1 MB = 1000000 B · multiply by 1000000
MegabytesBytes
1 MB1000000 B
2 MB2000000 B
3 MB3000000 B
5 MB5000000 B
10 MB10000000 B
25 MB25000000 B
50 MB50000000 B
100 MB100000000 B

How to use

  1. Enter a value in the Megabytes field.
  2. The Bytes figure appears immediately — no button to press.
  3. Typing in the Bytes field converts back to Megabytes the same way.
  4. Use the reference table for the values that come up most often.

Megabytes to Bytes formula

To convert megabytes to bytes, multiply by 1000000.

B = MB × 1000000

Why this factor: the megabyte and the byte are both defined against the byte, so dividing one definition by the other gives 1000000 directly. Both definitions are set out in full below.

To go the other way, divide by 1000000 — or use the Bytes to Megabytes converter, which is the same calculation reversed.

Worked example

Given 4 MB, multiplying by 1000000 yields 4000000 B.

4 MB × 1000000 = 4000000 B

The converter above does this for any value you type, in either direction.

What is a megabyte?

A megabyte is one million bytes, the familiar unit for photos, songs and app sizes.

Definition: Exactly 1,000,000 bytes under SI prefixes. The binary mebibyte (MiB) is 1,048,576 bytes.

Where it is used: Photo and audio file sizes, app downloads, and mobile data allowances.

What is a byte?

A byte is eight bits — historically the space for one text character, and the standard unit of file size.

Definition: Exactly 8 bits.

Where it is used: File and storage sizes, memory capacity, and data quotas.

Megabytes vs Bytes

The megabyte and the byte belong to the same family of units, so converting between them is usually a matter of shifting a decimal point or applying a small whole-number factor.

Frequently asked questions

How many bytes are in a megabyte?

One megabyte equals 1000000 bytes.

What is the formula to convert megabytes to bytes?

Multiply the number of megabytes by 1000000. To reverse it, divide by 1000000 instead.

How do I convert bytes back to megabytes?

Divide by 1000000, which is the same as multiplying by 1e-06.

How many bytes are in 10 megabytes?

10 MB works out to 10000000 B.

How is the megabyte defined?

Exactly 1,000,000 bytes under SI prefixes. The binary mebibyte (MiB) is 1,048,576 bytes.