Conversion from 5 Bits to Octets

=

Invert

Formula to convert Bits (bit) to Octets (octet)

More information

Bits to Octets conversion table

Bits (bit)Octets (octet)
1 Bit0.125 octet
2 Bits0.25 octet
3 Bits0.375 octet
4 Bits0.5 octet
5 Bits0.625 octet
10 Bits1.25 octet
20 Bits2.5 octet
25 Bits3.125 octet
50 Bits6.25 octet
100 Bits12.5 octet

Data reference points

ReferenceBits (bit)Octets (octet)
A plain text message (160 characters)1280 bit160 octet
A three-minute MP324000000 bit3000000 octet
A smartphone photo32000000 bit4000000 octet
A high-definition film3.2 × 1010 bit4 × 109 octet
A dual-layer Blu-ray disc4 × 1011 bit5 × 1010 octet

Try our other unit converters

LengthMassTemperatureEnergyVolumeSpeedTimeDataPressureFrequencyData-transfer rateVolumetric flow rateAngleArea

Information about the Bit (bit)

The bit is the fundamental unit of information. Its symbol is bit, and its name is a contraction of binary digit, coined by the statistician John Tukey and put into print by Claude Shannon in his 1948 paper A Mathematical Theory of Communication, the work that founded information theory.

A bit is the amount of information carried by a single choice between two equally likely possibilities. A coin landing heads or tails, a switch open or closed, a voltage high or low: each of those settles one bit. That definition is what makes the bit a unit rather than a mere convention of notation. It measures how much uncertainty an answer removes, and it does so in a way that is independent of what the question was about.

Shannon's insight was that this could be counted. A message drawn from an alphabet of thirty-two equally likely symbols carries five bits per symbol, because thirty-two is two to the fifth. If the symbols are not equally likely — as letters in English are not — the average drops, and that gap between the naive count and the true average is exactly what compression exploits. A well-compressed file is one from which the redundant bits have been removed.

In hardware the bit is a physical state: a charge trapped on a floating gate in flash memory, the direction of magnetisation of a domain on a hard disc platter, a pit or land on an optical disc, a pulse of light present or absent in a fibre. All of these encode the same abstract quantity, which is why data can move between them without loss.

Bits are almost never counted singly in storage. They are grouped into octets of eight, and storage capacity is quoted in octets or their multiples. Transmission is different: network and interface speeds are quoted in bits per second, so a connection described as 100 megabits per second delivers about 12.5 megaoctets per second. Confusing the two is the commonest arithmetic error in the whole field.

Where single bits do get counted is in specifications of precision and range. A colour channel with 8 bits holds 256 levels; one with 10 bits holds 1,024. Audio at 16 bits per sample has about 96 decibels of dynamic range, and at 24 bits about 144. A 64-bit address can name about 18 quintillion locations. In every case, each added bit doubles what can be distinguished.

One bit equals 0.125 octets, 0.001 kilobits, or about 0.0009766 kibibits.


Information about the Octet (octet)

The octet is a unit of digital information equal to exactly eight bits. Its symbol is octet, and its name comes from the Latin for a group of eight. It is the unit in which nearly all stored data is counted, and the reason it is called an octet rather than a byte is worth knowing.

A byte was originally the number of bits a machine used to hold one character, and that number was not fixed. Early computers used six-bit bytes, some used seven, and a few used nine. The IBM System/360 of 1964 settled on eight and its commercial success made eight the norm, but the word byte kept its older, machine-dependent meaning in specifications where ambiguity was dangerous.

The networking world therefore adopted octet. When a protocol standard says a header field is four octets long, no reader anywhere can interpret that as anything but thirty-two bits. The internet standards published by the IETF use octet throughout for exactly that reason, and French, Romanian and several other languages adopted the word for ordinary use as well, so that a hard disc sold in France is measured in gigaoctets.

Eight bits hold 256 distinct values, which is why so many things come in units of 256. A colour channel runs from 0 to 255. An IPv4 address is four octets, written as four numbers each between 0 and 255. The original ASCII character set used seven bits, leaving one spare, and the various eight-bit extensions that followed each filled that spare bit with a different set of accented letters — the mess that Unicode eventually replaced.

Modern text encoding still counts in octets. UTF-8 uses one octet for the unaccented Latin alphabet, two for most European accented letters and Greek and Cyrillic, three for Chinese, Japanese and Korean, and four for the rest. That is why the same sentence occupies different amounts of storage in different languages, and why a text-length limit measured in octets is not a limit on characters.

Storage capacity, file sizes, memory and network payloads are all quoted in octets or their multiples. Transmission rates are the exception, being quoted in bits per second, and the factor of eight between the two conventions is the single most common source of confusion in the field.

One octet equals 8 bits, 0.008 kilobits, or 0.001 kilooctets.