ConvertEasy
Offline

Data storage converter

Megabytes to Bytes (MB to B)

Type in either box: it converts both ways, accepts sums like 12*3, and shows every other file size unit too.

1 MB = 1,000,000 B in decimal (SI) units, or 1,048,576 B in binary units, the way Windows and RAM count. Use the Decimal / Binary switch below to pick.

How to convert megabytes to bytes

To convert megabytes (MB) to bytes (B), divide the value in megabytes by 0.000001.

B = MB ÷ 0.000001 (decimal)
B = MB × 1,048,576 (binary)

Example: 5 MB = 5,000,000 B, or 5,242,880 B in binary.

Decimal (SI) counting steps by 1,000 and is what drive makers, macOS and phones use. Binary counting steps by 1,024 and is what Windows and RAM use; its unambiguous IEC names are KiB, MiB and GiB. Bits are decimal either way.

You can also type 5 MB to B into the smart calculator, or mix units: 1 MB + 1 B.

Megabytes to Bytes conversion table

Megabytes to Bytes
MegabytesBytes (decimal)Bytes (binary)
0.01 MB10,000 B10,485.76 B
0.1 MB100,000 B104,857.6 B
0.25 MB250,000 B262,144 B
0.5 MB500,000 B524,288 B
1 MB1,000,000 B1,048,576 B
2 MB2,000,000 B2,097,152 B
3 MB3,000,000 B3,145,728 B
4 MB4,000,000 B4,194,304 B
5 MB5,000,000 B5,242,880 B
6 MB6,000,000 B6,291,456 B
7 MB7,000,000 B7,340,032 B
8 MB8,000,000 B8,388,608 B
9 MB9,000,000 B9,437,184 B
10 MB10,000,000 B10,485,760 B
12 MB12,000,000 B12,582,912 B
15 MB15,000,000 B15,728,640 B
20 MB20,000,000 B20,971,520 B
25 MB25,000,000 B26,214,400 B
30 MB30,000,000 B31,457,280 B
40 MB40,000,000 B41,943,040 B
50 MB50,000,000 B52,428,800 B
60 MB60,000,000 B62,914,560 B
75 MB75,000,000 B78,643,200 B
100 MB100,000,000 B104,857,600 B
250 MB250,000,000 B262,144,000 B
500 MB500,000,000 B524,288,000 B
1,000 MB1,000,000,000 B1,048,576,000 B

Converting bytes back to megabytes

1 B = 0.000001 MB. See the Bytes to Megabytes converter, or press the swap button above.

About the units

Megabyte (MB)

In decimal mode 1,000,000 bytes (1,000 KB); in binary mode 1,048,576 bytes (1,024 KB).

Byte (B)

Eight bits.

Digital storage is counted in bits and bytes (1 byte = 8 bits). There are two ways to count bytes. Decimal (SI) prefixes step by 1,000: 1 KB = 1,000 B and 1 GB = 1,000 MB, which is how drive makers, macOS, iOS and Android report sizes. Binary prefixes step by 1,024: 1 KB = 1,024 B and 1 GB = 1,024 MB, which is how Windows and RAM count (the IEC names for these are KiB, MiB and GiB). Bits are always decimal: 1 Kb = 1,000 b.

Questions and answers

How many bytes are in a megabyte?

One megabyte (MB) equals 1,000,000 bytes in decimal (SI) counting, or 1,048,576 bytes in binary counting (1 KB = 1,024 B), which Windows uses.

How do I convert megabytes to bytes?

To convert megabytes to bytes, divide the value in megabytes by 0.000001. The formula is B = MB ÷ 0.000001. For example, 5 MB = 5,000,000 B.

What is 5 MB in B?

5 megabytes is 5,000,000 bytes.

Which is bigger, a megabyte or a byte?

A megabyte is bigger: 1 MB = 1,000,000 B.

Is 1 GB equal to 1,000 MB or 1,024 MB?

Both are in use. In decimal (SI) counting, which drive makers, macOS, iOS and Android use, 1 GB = 1,000 MB. In binary counting, which Windows and RAM use, 1 GB = 1,024 MB; the unambiguous IEC name for that size is the gibibyte (GiB). ConvertEasy has a Decimal / Binary switch so KB, MB, GB and TB follow whichever you need, while KiB, MiB and GiB are always binary.

Are kilobits 1,000 or 1,024 bits?

ConvertEasy treats bits as decimal in both modes: 1 Kb = 1,000 b, 1 Mb = 1,000 Kb. A byte is always 8 bits, so only byte units (KB, MB, GB…) change with the switch.

Does this MB to B converter work offline?

Yes. ConvertEasy is a progressive web app: after your first visit it keeps working with no connection, and you can install it to your home screen from the browser menu.