Home › Converters › MB to Bits
MB to Bits
Internet speeds are sold in bits while file sizes are written in megabytes, so the two units collide every time you estimate a download. This MB to bits converter translates between them: enter a size in megabytes — or bytes, kilobytes, gigabytes or terabytes — and get the exact bit count in both the decimal system used by drive makers and the binary system your operating system reports. That makes it easy to check a file size against a connection speed, a data cap, or a network spec written in bits.
The result also shows the same data measured in the other system, underneath.
MB to bits conversion table
Common megabyte amounts converted to bits in both unit systems. The binary column counts the same megabytes the way Windows measures them, in mebibytes.
| Megabytes | Bits (decimal) | Bits (binary) |
|---|
How it works
A bit is a single 0 or 1 — the smallest unit of digital information. Eight bits group into one byte, and everything larger is built from bytes: kilobytes, megabytes, gigabytes, terabytes. So converting megabytes to bits is a two-part multiplication: first megabytes to bytes, then bytes to bits by multiplying by 8. The only complication is that "mega" has two step sizes. In the decimal (SI) system a megabyte is exactly 1,000,000 bytes, so one MB is 8,000,000 bits. In the binary (IEC) system a mebibyte is 1,048,576 bytes, so one MiB is 8,388,608 bits.
Pick the system that matches where your number came from. Storage manufacturers, download sites and internet providers use decimal units; Windows and memory specs use binary units, which is why a "500 GB" drive shows about 465 GiB in Windows. This converter defaults to the pair you picked — megabytes to bits — but every unit from bits to terabytes is on both menus, and the swap button reverses the direction, so you can also work out how many megabytes a bit rate or bit count represents.
Worked example
A product manager in Denver is checking whether a 5 MB app update is reasonable for customers on a 10 Mbps connection.
Step 1: Convert the file size to bits — 5 MB × 8,000,000 = 40,000,000 bits, exactly what the converter shows.
Step 2: Express that in megabits, the unit the connection speed uses — 40,000,000 bits = 40 megabits.
Step 3: Divide by the speed — 40 megabits ÷ 10 megabits per second = about 4 seconds of pure transfer time.
So the update is a roughly four-second download before real-world overhead — a comfortable size. The same check in binary units would start from 41,943,040 bits (5 MiB), which is why the converter shows both figures.
Common mistakes and tips
The expensive mistake is confusing MB with Mb. Capital B means bytes, lowercase b means bits, and they differ by a factor of eight: a 100 Mb file would be eight times smaller than a 100 MB file. Internet plans are advertised in megabits per second (Mbps) while browsers report download progress in megabytes per second (MB/s), so a 100 Mbps plan delivers at most 12.5 MB/s — divide the advertised speed by 8 before comparing it with a file size.
Also watch which megabyte a spec means. A network engineer counting in binary units and a marketer counting in decimal units can both write "5 MB" about amounts that differ by almost 5%. When a number really matters — a data cap, a bill, a service-level promise — convert in the same system the source used; the system selector above the result exists for exactly that reason.
FAQ
How many bits are in a megabyte?
In decimal units, one megabyte is 8,000,000 bits: a megabyte is 1,000,000 bytes and each byte is 8 bits. In binary units, one mebibyte (MiB) is 8,388,608 bits, because a mebibyte is 1,048,576 bytes.
What is the difference between MB and Mb?
The capital B stands for bytes and the lowercase b for bits. One byte equals 8 bits, so 1 MB is eight times larger than 1 Mb. File sizes are usually written in MB, while internet speeds are written in Mb or Mbps (megabits per second).
Why are internet speeds measured in bits instead of bytes?
Networking grew up measuring signals one bit at a time, and the bit convention stuck: line rates, from early modems to gigabit fiber, are quoted in bits per second. To compare a speed with a file size, convert the file to bits (or divide the speed by 8) so both sides use the same unit.
How many bits are in 5 MB?
5 MB is 40,000,000 bits in decimal units (5 × 8,000,000). Measured in binary units, the same 5 MB of data is 4.768372 MiB, and 5 MiB would be 41,943,040 bits.
Should I use decimal or binary units?
Use decimal units for anything from a storage manufacturer, a download site or an internet provider — they all count a megabyte as 1,000,000 bytes. Use binary units when the number came from Windows or a memory spec, where a mebibyte is 1,048,576 bytes. When in doubt, compare both; for a single megabyte they differ by about 4.9%.