Table of contents
Megabytes to bytes Conversion
1 megabyte (MB) is equal to 1,000,000 bytes (B).
1 MB = 1,000,000 B
or
1 B = 0.000001 MB
Formula
To convert a digital storage from megabytes (MB) to bytes (B), multiply the digital storage in megabytes by 1,000,000
d(B) = d(MB) × 1,000,000
Examples:
Convert 5.1497 megabytes to bytes:
d(B) = 5.1497MB × 1,000,000 = 5,149,700 B
Conversion table
| Megabytes (MB) | Bytes (B) |
|---|---|
| 1 MB | 1,000,000 B |
| 2 MB | 2,000,000 B |
| 3 MB | 3,000,000 B |
| 3.3194 MB | 3,319,400 B |
| 5 MB | 5,000,000 B |
| 5.1497 MB | 5,149,700 B |
| 8 MB | 8,000,000 B |
| 10 MB | 10,000,000 B |
| 16 MB | 16,000,000 B |
| 32 MB | 32,000,000 B |
| 64 MB | 64,000,000 B |
| 128 MB | 128,000,000 B |
| 256 MB | 256,000,000 B |
| 512 MB | 512,000,000 B |
| 1,024 MB | 1,024,000,000 B |
| Bytes (B) | Megabytes (MB) |
|---|---|
| 1 B | 0.000001 MB |
| 2 B | 0.000002 MB |
| 3 B | 0.000003 MB |
| 3.3194 B | 0.0000033194 MB |
| 5 B | 0.000005 MB |
| 5.1497 B | 0.0000051497 MB |
| 8 B | 0.000008 MB |
| 10 B | 0.00001 MB |
| 16 B | 0.000016 MB |
| 32 B | 0.000032 MB |
| 64 B | 0.000064 MB |
| 128 B | 0.000128 MB |
| 256 B | 0.000256 MB |
| 512 B | 0.000512 MB |
| 1,024 B | 0.001024 MB |
Frequently asked questions
How do I convert megabytes to bytes?
Multiply the value in megabytes by 1,000,000 to get the result in bytes. For example, 5 MB × 1,000,000 = 5,000,000 B.
How many bytes are in 1 megabyte?
1 megabyte (MB) is equal to 1,000,000 bytes (B).
How do I convert bytes back to megabytes?
Use the inverse operation: divide the value in bytes by 1,000,000 to get the result in megabytes.
How accurate is the megabytes to bytes conversion?
The converter multiplies by the conversion factor 1,000,000 and rounds the result to 6 decimal places by default. You can increase or reduce the precision with the digits option on this page.
Sources
Conversion factors are based on internationally recognised standards:
- IEC 80000-13:2025 — Quantities and units — Part 13: Information science and technology (Edition 2, 2025-02)
- BIPM — The International System of Units (SI Brochure, 9th edition)
- Definitions of the SI units: The binary prefixes (NIST Reference on Constants, Units and Uncertainty)
- NIST Guide to the SI (NIST SP 811), Chapter 4: The Two Classes of SI Units and the SI Prefixes