Mebibytes to megabytes converter (MiB to MB)
1 mebibyte (MiB) equals exactly 1.048576 megabytes (MB). To convert mebibytes to megabytes, multiply by 1.048576: MB = MiB × 1.048576.
So 100 MiB is 104.8576 MB and 512 MiB is 536.870912 MB. A mebibyte is about 4.9% larger than a megabyte.
Mebibytes to megabytes formula
Formula
MB = MiB × 1.048576
Multiply a value in mebibytes by 1.048576 to get megabytes. To go the other way, divide by 1.048576. The factor is exact, because both units are defined exactly.
Worked examples
Convert 1 MiB to MB
1,048,576 B ÷ 1,000,000 B = 1.048576 MB
A mebibyte is 2²⁰ bytes and a megabyte is 10⁶ bytes, so the factor is exact and every MiB to MB answer ends after a few decimal places.
Convert 100 MiB to MB
100 MiB × 1.048576 = 104.8576 MB
Every 100 MiB is about 104.86 MB, which shows the 4.9% gap directly.
Convert 512 MiB to MB
512 MiB × 1.048576 = 536.870912 MB
512 MiB is half a gibibyte, a common size for swap files, cloud function memory and container limits.
Convert 1,024 MiB to MB
1,024 MiB × 1.048576 = 1,073.741824 MB
1,024 MiB is exactly 1 GiB, which is 1.073741824 GB. For larger sizes, use the gibibytes to gigabytes converter.
A file Windows shows as 250 MB, on a Mac
250 MiB × 1.048576 = 262.144 MB
Windows File Explorer divides by 1,024² but prints "MB", while macOS Finder counts in decimal MB, so the same file shows as about 262.1 MB on a Mac. No data changed.
Convert a 128Mi Kubernetes memory limit to MB
128 MiB × 1.048576 = 134.217728 MB
Kubernetes reads 128Mi as 134,217,728 bytes and 128M as 128,000,000 bytes, so the Mi limit is about 6.2 MB larger.
Mebibytes to megabytes conversion table
| Mebibytes (MiB) | Megabytes (MB) | Bytes (B) | Bits |
|---|---|---|---|
| 0.5 | 0.524288 | 524,288 | 4,194,304 |
| 1 | 1.048576 | 1,048,576 | 8,388,608 |
| 2 | 2.097152 | 2,097,152 | 16,777,216 |
| 4 | 4.194304 | 4,194,304 | 33,554,432 |
| 8 | 8.388608 | 8,388,608 | 67,108,864 |
| 10 | 10.48576 | 10,485,760 | 83,886,080 |
| 16 | 16.777216 | 16,777,216 | 134,217,728 |
| 25 | 26.2144 | 26,214,400 | 209,715,200 |
| 32 | 33.554432 | 33,554,432 | 268,435,456 |
| 50 | 52.4288 | 52,428,800 | 419,430,400 |
| 64 | 67.108864 | 67,108,864 | 536,870,912 |
| 100 | 104.8576 | 104,857,600 | 838,860,800 |
| 128 | 134.217728 | 134,217,728 | 1,073,741,824 |
| 200 | 209.7152 | 209,715,200 | 1,677,721,600 |
| 250 | 262.144 | 262,144,000 | 2,097,152,000 |
| 256 | 268.435456 | 268,435,456 | 2,147,483,648 |
| 500 | 524.288 | 524,288,000 | 4,194,304,000 |
| 512 | 536.870912 | 536,870,912 | 4,294,967,296 |
| 750 | 786.432 | 786,432,000 | 6,291,456,000 |
| 1,000 | 1,048.576 | 1,048,576,000 | 8,388,608,000 |
| 1,024 | 1,073.741824 | 1,073,741,824 | 8,589,934,592 |
| 2,048 | 2,147.483648 | 2,147,483,648 | 17,179,869,184 |
| 4,096 | 4,294.967296 | 4,294,967,296 | 34,359,738,368 |
| 8,192 | 8,589.934592 | 8,589,934,592 | 68,719,476,736 |
Same size in MiB and MB
| Where you see it | Mebibytes (MiB) | Megabytes (MB) |
|---|---|---|
| File Windows shows as 10 MB | 10 | 10.48576 |
| File Windows shows as 250 MB | 250 | 262.144 |
| Kubernetes memory limit 256Mi | 256 | 268.435456 |
| 512 MiB swap file or cloud function memory | 512 | 536.870912 |
| 1 GiB of RAM (1,024 MiB) | 1,024 | 1,073.741824 |
| 4 GiB of RAM (4,096 MiB) | 4,096 | 4,294.967296 |
| File a Mac shows as 100 MB | 95.36743164 | 100 |
| File a Mac shows as 1 GB (1,000 MB) | 953.6743164 | 1,000 |
What are mebibytes and megabytes?
Mebibyte (MiB)
A mebibyte is 1,048,576 bytes (2²⁰ B), exactly 1.048576 MB. RAM sizes and many Linux and Windows tools count in mebibytes.
Megabyte (MB)
A megabyte is 1,000,000 bytes (10⁶ B). Drive makers, network tools and macOS use this decimal meaning; the binary counterpart of 1,048,576 bytes is the mebibyte (MiB).
The mebibyte uses the binary prefix mebi, defined by the IEC in 1998 and now part of IEC 80000-13, so 1 MiB = 2²⁰ = 1,048,576 bytes. The megabyte uses the SI prefix mega, so 1 MB = 10⁶ = 1,000,000 bytes. Dividing the two gives 1,048,576 ÷ 1,000,000 = 1.048576, an exact factor. The reverse, 1,000,000 ÷ 1,048,576, is exactly 0.95367431640625, so 1 MB is about 0.9537 MiB. One mebibyte is also 1,024 KiB, 1,048.576 kB or 8,388,608 bits.
A mebibyte is 48,576 bytes larger than a megabyte, a gap of about 4.9%. It matters when two programs show the same file. Windows File Explorer and Linux tools such as ls -lh and du -h divide by 1,024², and Windows still prints "MB". macOS since Snow Leopard and iOS since iOS 11 count in decimal MB. So a file that Windows lists as 250 MB appears as about 262.1 MB on a Mac, with no data lost or added.
Memory, swap and container limits are binary sizes. A "512 MB" swap file or cloud function setting is usually 512 MiB, and Kubernetes reads 256Mi as 268,435,456 bytes but 256M as 256,000,000 bytes. Transfer speeds follow the same rule: 50 MiB/s is 52.4288 MB/s, and the data transfer rate converter handles the bit and byte versions. To go the other way, use the megabytes to mebibytes converter. Watch the case of the b: Mib is a mebibit, one eighth of a mebibyte, so 1 Mib = 0.131072 MB.
Binary prefixes are powers of 2: a gibibyte is 2³⁰ bytes. The binary calculator and the number base converter work in base 2 and base 16. For download times, use the data transfer rate converter.
Practice problems
Convert 64 MiB to megabytes.
64 × 1.048576 = 67.108864 MB, about 67.11 MB.
Linux du -h reports a folder as 750M. About how big is it in decimal MB?
du -h counts in MiB, so 750 × 1.048576 = 786.432 MB, about 786 MB.
An upload limit is 100 MB. Does a file Windows shows as 96 MB fit?
Windows shows MiB, so 96 × 1.048576 = 100.66 MB. It is just over the limit and will not fit.
Frequently asked questions
How many megabytes are in 1 mebibyte?
Exactly 1.048576 MB. A mebibyte is 1,048,576 bytes and a megabyte is 1,000,000 bytes, so 1 MiB = 1,048,576 ÷ 10⁶ = 1.048576 MB.
Is a MiB the same as a MB?
No. 1 MiB is 1,048,576 bytes and 1 MB is 1,000,000 bytes, so a mebibyte is about 4.9% larger. Windows and RAM packaging label mebibytes as "MB", which is why the two are often mixed up.
Is MiB 1,024 or 1,000?
A MiB is based on 1,024: 1 MiB = 1,024 KiB = 1,024 × 1,024 = 1,048,576 bytes. A MB is based on 1,000: 1 MB = 1,000 kB = 1,000,000 bytes.
Is a mebibyte bigger than a megabyte?
Yes. A mebibyte is 48,576 bytes bigger, about 4.9%. So any number of MiB is a larger number of MB, and 1 MB is only 0.95367431640625 MiB.
How do I convert MiB to MB?
Multiply the value in mebibytes by 1.048576. For example, 64 MiB × 1.048576 = 67.108864 MB and 300 MiB × 1.048576 = 314.5728 MB.
What is 100 MiB in MB?
100 MiB × 1.048576 = 104.8576 MB, about 104.86 MB.
What is 512 MiB in MB?
512 MiB × 1.048576 = 536.870912 MB, about 536.87 MB. 512 MiB is half a gibibyte.
What is 1,024 MiB in MB?
1,024 MiB × 1.048576 = 1,073.741824 MB. 1,024 MiB is exactly 1 GiB, which is 1.073741824 GB.
Why does a file show a different size on Windows and Mac?
Windows divides by 1,024² and labels the result MB, so it is really showing MiB. macOS counts in decimal MB. Multiply the Windows figure by 1.048576 to get the Mac figure: 250 "MB" in Windows is about 262.1 MB on a Mac.
How do I convert MiB/s to MB/s?
Use the same factor: multiply by 1.048576. So 50 MiB/s = 52.4288 MB/s and 100 MiB/s = 104.8576 MB/s. Download tools that count in binary units often show MiB/s.
How many MB/s is 1 Mbps?
1 Mbps (megabit per second) is 0.125 MB/s, because a byte is 8 bits. So a 100 Mbps connection moves at most 12.5 MB/s, which is about 11.92 MiB/s. Use the data transfer rate converter for other speeds.
How many gigabytes are in a mebibyte?
1 MiB = 0.001048576 GB exactly, and 1,024 MiB = 1 GiB = 1.073741824 GB. To convert larger binary sizes, use the gibibytes to gigabytes converter or convert MiB to GB directly.
How do I convert MB back to MiB?
Divide by 1.048576, or multiply by 0.95367431640625. For example, 100 MB ÷ 1.048576 = 95.367431640625 MiB, about 95.37 MiB.
Sources and further reading
- Prefixes for binary multiples (opens in a new tab), National Institute of Standards and Technology
- IEC 80000-13: Quantities and units, Part 13: Information science and technology, International Electrotechnical Commission
- The International System of Units (SI Brochure), 9th edition (opens in a new tab), Bureau International des Poids et Mesures
- How storage capacity is measured on Apple devices (opens in a new tab), Apple
- Resource Management for Pods and Containers: memory units (opens in a new tab), The Kubernetes Authors
- GNU Coreutils manual: Block size (opens in a new tab), Free Software Foundation