Skip to content
DailyCalc

Convert MB to bytes

Convert MB to bytes instantly. 1 MB = 1,000,000 B. Decimal and binary units kept apart, a worked example and a reference table.

Last updated

MB
B

One megabyte equals 1,000,000 bytes. To convert any number of megabytes to bytes, multiply by 1,000,000.

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

byte = megabyte × 1,000,000

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

  1. IEC 80000-13:2008, Quantities and units — Part 13: Information science and technology — the decimal byte prefixes and the binary kibibyte series.

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.

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.