Conversion from 4 Bytes to Octets

=

Invert

Formula to convert Bytes (B) to Octets (octet)

More information

Bytes to Octets conversion table

Bytes (B)Octets (octet)
1 Byte1 octet
2 Bytes2 octet
3 Bytes3 octet
4 Bytes4 octet
5 Bytes5 octet
10 Bytes10 octet
20 Bytes20 octet
25 Bytes25 octet
50 Bytes50 octet
100 Bytes100 octet

Data reference points

ReferenceBytes (B)Octets (octet)
A plain text message (160 characters)160 B160 octet
A three-minute MP33000000 B3000000 octet
A smartphone photo4000000 B4000000 octet
A high-definition film4 × 109 B4 × 109 octet
A dual-layer Blu-ray disc5 × 1010 B5 × 1010 octet

Information about the Byte (B)

The byte is the fundamental addressable unit of digital information in modern computing, equal to exactly eight bits, or one octet. Its symbol is B. Nearly every file size, memory rating and storage capacity is counted in bytes or their decimal and binary multiples.

Werner Buchholz coined the word in 1956 during the design of the IBM 7030 Stretch computer, deliberately spelling it with a y so a typesetting slip could not turn it into bit. Early machines used bytes of five, six, seven or nine bits; the commercial dominance of the IBM System/360 in 1964 and eight-bit microprocessors in the 1970s cemented eight bits as the norm, later codified in ISO/IEC 80000-13.

Eight bits yield 256 distinct patterns, running from 0 to 255 in unsigned arithmetic. That power of two splits cleanly into two four-bit nibbles, each written as one hexadecimal digit from 0 to F, so any byte fits in two characters from 00 to FF. That convenience explains why colour channels run from 0 to 255 and why memory dumps appear in pairs of hexadecimal digits.

Text encoding grew up around the byte. Original ASCII needed seven bits for English letters, digits and control codes, leaving the eighth bit spare for parity or national extensions. UTF-8, the web's dominant encoding, still stores text as byte sequences: one byte for basic Latin, two for accented European letters, Greek, Cyrillic and Arabic, three for Chinese, Japanese and Korean, and four for emoji.

Inside a processor, bytes assemble into larger types: a standard integer takes four bytes, a double-precision floating-point number eight, an IPv4 address four and an IPv6 address sixteen. Because early width variations lingered in telecoms, French usage and IETF internet standards still prefer octet to guarantee eight bits.

Capitalisation matters sharply. Uppercase B denotes a byte, whereas lowercase b denotes a bit, one eighth as large. Mixing them creates an eightfold error, especially when comparing file sizes in bytes against network speeds in bits per second.

One byte equals 8 bits, 1 octet, 0.008 kilobits, or 0.001 kilobytes.


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.

Try our other unit converters

LengthMassTemperatureEnergyVolumeSpeedTimeDataPressureFrequencyData-transfer rateVolumetric flow rateAngleAreaPowerTorqueForceFuel economyDensityElectric chargeTypographyIlluminanceLuminanceAccelerationAngular velocityRadioactivityRadiation doseShoe & clothing sizes