Last updated: February 05, 2025

MB to Byte Converter

Created by

In this article, we’ll show you how to convert data from megabytes (MB) to bytes (B). We will cover essential definitions, provide examples, share relevant formulas, and present tables, along with answers to common questions.

Definitions of Byte and MB

Let’s get started by understanding the key definitions and differences between Byte and Megabyte. Understanding these terms will allow you to perform conversions confidently.

What is byte (B)?

A Byte (B) is a standard unit of digital information used for data storage. It consists of 8 bits, which gives it a total of 256 possible values (from 0 to 255).

1 Byte equals 8 bits
1 Byte = 8 bits = 256 possible values

With such amount of potential values, a byte can represent many fundamental digital information, including characters in the ASCII (American Standard Code for Information Interchange) encoding system, numbers, color components, network packets, control code, and other information that fits in a byte.

What is Megabyte (MB)?

A megabyte (MB) is a unit of measurement for data storage used to measure files or memory that are large in size, typically between one million and one billion bytes.

It has symbols or abbreviations such as MB, Mbyte, MiB, or Mibyte.

When using International System of Units (SI) prefixes[1], which are based on powers of 10, a megabyte (MB) equals 1,000,000 bytes.

  • 1 MB = 106 B = 1,000,000 B

The table below shows all the SI prefixes and the associated symbols, multipliers, and colloquial.

SI Prefixes
International System of Units (SI) prefixes

When using International Electrotechnical Commission (IEC) binary prefixes[2], which are based on powers of 2, a megabyte (MB) equals 1,048,576 bytes.

  • 1 MiB = 220 B = 1,048,576 B

The IEC defined a set of binary prefixes to avoid confusion with the decimal-based SI prefixes. The table below shows all the binary prefixes, associated symbols, and its multipliers.

Binary Prefixes for Byte

For general communication, you can use SI prefixes as they are familiar with the metric system, while for more accurate contexts, you should use IEC binary prefixes.

Megabyte to byte formula

Let’s take a closer look at the conversion formula so you can carry out these conversions independently, whether using a calculator or doing it manually with pencil and paper.

Using decimal (SI) prefixes

The mega- prefix in the International System of Units (SI) represents a multiplier of 106 (1,000,000). So, to convert from megabyte to byte, multiply the number of megabytes (NMB) by the multiplier (1,000,000).

NB = NMB × 1,000,000

$$\text{N}_\text{B} = \text{N}_\text{MB} \times 1{,}000{,}000$$

Or remember the MB-to-B conversion factor: 1 MB = 1,000,000 B

Using binary (IEC) prefixes

The mebi- prefix in the International Electrotechnical Commission (IEC) represents a multiplier of 220(1,048,576). So, to convert from mebibyte to byte, multiply the number of mebibytes (NMiB) by the multiplier (1,048,576).

NB = NMiB × 1,048,576

$$\text{N}_\text{B} = \text{N}_\text{MiB} \times 1{,}048{,}576$$

Or remember the MiB-to-B conversion factor: 1 MiB = 1,048,576 B

Examples

Now, let's take a look at an example that illustrates the calculations required to convert from megabytes to bytes (MB to B)?

Example

Maxine wanted to ensure her phone had enough storage space to download a 500 MB software update. Recognizing the potential difference between decimal and binary prefixes, she decided to use the exact binary conversion for accuracy.

Using decimal (SI) prefixes

Since 1 megabyte (MB) equals 106 (1,000,000) bytes, we can convert 500 MB to bytes by using the following formula:

$$\text{N}_\text{B} = \text{N}_\text{MB} \times 1{,}000{,}000$$
$$\text{N}_\text{B} = 500 \times 1{,}000{,}000 = \boxed{500{,}000{,}000 \text{ B}}$$

So, the 500 MB software update, when expressed in decimal units, is equivalent to 500,000,000 bytes.

Alternatively, you can use our calculator by entering 500 into the MB box, and you instantly get the storage value in bytes, in this case, 500,000,000 B.

Convert 500 megabytes to bytes example
Convert 500 megabytes to bytes using our calculator.

Using binary (IEC) prefixes

Since 1 mebibyte (MiB) equals 220 (1,048,576) bytes, we can convert 500 mebibytes to bytes by using the following formula:

