The megabyte
The megabyte (MB) equals 1,000,000 bytes (decimal) or 1,048,576 bytes (binary, formally 'mebibyte' MiB — a roughly 5% difference). Used for music files, photographs, and most everyday document sizes.
1 MB = 1000000 B (megabyte → byte)
1 MB = 1000000 B
1 megabyte equals 1000000 bytes. To convert megabytes to bytes, multiply the megabyte value by 1000000. For quick reference: 1 MB = 1000000 B, 5 MB = 5000000 B, 10 MB = 10000000 B, 100 MB = 100000000 B.
Bytes = Megabytes × 1000000Megabytes to bytes multiplies by 1 000 000. This is the unit a file's exact byte-length is expressed in once you need to do arithmetic a spreadsheet or script can check — checksums, byte-range HTTP requests, and buffer-size allocations in code all want a raw byte count, not the human-friendly 'MB' a file browser displays.
Database administrators convert this way when a monitoring tool reports table size in MB but a script needs an exact byte count for a byte-range export: a 340 MB table export is 340,000,000 bytes, the number that actually goes into a chunked HTTP range request or a checksum calculation. Human-readable MB figures round for display; anything doing arithmetic on the data — hashing, partitioning, streaming — needs the full byte value underneath.
Start with your value in megabytes.
Multiply the megabyte value by 1000000. This is the exact conversion factor from megabytes to bytes.
The product is your value in bytes. For example, 5 MB × 1000000 = 5000000 B.
The exact factor from megabytes to bytes is 1000000.
Bytes = Megabytes × 1000000
Fifty common reference values, hand-picked for skim utility. Use the calculator above for any value not listed.
| Megabytes (MB) | Bytes (B) |
|---|---|
| 1 MB | 1000000 B |
| 8 MB | 8000000 B |
| 16 MB | 16000000 B |
| 64 MB | 64000000 B |
| 100 MB | 100000000 B |
| 256 MB | 256000000 B |
| 500 MB | 500000000 B |
| 512 MB | 512000000 B |
| 1000 MB | 1000000000 B |
| 1024 MB | 1024000000 B |
| 2000 MB | 2000000000 B |
| 2048 MB | 2048000000 B |
| 4096 MB | 4096000000 B |
| 5000 MB | 5000000000 B |
| 8192 MB | 8192000000 B |
| 10000 MB | 10000000000 B |
| 16384 MB | 16384000000 B |
| 25000 MB | 25000000000 B |
| 32768 MB | 32768000000 B |
| 50000 MB | 50000000000 B |
| 65536 MB | 65536000000 B |
| 100000 MB | 100000000000 B |
| 131072 MB | 131072000000 B |
| 250000 MB | 250000000000 B |
| 500000 MB | 500000000000 B |
| 524288 MB | 524288000000 B |
| 1000000 MB | 1000000000000 B |
| 1048576 MB | 1048576000000 B |
| 2000000 MB | 2000000000000 B |
| 5000000 MB | 5000000000000 B |
| 10000000 MB | 10000000000000 B |
| 50000000 MB | 50000000000000 B |
| 100000000 MB | 100000000000000 B |
| 500000000 MB | 500000000000000 B |
| 1000000000 MB | 1.0000 × 10^15 B |
| 2000000000 MB | 2.0000 × 10^15 B |
| 5000000000 MB | 5.0000 × 10^15 B |
| 10000000000 MB | 1.0000 × 10^16 B |
| 50000000000 MB | 5.0000 × 10^16 B |
| 100000000000 MB | 1.0000 × 10^17 B |
| 500000000000 MB | 5.0000 × 10^17 B |
| 1000000000000 MB | 1.0000 × 10^18 B |
| 2000000000000 MB | 2.0000 × 10^18 B |
| 5000000000000 MB | 5.0000 × 10^18 B |
| 10000000000000 MB | 1.0000 × 10^19 B |
| 100000000000000 MB | 1.0000 × 10^20 B |
| 1000000000000000 MB | 1.0000 × 10^21 B |
| 10000000000000000 MB | 1.0000 × 10^22 B |
| 100000000000000000 MB | 1.0000 × 10^23 B |
| 1000000000000000000 MB | 1.0000 × 10^24 B |
A typical 3-minute MP3 is around 3–7 MB. A high-resolution JPEG photo is 2–8 MB. In bytes, that gives you: 1 MB = 1000000 B, 10 MB = 10000000 B, 100 MB = 100000000 B.
The megabyte (MB) equals 1,000,000 bytes (decimal) or 1,048,576 bytes (binary, formally 'mebibyte' MiB — a roughly 5% difference). Used for music files, photographs, and most everyday document sizes.
A byte is 8 bits — the smallest addressable unit on virtually every modern computer. ASCII text is one byte per character; UTF-8 ranges from 1 to 4 bytes per character.
Common values for megabytes → bytes with the exact answer already worked out.
We use Plausible for cookieless analytics. Accepting also lets Google Analytics set first-party cookies to count visits; advertising partners may set cookies once ads are enabled. You can read more in the privacy policy.