Bytes to MB
Converts bytes to megabytes using both 1000 and 1024 and shows both answers exactly.
A megabyte holds one million bytes by the decimal rule and 1,048,576 by the binary one: that is 1024 multiplied by 1024. So you divide bytes by one of these two numbers.
A photo of 4,500,000 bytes is 4.5 MB in a listing and 4.29 MB in Windows Explorer. The gap builds toward almost 5%: on large files it is already noticeable.
Formula
By 1000: MB = bytes รท 1,000,000. By 1024: MB = bytes รท 1,048,576.
Ready values
| Bytes | By 1000 | By 1024 |
|---|---|---|
| 1,000 | 0.001 MB | โ 0.000953674 MiB |
| 65,536 | 0.065536 MB | 0.0625 MiB |
| 500,000 | 0.5 MB | โ 0.476837 MiB |
| 1,000,000 | 1 MB | โ 0.953674 MiB |
| 1,048,576 | โ 1.04858 MB | 1 MiB |
| 4,500,000 | 4.5 MB | โ 4.29153 MiB |
| 10,000,000 | 10 MB | โ 9.53674 MiB |
| 104,857,600 | โ 104.858 MB | 100 MiB |
Rate this tool
Help us get better
Tell us what was missing.
Other tools
JSON Formatter
Format and repair JSON in the browser, flagging duplicate keys and long numbers
Regex Tester
Regex testing with a plain-language breakdown and hang protection
JWT Decoder
JWT parsing with fields explained and signature verification
CSV to JSON
A table to JSON with honest types and a reverse check
JSON to CSV
JSON to a table for Excel, with verification and formula protection
SQL Formatter
A readable query layout, verified against the source, with risky spots flagged
XML Formatter
Readable XML, errors explained with a hint, verified against the source
XML Validator
Markup, XSD schema, sitemap, YML and RSS rules, with the path to each error