$$\text{N}_\text{B} = \text{N}_\text{MiB} \times 1{,}048{,}576$$
$$\text{N}_\text{B} = 500 \times 1{,}048{,}576 = \boxed{524{,}288{,}000 \text{ B}}$$

So, the 500 MB software update, when expressed in binary units, is equivalent to 524,288,000 bytes.

Alternatively, you can use our calculator by entering 500 into the From box, choose MiB from the From unit box, and you instantly get the storage value in bytes, in this case, 524,288,000 B.

Convert 500 mebibytes to bytes example
Convert 500 mebibytes to bytes using our calculator.

Megabyte to byte conversion table

The conversion table below provides a handy reference for converting data storage capacity from megabyte (MB) to bytes (B). It covers a range from 0.1 MB to 1,000 MB, allowing for easy and quick conversions between these units of measurement.

Decimal (SI) prefixes

MegabytesBytes
0.1 MB100,000 B
0.5 MB500,000 B
1 MB1,000,000 B
2 MB2,000,000 B
4 MB4,000,000 B
5 MB5,000,000 B
10 MB10,000,000 B
20 MB20,000,000 B
30 MB30,000,000 B
40 MB40,000,000 B
50 MB50,000,000 B
60 MB60,000,000 B
70 MB70,000,000 B
80 MB80,000,000 B
90 MB90,000,000 B
100 MB100,000,000 B
200 MB200,000,000 B
500 MB500,000,000 B
800 MB800,000,000 B
1,000 MB1,000,000,000 B
Megabytes to bytes conversion table

Binary (IEC) prefixes

MebibytesBytes
0.1 MiB104,857.6 B
0.5 MiB524,288 B
1 MiB1,048,576 B
2 MiB2,097,152 B
4 MiB4,194,304 B
5 MiB5,242,880 B
10 MiB10,485,760 B
20 MiB20,971,520 B
30 MiB31,457,280 B
40 MiB41,943,040 B
50 MiB52,428,800 B
60 MiB62,914,560 B
70 MiB73,400,320 B
80 MiB83,886,080 B
90 MiB94,371,840 B
100 MiB104,857,600 B
200 MiB209,715,200 B
500 MiB524,288,000 B
800 MiB838,860,800 B
1,000 MiB1,048,576,000 B
Mebibytes to bytes conversion table

FAQs

Is 1 byte or 1 megabyte larger?

A megabyte (MB) is a million times bigger than a byte (B). Here are the relationships between the units:

Decimal prefixes

  • 1 MB = 106 = 1,000,000 B
  • 1 B = 10-6 = 1 ÷ 1,000,000 = 0.000001 MB

Binary prefixes

  • 1 MiB = 220 = 1,048,576 B
  • 1 B = 2-20 = 1 ÷ 1,048,576 = 00000095367431640625 MiB

How to convert from megabytes to bytes?

To convert data storage from megabytes (MB) to bytes (B), follow these simple steps based on the standard you are using:

  • Write down the data storage value in megabytes (MB).

Decimal (SI) prefixes

  • Multiply it by the value of a MB-to-B conversion factor: 106 or 1,000,000.
  • The result from multiplication is the value of the data storage in bytes (B).

Binary (IEC) prefixes

  • Multiply it by the value of a MiB-to-B conversion factor: 220 or 1,048,576.
  • The result from multiplication is the value of the data storage in bytes (B).

You now know how to convert data storage capacity from megabytes (MB) to bytes (B). You can quickly use our calculator to convert between the data storage units to save time for future calculations.

For further understanding, check our data storage converter page to learn more about the differences between decimal and binary units of data storage.

MB to Byte Converter

About this app

MB to Byte Converter

The megabyte to byte (MB to B) converter is a simple tool for converting data storage between megabytes (MB) and bytes (B), with explanations, formulas, examples, and tables.

Availability

You can use the calculator for free as a PWA web app online or install it locally on any modern operating system, including Android, iOS, Windows 11/10, and macOS.

MB to Byte Converter QR
Scan Me
Use MB to Byte Converter as Web App
Similar Calculators

References

2 Sources

  1. ⬆️ Metric (SI) Prefixes | NIST, NIST, Jan. 13, 2010.

    https://www.nist.gov/pml/owm/metric-si-prefixes
  2. ⬆️ IEC 60027-2 Letter symbols to be used in electrical technology - Part 2: Telecommunications and electronics.

    https://webstore.iec.ch/en/publication/30633