Convert MB to bytes
Megabytes to bytes. Enter a value to convert, or use the MB to bytes chart further down the page.
1 megabyte equals 1,048,576 bytes. Going the other way, 1 byte = 0.0000009536743164 megabytes.
Note. This converter uses the binary convention: 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB. That is what Windows, macOS and Linux report. Storage manufacturers instead use decimal SI units where 1 GB = 1,000,000,000 bytes, which is why a “1 TB” drive shows up as about 931 GB.
How to convert MB to bytes
To convert megabytes to bytes, multiply the megabyte value by 1048576. You can also divide by 0.0000009536743164 to get the same answer.
B = MB × 1048576
Worked example
Convert 8 MB to bytes:
8 MB = 8,388,608 B
MB to bytes conversion chart
Use this MB to bytes table for quick reference without typing anything.
| megabytes (MB) | bytes (B) |
|---|---|
| 1 MB | 1,048,576 B |
| 2 MB | 2,097,152 B |
| 4 MB | 4,194,304 B |
| 8 MB | 8,388,608 B |
| 16 MB | 16,777,216 B |
| 32 MB | 33,554,432 B |
| 64 MB | 67,108,864 B |
| 128 MB | 134,217,728 B |
| 256 MB | 268,435,456 B |
| 512 MB | 536,870,912 B |
| 1,024 MB | 1,073,741,824 B |
What is a megabyte?
A megabyte is 1,024 kilobytes, or 1,048,576 bytes, under the binary convention.
What is a byte?
A byte is 8 bits, historically the space needed to store a single text character.
Frequently asked questions
How many bytes are in a megabyte?
1 MB equals 1,048,576 bytes. Going the other way, 1 bytes is 0.0000009536743164 MB.
How do you convert MB to bytes?
To convert megabytes to bytes, multiply the megabyte value by 1048576. You can also divide by 0.0000009536743164 to get the same answer.
What is 10 MB in bytes?
10 MB equals 10,485,760 bytes. The conversion chart on this page lists the other values people look up most often.
Related data storage conversions
Convert MB to other units
Convert other units to bytes
Popular conversions
cm to inchesinches to cmkg to lbslbs to kgCelsius to FahrenheitFahrenheit to Celsiusmm to inchesinches to mmkm to milesmiles to kmmeters to feetfeet to meterscm to feetfeet to inchesinches to feetml to fl ozfl oz to mlliters to gallonsgallons to literscups to ml