Convert MB to bytes
Convert MB to bytes instantly. 1 MB = 1,000,000 B. Formula, worked examples and a quick reference table.
Last updated
One megabyte equals 1,000,000 bytes. To convert any number of megabytes to bytes, multiply by 1,000,000.
The converter above works in both directions and updates as you type. Below you will find the formula, a worked example and a reference table of common values.
Data conversions carry two ambiguities at once. Bits and bytes differ by a factor of eight, and network speeds are quoted in bits while file sizes are quoted in bytes — so a connection and a download will always report numbers that look inconsistent. On top of that, the same prefix means 1,000 to a drive manufacturer and 1,024 to an operating system, which is why advertised capacity and reported capacity never match. Neither is an error; they are different conventions wearing the same name.
MB to bytes formula
To go the other way, use megabyte = byte ÷ 1,000,000.
About these units
A megabyte is 10⁶ bytes decimal or 2²⁰ binary. The gap is about 5%, which is why file sizes and download counters rarely agree exactly.
A byte is eight bits, historically the space needed for one character of text. Storage is measured in bytes; network speeds in bits.
Megabyte is also written megabytes, mbs, megs and meg. Byte is also written bytes.
Sources
MB to bytes conversion table
| Megabyte | Byte |
|---|---|
| 1 MB | 1,000,000 B |
| 2 MB | 2,000,000 B |
| 4 MB | 4,000,000 B |
| 8 MB | 8,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 |
Frequently asked questions
How many bytes are in a megabyte? +
There are 1,000,000 bytes in one megabyte.
What is 10 MB in B? +
10 MB equals 10,000,000 B. Multiply 10 by 1,000,000.
How do I convert byte back to megabyte? +
Use megabyte = byte ÷ 1,000,000. The converter above handles both directions, or see our dedicated bytes to MB page.
How accurate is this megabyte to byte conversion? +
The factor used is 1,000,000, carried at full double precision. Where a unit has an exact legal definition the factor is exact rather than approximate. Rounding is applied only to the displayed result, so the answer is never a calculation done on an already-rounded number.
Is there a quick way to estimate MB to B in my head? +
The factor is exactly 1,000,000, which is short enough to apply directly without an approximation.