Convertly

Data Storage → MB to B

Megabytes to Bytes

Convert MB to B — live, free, no sign-up.

=
—
Multiply the megabytes value by 1,048,576 to get bytes. (1 MB = 1,048,576 B)
Advertisement

Data-storage converters translate between bytes, kilobytes, megabytes, gigabytes and terabytes. Byte-based units here use the binary (1024) convention that operating systems report, while bit-based units use the decimal (1000) convention used for network speeds.

To convert megabytes to bytes, multiply by 1,048,576, because 1 MB = 1,048,576 B. Going the other way, 1 B = 9.5367e-7 MB.

For example, 5 MB is 5,242,880 B, and 20 MB is 20,971,520 B. The calculator above updates as you type — it runs entirely in your browser, so it is instant, private and works offline.

Megabytes → Bytes conversion table

MegabytesBytes
1 MB1,048,576 B
2 MB2,097,152 B
5 MB5,242,880 B
10 MB10,485,760 B
25 MB26,214,400 B
50 MB52,428,800 B
100 MB104,857,600 B
1000 MB1.0486e+9 B

Frequently asked questions

How many bytes are in a megabyte?
1 MB = 1,048,576 B.
How do I convert megabytes to bytes?
Multiply the megabytes value by 1,048,576.
How do I convert bytes back to megabytes?
Multiply the bytes value by 9.5367e-7 (1 B = 9.5367e-7 MB).

Related data storage conversions

MB → BMB → KBMB → GBMB → TBMB → bitMB → Mbit