Skip to content

Reference

MB to Bytes Converter

All tools

Megabytes to bytes, both ways: multiply by 1,000,000 or by 1,048,576.

Runs in your browser. Nothing you type is uploaded.

Quick answer

1 MB = 1,000,000 bytes (decimal, SI) and 1 MiB = 1,048,576 bytes (binary). To convert MB to bytes, multiply by 1,000,000. To convert MiB to bytes, multiply by 1,048,576. Example: 5 MB = 5,000,000 bytes, while 5 MiB = 5,242,880 bytes.

Decimal · MB × 1,000,000

5,000,000 bytes

Binary · MiB × 1,048,576

5,242,880 bytes

5 × 1,000,000 = 5,000,000 bytes. 5 × 1,048,576 = 5,242,880 bytes.

How to convert MB to bytes

Bytes = MB × 1,000,000. Bytes = MiB × 1,048,576 (2^20). Pick the factor that matches the unit on your screen. Storage vendors, networks and macOS mean the decimal megabyte. Windows and RAM sizes usually mean the binary one while still printing MB. To go from bytes back to megabytes, use the byte to MB converter.

  • 1 MB is 1,000,000 bytes decimal.
  • 1 MiB is 1,048,576 bytes, which is 4.8576% more.
  • A 3 MB photo is 3,000,000 bytes if the MB is decimal and 3,145,728 bytes if it is binary.
  • Fast estimate: move the decimal point six places right for decimal megabytes.

MB to bytes conversion table

MegabytesBytes if MB (× 1,000,000)Bytes if MiB (× 1,048,576)
0.5500,000 bytes524,288 bytes
11,000,000 bytes1,048,576 bytes
22,000,000 bytes2,097,152 bytes
33,000,000 bytes3,145,728 bytes
44,000,000 bytes4,194,304 bytes
55,000,000 bytes5,242,880 bytes
88,000,000 bytes8,388,608 bytes
1010,000,000 bytes10,485,760 bytes
1616,000,000 bytes16,777,216 bytes
2020,000,000 bytes20,971,520 bytes
2525,000,000 bytes26,214,400 bytes
5050,000,000 bytes52,428,800 bytes
6464,000,000 bytes67,108,864 bytes
100100,000,000 bytes104,857,600 bytes
128128,000,000 bytes134,217,728 bytes
250250,000,000 bytes262,144,000 bytes
256256,000,000 bytes268,435,456 bytes
500500,000,000 bytes524,288,000 bytes
1,0001,000,000,000 bytes1,048,576,000 bytes

Values marked ≈ are rounded to six decimal places. Unmarked values are exact.

Bytes to MB

BytesMB (÷ 1,000,000)MiB (÷ 1,048,576)
1,0000.001 MB≈ 0.000954 MiB
100,0000.1 MB≈ 0.095367 MiB
1,000,0001 MB≈ 0.953674 MiB
1,048,5761.048576 MB1 MiB
5,000,0005 MB≈ 4.768372 MiB
10,485,76010.48576 MB10 MiB
100,000,000100 MB≈ 95.367432 MiB
1,073,741,8241,073.741824 MB1,024 MiB

Why there are two answers

The SI prefix mega means 10^6. The IEC prefix mebi means 2^20. Both are real units and both appear in everyday software. When a file dialog and a drive label disagree, write the byte count down first, then convert from that. The KB to MB converter shows the same split one prefix lower.

Frequently asked questions

How many bytes are in 1 MB?

1 MB is 1,000,000 bytes in decimal (SI) units. 1 MiB, the binary unit, is 1,048,576 bytes (2^20).

How do I convert MB to bytes?

Multiply the megabytes by 1,000,000 for decimal MB, or by 1,048,576 for binary MiB. 5 MB = 5,000,000 bytes and 5 MiB = 5,242,880 bytes.

Is 1 MB 1,000,000 or 1,048,576 bytes?

By the SI and IEC standards, 1 MB = 1,000,000 bytes and 1 MiB = 1,048,576 bytes. Drive makers, networks and macOS use the decimal megabyte. Windows and RAM sizes use the binary unit but often still print MB.

How many bytes is 10 MB?

10 MB = 10,000,000 bytes. 10 MiB = 10,485,760 bytes.

How many bytes is 1 GB?

1 GB = 1,000,000,000 bytes. 1 GiB = 1,073,741,824 bytes (2^30).

How many bits are in a megabyte?

1 MB = 8,000,000 bits, which is 8 megabits (Mb). 1 MiB = 8,388,608 bits.

What is the difference between MB and MiB?

A megabyte (MB) is 10^6 = 1,000,000 bytes. A mebibyte (MiB) is 2^20 = 1,048,576 bytes. 1 MiB is 4.8576% larger than 1 MB.

Does this converter upload my numbers?

No. The conversion runs in your browser with exact integer arithmetic, so nothing you type leaves the page.

Is 1024 bytes equal to 1 MB?

No. 1,024 bytes is 1 KiB, about 0.001024 MB. 1 MB is 1,000,000 bytes and 1 MiB is 1,048,576 bytes.

Related tools