How Many Bytes in a Megabyte?
Quick Answer
There are 1,048,576 bytes in a megabyte (binary) or 1,000,000 bytes (decimal).
1 MB (binary) = 2²⁰ = 1,048,576 bytes
Understanding the Conversion
In computing, 1 megabyte (MB) = 2²⁰ = 1,048,576 bytes (binary/IEC definition). Hard drive manufacturers use the decimal definition (1 MB = 1,000,000 bytes), which is why a drive's labeled capacity appears smaller than reported by an OS.
Formula
1 MB (binary) = 2²⁰ = 1,048,576 bytes
Common Examples
| Description | Value |
|---|---|
| A 1 MB text file | ≈1,000 pages of plain text |
| A high-quality JPEG photo | 1–5 MB |
| 1 minute of MP3 audio (128 kbps) | ≈1 MB |
Quick Reference Table
Use this table for quick conversions between megabyte and bytes:
| megabyte | bytes |
|---|---|
| 1 | 1,048,576 |
| 2 | 2,097,152 |
| 5 | 5,242,880 |
| 10 | 10,485,760 |
| 25 | 26,214,400 |
Frequently Asked Questions
How Many Bytes in a Megabyte?
There are 1,048,576 bytes in a megabyte (binary) or 1,000,000 bytes (decimal). In computing, 1 megabyte (MB) = 2²⁰ = 1,048,576 bytes (binary/IEC definition). Hard drive manufacturers use the decimal definition (1 MB = 1,000,000 bytes), which is why a drive's labeled capacity appears smaller than reported by an OS.
What is the formula to convert megabyte to bytes?
The formula is: 1 MB (binary) = 2²⁰ = 1,048,576 bytes. To convert, multiply the number of megabytes by 1,048,576 to get the equivalent in bytes.
How do I convert bytes to megabyte?
To convert bytes to megabyte, divide the number of bytes by 1,048,576. For example, 5,242,880 bytes equals 5 megabytes.
Related Tools
Related "How Many" Questions
How Many Bytes in a Gigabyte?
There are 1,073,741,824 bytes in a gigabyte (binary) or 1,000,000,000 bytes (decimal).
How Many Bytes in a Terabyte?
There are approximately 1.1 trillion bytes in a terabyte (binary) or exactly 1 trillion (decimal).
How Many Kilobytes in a Megabyte?
There are 1,000 kilobytes in a megabyte (MB) using the SI standard, or 1,024 kibibytes in a mebibyte (MiB) using the binary standard.