Megabytes to bytes
Type a value in megabytes to see it in bytes straight away, or type in the second box to convert back.
Loading the tool…
Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.
How to use it
- Type the value in the megabytes box.
- Read the result in bytes as you type, and pick the precision you need.
- Swap the direction to convert back, or copy the result.
How it is calculated
B = MB × 1,000,000
Multiply the value in megabytes by 1,000,000 to get bytes.
Example
To convert 25 MB to bytes: 25 × 1,000,000 = 25,000,000 B.
Conversion table
| Megabytes (MB) | Bytes (B) |
|---|---|
| 1 | 1,000,000 |
| 2 | 2,000,000 |
| 3 | 3,000,000 |
| 5 | 5,000,000 |
| 10 | 10,000,000 |
| 20 | 20,000,000 |
| 25 | 25,000,000 |
| 50 | 50,000,000 |
| 100 | 100,000,000 |
| 250 | 250,000,000 |
| 500 | 500,000,000 |
| 1,000 | 1,000,000,000 |
About the units
- Megabyte
- A decimal unit equal to exactly 1,000,000 bytes (10^6), different from the binary mebibyte of 1,048,576 bytes.
- Byte
- A unit of storage equal to exactly 8 bits (an octet in IEC 80000-13), typically enough to store one Latin character.
Limits and caveats
- Results are rounded for display and computed with the browser's floating point precision (about 15 significant digits).
- Both unit factors are exact by their official definitions.
Questions about this tool
How many bytes are in one megabyte?
1 MB = 1,000,000 B exactly.
How do I convert megabytes to bytes?
Use B = MB × 1,000,000. For example, 25 MB = 25,000,000 B.
How many megabytes are in one byte?
1 B = 0.000001 MB.
Why does a 1 TB drive show about 931 GB on my computer?
Drive makers count 1 TB as 10^12 bytes, while Windows divides by 2^30 and labels the result GB even though it is really GiB. So 10^12 ÷ 1,073,741,824 gives about 931.32, and no space is missing.
What is the difference between a kilobyte and a kibibyte?
A kilobyte (kB) is a decimal unit of 1000 bytes and a kibibyte (KiB) is a binary unit of 1024 bytes. The same split applies to mega and mebi, giga and gibi, and the gap grows at each step.
