QuickUnits

Data

Bytes to bits

1 B = 8 bit

—

One byte is 8 bits. The eight looks obvious now, but it was not inevitable — machines with 6, 7, 9 and 12-bit bytes were all built and sold, and the eight-bit byte won because of a specific design decision at IBM in the 1960s.

About the units

A bit is a single binary digit, the smallest unit of information: one of two states. A byte is the smallest individually addressable block of memory, and its size was a machine design choice rather than a law of nature. Early computers used six-bit characters, which allowed 64 distinct symbols — enough for uppercase letters, digits and punctuation, but not for lowercase. The IBM System/360, announced in 1964, adopted eight bits so that its character encoding could cover both cases plus control codes, and its commercial dominance made eight the standard everywhere. The term octet is used in networking standards precisely because it means eight bits unambiguously, without relying on the byte's history.

The exact factor

The factor is exactly 8, and both directions are exact. The consequence that matters daily is the difference between storage units and transmission units: storage is measured in bytes and network speed in bits per second. A 100 Mbit/s connection therefore transfers at most 12.5 MB/s, and a file of 1 GB takes at least 80 seconds on it. The convention is not arbitrary — serial links genuinely move bits, and framing overhead means the real throughput is lower still.

Where you meet this conversion

Anywhere storage meets transmission. Broadband advertising is the most familiar case, and the eight-fold difference between the advertised megabits and the observed megabytes in a download manager is the single most common source of complaints to internet providers. Video bitrates, audio encoding rates and memory bus widths are all quoted in bits, while the resulting files are measured in bytes. Cryptographic key lengths are always in bits: a 256-bit key is 32 bytes.

Common values

Value (B) Converted (bit)
1 8
2 16
5 40
10 80
25 200
50 400
100 800
500 4 000
1 000 8 000

Values are rounded for reading. The converter above keeps full precision.

The other way around

1 bit = 0.125 B

Bits to bytes divides by 8. The reliable habit is to read the case of the b: lowercase b is bits, uppercase B is bytes, so Mb/s and MB/s differ by a factor of eight even though they look nearly identical in a specification.

Value (bit) Converted (B)
1 0.125
2 0.25
5 0.625
10 1.25
25 3.125
50 6.25
100 12.5
500 62.5
1 000 125

Related conversions

All data conversions