Byte to Megabyte converter

Type a value in bytes and read it in megabytes. The factor is 1e-06 MB per B.

— MB

Conversion table

字节(B)兆字节(MB)
1 MB1e-06 MB
2 MB2e-06 MB
3 MB3e-06 MB
5 MB5e-06 MB
10 MB1e-05 MB
20 MB2e-05 MB
50 MB5e-05 MB
100 MB0.0001 MB
200 MB0.0002 MB
500 MB0.0005 MB
1,000 MB0.001 MB
2,000 MB0.002 MB
5,000 MB0.005 MB
10,000 MB0.01 MB

How the conversion works

One byte equals 1e-06 megabytes. Multiply the value in bytes by that factor to get megabytes; divide to go the other way. The table above is generated from the same factor, so a value you calculate by hand will match the table.

Both units belong to the same family, so the ratio is constant: there is no offset to add. That is why converting 2 bytes is exactly twice the result for 1 byte, and why rounding only ever affects the displayed digits, never the underlying comparison.

Questions people ask

How many megabytes are in 1 byte? 1 byte = 1e-06 MB. Is the result rounded? It is displayed with up to 6 significant digits. The conversion itself is done in floating point, so small inputs stay accurate. Can I convert a value not in the table? Yes. The input box at the top accepts any number, including decimals and negatives; the table only covers the values people ask about most often.

Related conversions: B → KB · B → MB · B → GB · B → TB · B → MB · KB → MB · GB → MB · TB → MB

Free, no login, no upload. Everything runs in your browser.