UNIT RECONCILIATION

Comparing megabits per second with megabytes per second

Internet plans quote megabits per second, while download windows often show megabytes per second. This guide converts between the two and keeps the per-second denominator in place.

Why the same speed shows two numbers

Network links are described in bits per second because data is sent serially, one bit at a time, and the signaling rate is a rate of bits. Files are described in bytes. A download manager divides the file size in bytes by the elapsed time and reports megabytes per second, while the plan you pay for says megabits per second. A link of 80 megabits per second moves 10 million bytes every second, so a download window can show 10 megabytes per second at full speed. Neither figure is wrong. They differ by the factor of eight between a bit and a byte, and the capital or lowercase letter in the unit decides which is which.

The conversion

The worked case converts 80 megabits per second to 10 megabytes per second by dividing by 8. The reverse check multiplies 10 megabytes per second by 8 to recover 80 megabits per second. The time denominator is not touched, because both units have the same per-second base. This matters when you compare units with different time bases, such as megabytes per minute or gigabytes per hour. Then the time factor must be converted as well, with a division or multiplication by 60 or 3,600. Converting the data unit and the time unit as separate steps, in a written order, prevents the mix of both factors into a single mistaken one.

Common plan speeds in megabytes per second

Using the same factor, a 100 megabit per second plan peaks at 12.5 megabytes per second, a 500 megabit per second plan at 62.5, and a gigabit plan at 125. A file of 1 gigabyte, which is 1,000 megabytes in the decimal convention, then needs 8 seconds at 125 megabytes per second under the ideal assumption, and 80 seconds at 12.5. These are upper bounds. The advertised speed is a property of the link or the plan, and the speed you see depends on the server, the wireless connection, the network between you and the server, and the load on each of them. The converter gives the ceiling that the plan figure implies.

Overhead between line rate and payload

Even a perfect link does not deliver the nominal rate as file data. Each packet carries headers. For TCP over IPv4 on Ethernet with a 1,500-byte maximum transmission unit and no options, a packet holds 1,460 bytes of payload, and the wire carries about 1,538 bytes once the Ethernet header, checksum, preamble and interframe gap are counted. The payload share is about 94.9 percent. A nominal 100 megabits per second link therefore tops out near 94.9 megabits per second of payload, about 11.9 megabytes per second. Wireless links, encryption and tunnels add more overhead. This is why the converted figure is a ceiling, and a measured speed test result is the better guide to real throughput.

Comparing a plan with a download window

Consider a plan advertised at 300 megabits per second. Dividing by 8 gives a ceiling of 37.5 megabytes per second. A game update of 4.5 gigabytes, which is 4,500 megabytes in the decimal convention, would take 120 seconds at that ceiling. If the download window shows a steady 30 megabytes per second, the same update takes 150 seconds, and the window is reporting 80 percent of the plan ceiling. That is a ratio worth comparing with a measured speed test and with the overhead share described above, since part of the gap is protocol overhead and the rest depends on the server, the Wi-Fi link and other users of the connection. The conversion tells you what to expect at best, and the observed figure tells you what you got.

Decimal mega versus binary mebi

The worked cases use decimal prefixes, in which a mega is 1,000,000. Some software reports binary units, in which one mebibyte is 1,048,576 bytes and the unit is written MiB. A rate of 10 decimal megabytes per second is 10,000,000 bytes per second, which equals about 9.54 mebibytes per second. The difference is near five percent. When a transfer window shows a figure that is 5 percent below what the plan arithmetic suggests, the prefix family may account for it. The IEC created the binary prefix names for this reason, and writing MiB, GiB and so on in data makes the base explicit. The converter in this guide uses the decimal prefixes.

Reading the unit abbreviations

Abbreviations carry the distinction. Mbps and Mb/s stand for megabits per second, MBps and MB/s for megabytes per second. The lowercase b is for bit and the uppercase B for byte, a convention that is not always followed, so some products write Mbps loosely. When a number has no clear unit, look for context: connection speeds and video bitrates are almost always in bits, while file transfer and disk speeds are almost always in bytes. A video stream at 8 megabits per second uses 1 megabyte per second, or 3.6 gigabytes per hour, since 3,600 seconds multiplied by 1 megabyte is 3,600 megabytes. Spelling the unit out in a table avoids the guesswork.

Rate, size and time

A rate is a quantity per unit of time, and the time denominator is what separates it from a size. Multiply a rate by a duration to get a quantity, or divide a quantity by a rate to get a duration, but first make the data units match. A sustained 80 megabits per second for 10 seconds moves 800 megabits, or 100 megabytes. Entering 80 megabytes per second instead would move 800 megabytes in the same ten seconds. The two readings differ by the factor of eight, which is why a column header should show the denominator as part of the unit, for example megabytes per second, and not as a bare number beside the word speed.

What the converter measures

The data rate converter changes the unit in which a rate is written. It does not test a connection, estimate latency or predict sustained throughput. Real transfers include setup time, congestion, retransmission and shared use of the link, so the observed rate varies from second to second. A rate that was quoted for a link and a rate that was measured for a file are two different pieces of information, and the converter treats them identically because it only sees a number and a unit. If a decision depends on the speed, measure it under the conditions you care about and convert the measured value with this tool.

Reproduce the checks

Megabits to megabytes per second

Open the Data rate converter and enter:

Value
80
From
mbps
To
mb-per-second

Expected output:

Converted value

10

Convert the stated mbps quantity to mb-per-second before using it in the comparison.

Byte-rate to bit-rate check

Open the Data rate converter and enter:

Value
10
From
mb-per-second
To
mbps

Expected output:

Converted value

80

Convert the stated mb-per-second quantity to mbps before using it in the comparison.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks