Home › Unit Conversion › Megabytes to Bytes
Megabytes to Bytes (MB to B)
Convert megabytes to bytes: 1 MB = 1000000 B. Exact conversion factor, formula, 18-row table and worked examples, with JSON API and MCP access.
Formula
1 MB = 1000000 B
bytes = megabytes × 1000000 — reverse: megabytes = bytes × 0.000001
The factor is derived from the SI definitions of both units (base unit: B) as listed in NIST SP 811; results on this page are shown to 6 significant figures, the API returns up to 12.
Worked examples
- 1.5 MB = 1500000 B
- 700 MB = 700000000 B
- 2048 MB = 2048000000 B
Megabytes to bytes conversion table
| Megabytes (MB) | Bytes (B) |
|---|---|
| 1 | 1000000 |
| 2 | 2000000 |
| 4 | 4000000 |
| 8 | 8000000 |
| 16 | 16000000 |
| 32 | 32000000 |
| 64 | 64000000 |
| 100 | 100000000 |
| 128 | 128000000 |
| 256 | 256000000 |
| 500 | 500000000 |
| 512 | 512000000 |
| 1000 | 1000000000 |
| 1024 | 1024000000 |
| 2048 | 2048000000 |
| 4096 | 4096000000 |
| 8192 | 8192000000 |
| 10000 | 10000000000 |
FAQ
How many bytes are in one megabyte?
1 MB = 1000000 B. The factor comes from the SI definitions of both units (NIST SP 811 / BIPM), so it is exact or correct to at least 10 significant figures.
What is the formula to convert megabytes to bytes?
Multiply the value in megabytes by 1000000: bytes = megabytes × 1000000. For example, 1.5 MB = 1500000 B.
How do I convert bytes back to megabytes?
Multiply by the inverse factor 0.000001 (megabytes = bytes × 0.000001), or use the bytes-to-megabytes page.
Related conversions
Machine access
- API:
GET https://tttkmbb.com/api/v1/convert?value=1.5&from_unit=MB&to_unit=B - MCP: server
https://tttkmbb.com/mcp, toolconvert_unitswith{"value":1.5,"from_unit":"MB","to_unit":"B"} - Markdown: https://tttkmbb.com/conversion/mb-to-bytes.md · JSON: https://tttkmbb.com/conversion/mb-to-bytes.json (add
?value=for a result) · Units: /api/v1/units?quantity=data-storage - OpenAPI operationId:
convert_units. Freshness:static. Authentication: none.