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

DescriptionValue
A 1 MB text file≈1,000 pages of plain text
A high-quality JPEG photo1–5 MB
1 minute of MP3 audio (128 kbps)≈1 MB

Quick Reference Table

Use this table for quick conversions between megabyte and bytes:

megabytebytes
11,048,576
22,097,152
55,242,880
1010,485,760
2526,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