| Reference | Octets (octet) | Kilobytes (kB) |
|---|---|---|
| A plain text message (160 characters) | 160 octet | 0.16 kB |
| A three-minute MP3 | 3000000 octet | 3000 kB |
| A smartphone photo | 4000000 octet | 4000 kB |
| A high-definition film | 4 × 109 octet | 4000000 kB |
| A dual-layer Blu-ray disc | 5 × 1010 octet | 50000000 kB |
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 kilobyte is a decimal SI unit of digital information equal to exactly 1,000 bytes, or 8,000 bits. Its symbol is kB, pairing a lowercase k for kilo with an uppercase B for byte. It is the first everyday multiple above the byte, though its name has long overlapped with the 1,024-byte binary kibibyte.
That overlap began as a handy shortcut. In binary hardware, two to the tenth power is 1,024 — only 2.4 per cent above one thousand — so early programmers called 1,024 bytes a kilobyte. As capacities scaled up, that small gap compounded. In 1998 the International Electrotechnical Commission fixed the kilobyte strictly at 1,000 bytes and introduced the kibibyte (KiB) for 1,024. Drive makers and macOS follow decimal kilobytes; Windows still counts in 1,024-byte steps while displaying KB.
In the early days of personal computing, the kilobyte spanned a machine's whole memory. The Sinclair ZX81 shipped with 1 kilobyte of RAM, the BBC Micro offered 16 or 32, and the Commodore 64 took its name from its 64 kilobytes. Even the Apollo Guidance Computer flew astronauts to the Moon with roughly 74 kilobytes of rope memory and 4 kilobytes of erasable core memory.
Today the kilobyte belongs to lean, structured files. A page of plain English prose occupies two to four kilobytes in UTF-8, a source-code module or JSON configuration file takes a few kilobytes, and an SVG icon or compressed thumbnail sits between one and thirty. Standard Ethernet frames carry up to 1.5 kilobytes of payload, making the unit the natural scale for network packets.
In web engineering, kilobytes still govern perceived speed. Trimming 50 kilobytes from a JavaScript bundle or compressing an image from 180 to 40 kilobytes perceptibly hastens mobile page loads, especially on congested cellular links where extra packets add round-trip latency.
Reading the case of both letters prevents two errors at once. Lowercase k with uppercase B means 1,000 bytes; uppercase KB informally signals 1,024 binary bytes; and lowercase kb means 1,000 bits, one eighth the size.
One kilobyte equals 1,000 bytes, 8,000 bits, 8 kilobits, 0.001 megabytes, or about 0.9766 kibibytes.