Convert MB to B

MB
1000000B

1 MB = 1000000 B

Type a value in megabytes and the answer in bytes appears as you go. The conversion is exactly 1000000 B to the megabyte, and it happens on your own machine — this page asks nothing of a server once it has loaded.

  • Where it runs

    In your browser. The number you type is never part of a request.

  • Exact by definition

    1 MB is exactly 1000000 B — a definition, not a rounded factor.

  • Answers as you type

    No button, no wait. The worked answer is already on the page before any script runs.

Megabyte and Byte

A megabyte is a million bytes. Storage manufacturers have always used this decimal meaning, which is why their capacities look larger than what a computer reports.

A byte is eight bits, though that was not always fixed — early machines used six, seven or nine. The eight-bit byte won because it holds one character of text and divides neatly in half.

megabytes to bytes in practice

  • 5 MB is 5000000 B

    — a song at a good bitrate.

  • 4000 MB is 4000000000 B

    — a film at ordinary quality.

megabytes to bytes at a glance

MBB
11000000
22000000
55000000
1010000000
5050000000
100100000000
500500000000
10001000000000

Every figure here is computed from the same definition the calculator uses, so the table cannot drift away from the answer above it.

Convert MB to B: common questions

How many bytes are in a megabyte?

Exactly 1000000. One megabyte is 1000000 bytes, and the box above will do it for any figure you type.

Is this conversion exact, or rounded?

The ratio is exact. It is not a rounded constant typed into a table: it is derived from the definitions of the two units, so it agrees with any other correct converter to as many digits as you care to compare.

Why does another converter show a slightly different number?

Almost always rounding rather than disagreement. Many converters cut the answer to two or four decimals, and some carry a factor that was rounded before the multiplication rather than after. The figures here are computed from the exact definitions and only rounded on the way to the screen.

Where these figures come from

The claims this page makes about data units are checkable, and these are the documents that settle them.

How this page works

The factor is a constant in the page and the arithmetic is four operations, so nothing is sent anywhere and nothing needs to be. The number you type never leaves the browser — there is no request for it to travel in.

All data and other calculators