Convert megabytes to bytes instantly — type any value and the result appears as you type. Below you will find the exact formula, a MB to B conversion table, a worked example and the traps to avoid with this pair.
Formula: Bytes = Megabytes × 1000000.
Decimal units (KB, MB, GB, TB) follow the SI definition used by storage manufacturers and macOS: 1 KB = 1,000 bytes. Binary units (KiB, MiB) follow IEC 80000-13: 1 KiB = 1,024 bytes — the gap is why a '500 GB' drive shows about 465 GiB in Windows.
Question: How many bytes is 5 MB — an MP3 song?
Steps: Take the value in megabytes: 5 MB. Apply the formula above. That gives 5000000 B.
Result: 5 MB = 5000000 B.
| Megabytes (MB) | Bytes (B) |
| 1 MB | 1000000 B |
| 2 MB | 2000000 B |
| 3 MB | 3000000 B |
| 5 MB | 5000000 B |
| 10 MB | 10000000 B |
| 20 MB | 20000000 B |
| 50 MB | 50000000 B |
| 100 MB | 100000000 B |
| 500 MB | 500000000 B |
| 1000 MB | 1000000000 B |
Need a value that is not in the table — or the reverse direction? Use the converter at the top of this page, the Byte to Megabyte converter, or the Data Storage converter hub for every data storage pair.
Byte: One byte holds roughly one character of plain text; a short email is about 2,000 bytes.
Megabyte: A three-minute MP3 song is about 3–5 MB; phone photos are typically 2–8 MB.
Conversion factors checked against NIST SP 811 and the BIPM SI Brochure on 9 November 2026.
Multiply the value in megabytes by 1000000: MB × 1000000 = B. For example, 5 MB × 1000000 = 5000000 B. The converter above does this instantly.
Exactly 1000000 B (shown to eight significant figures). The full relationship: 1 MB = 1000000 B, and 1 B = 0.000001 MB.
5 MB = 5000000 B — that is an MP3 song, a handy reference for this pair.
Divide by 1000000 — or use the Byte to Megabyte converter, which does it instantly.
One byte holds roughly one character of plain text; a short email is about 2,000 bytes. A three-minute MP3 song is about 3–5 MB; phone photos are typically 2–8 MB.
All data storage pairs in one place
Data Storage conversion
Data Storage conversion
Data Storage conversion
Data Storage conversion
Data Storage conversion
Data Storage conversion
Data Storage conversion
Cm to Inches Converter · Inches to Cm Converter · Mm to Inches Converter · Metres to Feet Converter · Feet to Metres Converter · Km to Miles Converter · Miles to Km Converter · Yards to Metres Converter · Kg to Pounds Converter · Pounds to Kg Converter · Grams to Ounces Converter · Ounces to Grams Converter · Pounds to Ounces Converter · Stone to Kg Converter · Celsius to Fahrenheit Converter · Fahrenheit to Celsius Converter · Litres to Gallons Converter · Gallons to Litres Converter · Millilitres to Fluid Ounces Converter · Fluid Ounces to Millilitres Converter · Km/h to Mph Converter · Mph to Km/h Converter · Square Metres to Square Feet Converter · Square Feet to Square Metres Converter
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.