| Reference | Octets (octet) | Gigaoctets (Go) |
|---|---|---|
| A plain text message (160 characters) | 160 octet | 0.00000016 Go |
| A three-minute MP3 | 3000000 octet | 0.003 Go |
| A smartphone photo | 4000000 octet | 0.004 Go |
| A high-definition film | 4 × 109 octet | 4 Go |
| A dual-layer Blu-ray disc | 5 × 1010 octet | 50 Go |
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.
The gigaoctet is a unit of digital information equal to one thousand million octets, or eight gigabits. Its symbol is Go. It is the unit in which most things people actually buy are sized: the memory in a computer, the storage in a phone, the monthly allowance on a mobile contract.
The reference points are familiar. A DVD holds 4.7 gigaoctets and a dual-layer disc 8.5. A Blu-ray holds 25 or 50. A feature film in high definition is 4 to 15 gigaoctets depending on compression, and in ultra-high definition 40 or more. A phone with 128 gigaoctets of storage holds roughly thirty thousand photographs, or a few hundred hours of music.
Memory sizes now sit in this range and are stated in gibioctets even when written as gigaoctets. A module labelled 8 GB holds 8 gibioctets, which is 8.59 gigaoctets, because memory addressing is binary and always has been. The same is true of processor caches and of the page tables that map memory, so anything on the memory side of a computer is binary while anything on the storage side is decimal.
That split is the source of the most familiar consumer complaint about units. A hard drive sold as one teraoctet holds a million million octets, which the operating system divides by 1,024 three times and reports as 931 gigaoctets. Nothing has been lost; the drive holds exactly what the box says, but the two are counting in different bases. Lawsuits over this were settled in the manufacturers' favour, since the decimal usage matches the metric system.
Mobile data allowances made the gigaoctet a household figure. A few gigaoctets a month was generous around 2012 and is now minimal, because video dominates: an hour of standard-definition streaming is about 0.7 gigaoctets, an hour in high definition around 3, and an hour in ultra-high definition 7 or more.
For scale in text, a gigaoctet holds around a thousand full-length books as plain text, or the complete works of most authors many times over. Digital storage stopped being a constraint on text decades ago, and every capacity discussion since has really been about images, sound and video.
One gigaoctet equals 1,000,000,000 octets, 1,000 megaoctets, 8 gigabits, or about 0.9313 gibioctets.