Bytes to Bits Converter
Convert bytes to bits — eight per byte, the factor behind every storage-versus-speed argument.
Updated
bits
8bit
1 B = 8 bit
Advertisement
In short
How many bits are in a byte?
Eight. Multiply bytes by 8 to get bits, so a 1 MB file is 8,000,000 bits. That factor is the whole reason a 100 Mbps connection downloads at about 12.5 MB per second: the line is sold in bits and the file is measured in bytes.
The lowercase b means bits and the uppercase B means bytes. The case is the unit.
bytes to bits — quick reference
| bytes (B) | bits (bit) |
|---|---|
| 1 B | 8 bit |
| 8 B | 64 bit |
| 16 B | 128 bit |
| 64 B | 512 bit |
| 128 B | 1,024 bit |
| 512 B | 4,096 bit |
| 1,024 B | 8,192 bit |
| 8,192 B | 65,536 bit |
The formula, worked line by line
One multiplication by eight. The value of writing it out is not the arithmetic but the unit bookkeeping, because this is the conversion people perform in their heads and then apply to the wrong one of the two numbers.
“The lowercase b is doing all the work. Everything confusing about download speeds is one letter of case.”
Getting into the habit of reading that letter first is worth more than any of the arithmetic below. A figure whose unit you have not checked is not yet a figure you can compare with anything.
bits = bytes x 8
bytes = bits / 8
1 MB = 1,000,000 bytes = 8,000,000 bits
seconds = bits / (bits per second)
4 GB over 100 Mbps = 32,000,000,000 / 100,000,000 = 320 s- File
- 4 GB = 4,000,000,000 bytes
- As bits
- 32,000,000,000
- Line rate
- 100 Mbps = 100,000,000 bit/s
- Raw time
- 320 seconds
- At 94 percent efficiency
- about 340 seconds
- Realistic
- a little under six minutes
The gap between 320 and 340 seconds is protocol overhead, and it is small and predictable. The gap between either figure and what you actually observe is usually something else entirely: another device on the line, a slow server, or a wireless link that is not delivering its nominal rate.
Where the two units meet in practice
Anywhere storage touches transmission. A backup window is a file size in bytes against a link in bits. A video bitrate is bits per second against a file that will land on disk in bytes. A monthly data cap is usually stated in bytes while the meter that fills it is counting bits on a wire.
The two families of prefix, both in play
- Kb, kilobit
- 1,000 bits
- KB, kilobyte
- 1,000 bytes = 8,000 bits
- Mb, megabit
- 1,000,000 bits
- MB, megabyte
- 1,000,000 bytes = 8,000,000 bits
- Gb, gigabit
- 1,000,000,000 bits
- GB, gigabyte
- 1,000,000,000 bytes
Network rates use the decimal prefixes without exception, which is one small mercy: a megabit is always exactly a million bits and never 1,048,576. The binary-versus-decimal argument belongs to the storage side of this table only.
That last point is worth holding on to. When you see Mbps you can take the prefix literally. When you see MB you have to ask which divisor produced it. The bit side of this conversion is the unambiguous side.
How to use the bytes to bits converter
Eight bits to the byte, so this is a multiplication by eight. It is the simplest conversion on this shelf and the one that causes the most argument, because it sits exactly on the boundary between two industries that chose different units and never reconciled them.
Storage is sold in bytes. Bandwidth is sold in bits. A file is a number of bytes and a connection is a number of bits per second, so no download-time question can be answered until one side has been converted to the other. This page does that conversion in the direction that starts from the file.
8
Bits in one byte
the octet, by definition
8,000,000
Bits in one megabyte
decimal MB
12.5
MB per second on a 100 Mbps line
before overhead
Advertisement
The case of the letter b carries the entire distinction and nothing else does. Mbps is megabits per second; MBps or MB/s is megabytes per second. They are eight times apart, they are written almost identically, and the smaller-looking one is the larger quantity. Marketing material has never had a reason to make this clearer.
Once both sides are in bits the arithmetic is trivial and, more usefully, the units cancel. Bits divided by bits per second leaves seconds. That is worth doing on paper once, because it makes the sanity check obvious: if your answer has a strange unit attached, one of the two figures was in the wrong currency.
- 1 KB
- 8,000 bits
- 1 MB
- 8,000,000 bits
- 5 MB photo
- 40,000,000 bits
- 700 MB video
- 5,600,000,000 bits
- 1 GB
- 8,000,000,000 bits
- 4 GB installer
- 32,000,000,000 bits
Divide any row by a line rate in bits per second and the answer is in seconds. That 4 GB installer over a 100 Mbps connection is 320 seconds of pure transfer, a little over five minutes, before protocol overhead and whatever else is sharing the line.
Turn a human figure into an exact count
MB to bytes goes the other way on the storage side, which is the direction you want when writing a size limit into a configuration file.
Open MB to bytes →Byte counts converted to bits, with the time each would take on three common line rates so the factor of eight can be seen doing its job.
| Bytes | Bits | At 25 Mbps | At 100 Mbps | At 1 Gbps |
|---|---|---|---|---|
| 1 KB | 8,000 | instant | instant | instant |
| 1 MB | 8,000,000 | 0.32 s | 0.08 s | 0.008 s |
| 5 MB | 40,000,000 | 1.6 s | 0.4 s | 0.04 s |
| 50 MB | 400,000,000 | 16 s | 4 s | 0.4 s |
| 100 MB | 800,000,000 | 32 s | 8 s | 0.8 s |
| 700 MB | 5,600,000,000 | 3 min 44 s | 56 s | 5.6 s |
| 1 GB | 8,000,000,000 | 5 min 20 s | 1 min 20 s | 8 s |
| 4 GB | 32,000,000,000 | 21 min 20 s | 5 min 20 s | 32 s |
| 25 GB | 200,000,000,000 | 2 h 13 min | 33 min 20 s | 3 min 20 s |
Advertisement
Why a byte settled on eight bits
The eight-bit byte is a convention that won, not a law of physics. Early machines used bytes of six, seven and nine bits, and some let programmers choose the width instruction by instruction. The DEC PDP-10 could address fields of any size within its 36-bit word, so a byte there was whatever you declared it to be.
- Distinct values in 8 bits
- 256
- Enough for
- every printable character plus control codes
- Splits evenly into
- two 4-bit nibbles, one hex digit each
- A power of two, so
- addressing arithmetic stays shifts
- Why it stuck
- convenient, not inevitable
The IBM System/360 in 1964 committed to the eight-bit byte across a whole product line, and the industry followed. Because other widths existed, standards bodies use the word octet when they need to be unambiguous, which is why network specifications say octet where a programmer would say byte.
The practical residue of that history is the word octet in every networking standard you will ever read. It means exactly eight bits and it cannot mean anything else, whereas byte technically depends on the machine. On any hardware you are likely to meet, the two are the same thing.
Why eight is the floor, not the answer
Converting bytes to bits gives the amount of data. It does not give the amount transmitted, because every layer of the network adds its own framing around your payload, and that framing is also made of bits that occupy the line.
Do
- Convert both figures to bits before dividing to get a time
- Read the case of the b before comparing two numbers
- Treat the result as a floor on transfer time, not a prediction
- Say octet when you need eight bits with no ambiguity
Don't
- Compare a file in MB against a plan in Mbps directly
- Expect a 100 Mbps line to deliver a full 12.5 MB per second
- Assume the whole line is available to one transfer
- Write Mbps when you mean megabytes per second
A realistic figure over Ethernet and TCP is around 94 percent of the raw rate once headers and acknowledgements are counted, and less over wireless or a congested path. So a gigabit connection that tests at 940 Mbps is behaving normally, and the 12.5 MB/s figure for a 100 Mbps line is a ceiling rather than a promise.
Every bytes value, worked out
140 common bytes figures each get their own page, with the answer, the arithmetic, what rounding costs, and the nearest real-world reference point on the scale.
10 to 99 B
100 to 999 B
Advertisement
Questions people ask
How many bits are in a byte?
Eight, on every system you are likely to encounter. Standards bodies use the word octet when they need to be unambiguous, because early computers did use other byte widths. On modern hardware a byte is eight bits, so converting between them is a multiplication or division by eight.
Why is my 100 Mbps connection only downloading at 12 MB/s?
Because it is doing exactly what it promised. A hundred megabits per second is 12.5 megabytes per second, since there are eight bits in a byte. Your downloader reports bytes and your plan is sold in bits. Subtract a few percent for protocol overhead and 12 MB/s is a healthy result.
What is the difference between Mb and MB?
The case of the b. Mb is megabits and MB is megabytes, and a megabyte is eight megabits. Internet plans are quoted in megabits per second, while file sizes and download meters use megabytes. Reading the case before comparing two figures avoids an eightfold error in either direction.
Does multiplying by eight give the real download time?
It gives the floor. The conversion tells you how many bits of payload must cross the link, but every network layer wraps that payload in headers that also consume the line. Around 94 percent efficiency is typical over wired Ethernet and TCP, and wireless or congested paths deliver less.
Why do networks measure in bits rather than bytes?
Because a link transmits one bit at a time and its capacity is naturally expressed that way, independent of how many bits a receiving machine groups into a word. The convention predates the eight-bit byte becoming universal, and network standards still say octet rather than byte for exactly that reason.
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
The octet is defined as an ordered sequence of eight bits considered as a unit, the unambiguous term for what is commonly called a byte.
ISO/IEC 2382:2015 Information technology — Vocabulary — International Organization for Standardization
Bit and byte are defined as distinct units, with the byte equal to eight bits, and the decimal prefixes apply to transmission rates.
IEC 80000-13 Quantities and units — Part 13: Information science and technology — International Electrotechnical Commission
The PDP-10 provided byte instructions operating on fields of any width within its 36-bit word, so byte size was not fixed by the hardware.
PDP-10 System Reference Manual, DEC-10-HGAA-D — Digital Equipment Corporation
Related guides
Unit Converters
How Many Decimals to Keep When Converting Units
The factor is exact to nine digits. The measurement you typed is good to one. Only one of those two limits the answer, and it is not the factor.
August 19, 2026 · 9 min read
Unit Converters
Converting Temperature Differences: Why 10 °C of Change Is 18 °F, Not 50
A day that warms from 10 °C to 20 °C warms by 18 °F, not 50. The 32 belongs to temperatures — a difference never sees it.
August 16, 2026 · 9 min read
Dates & Time
Time and a Half: The Regular Rate Is Not Your Hourly Wage
Every explanation says multiply your hourly rate by 1.5. That is the wrong number the moment a bonus, a shift differential, or a second pay rate enters the week.
August 30, 2026 · 8 min read