# 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.

- Page id: `mb-to-bytes` · Quantity: Data storage (`data-storage`, base unit B) · Tool: `convert_units`
- Canonical page: https://tttkmbb.com/conversion/mb-to-bytes · This document: https://tttkmbb.com/conversion/mb-to-bytes.md · JSON: https://tttkmbb.com/conversion/mb-to-bytes.json (add `?value=` for a result)

## Formula

- `1 MB = 1000000 B`
- `bytes = megabytes × 1000000`
- Reverse: `megabytes = bytes × 0.000001`

The factor follows from the SI definitions of both units (NIST SP 811); values below are rounded 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

## 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 |

## API

- `GET https://tttkmbb.com/api/v1/convert?value=1.5&from_unit=MB&to_unit=B` → unified JSON envelope with `result.values.result`, `formula`, `factor`, `sources`, `freshness`
- MCP: server `https://tttkmbb.com/mcp`, tool `convert_units` with `{"value":1.5,"from_unit":"MB","to_unit":"B"}`
- All data storage units: https://tttkmbb.com/api/v1/units?quantity=data-storage · full converter: [Data Storage Converter](https://tttkmbb.com/conversion/data-storage.md)
- Authentication: none. Freshness: `static` (fixed conversion factors).

## 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

- [Bytes to megabytes](https://tttkmbb.com/conversion/bytes-to-mb.md) (reverse)
- [Megabytes to Gigabytes](https://tttkmbb.com/conversion/mb-to-gb.md)
- [Gigabytes to Megabytes](https://tttkmbb.com/conversion/gb-to-mb.md)
- [Gigabytes to Terabytes](https://tttkmbb.com/conversion/gb-to-tb.md)
- [Terabytes to Gigabytes](https://tttkmbb.com/conversion/tb-to-gb.md)
- [Kilobytes to Megabytes](https://tttkmbb.com/conversion/kb-to-mb.md)
- [Megabytes to Kilobytes](https://tttkmbb.com/conversion/mb-to-kb.md)
- [Mebibytes to Megabytes](https://tttkmbb.com/conversion/mib-to-mb.md)
- [Megabytes to Mebibytes](https://tttkmbb.com/conversion/mb-to-mib.md)

## Data Sources

- NIST Special Publication 811 – Guide for the Use of the International System of Units (SI), Appendix B conversion factors — https://www.nist.gov/pml/special-publication-811 (standard, retrieved 2026-09-24)
- BIPM – The International System of Units (SI Brochure, 9th edition) — https://www.bipm.org/en/publications/si-brochure (standard, retrieved 2026-09-24)
- Wikipedia – Conversion of units — https://en.wikipedia.org/wiki/Conversion_of_units (reference, retrieved 2026-09-24)
