Main menu
Definition

Octet

An octet is an eight-bit byte. Learn why networking standards use the word octet instead of byte, how octets make up IPv4 addresses, and how they appear elsewhere in networking.

DTDevolutions Team·November 12, 2026·2 min read

What is an octet?

An octet is a unit of digital data made of exactly eight bits. Each bit is a 0 or a 1, so an octet can represent 256 different values, from 0 to 255 in decimal or 00 to FF in hexadecimal. Today, a byte is almost always eight bits too, so the two words usually mean the same thing in everyday use.

How are octets used?

Octets are the basic building block of many network protocols:

  • IPv4 addresses are made of four octets, written in decimal and separated by dots, such as 192.168.10.5. Each of the four numbers is one octet, which is why each is between 0 and 255.
  • MAC addresses are six octets, written as pairs of hexadecimal digits.
  • Protocol headers, such as those in TCP and IP, are defined octet by octet in their specifications.
  • Data streams, such as TCP connections, are described as streams of octets.

In French and some other languages, octet is also the everyday word for byte, as in "mégaoctet" (megabyte).

Octet vs. byte

Historically, a byte was the number of bits a computer used to store one character, and some early computers used bytes of six, seven, or nine bits. Networking standards adopted "octet" to remove any doubt: an octet is always eight bits. A byte is eight bits on virtually all modern systems.

Why does an octet matter?

Understanding octets makes it easier to read IP addresses, subnet masks, and packet captures. For example, a /24 subnet keeps the first three octets of an IPv4 address fixed and leaves the last octet for hosts, which is why such a subnet has addresses from .0 to .255.

Frequently asked questions

What is an octet?

An octet is an eight-bit byte, a unit of data that can represent 256 values, from 0 to 255.

Why is it called an octet and not a byte?

"Octet" always means exactly eight bits, while "byte" historically varied between systems. Networking standards use octet to be precise.

How many octets are in an IPv4 address?

Four. An IPv4 address is 32 bits, made of four octets written as decimal numbers separated by dots.

Connect to every host by address or name

Centralize RDP, SSH, VNC, web, and cloud console connections in one app.

Explore Remote Desktop Manager

Related terms

IP address

An Internet Protocol (IP) address is a unique number identifying a hardware device that connects to a network.

Read now →

Packet

A packet is a section of data that has been divided into several pieces for easier transfer and is later reassembled with its counterparts to form a whole.

Read now →

Transmission Control Protocol (TCP)

Transmission Control Protocol (TCP) is a communication standard for establishing and maintaining a two-way delivery stream of octets between two endpoints on a shared network.

Read now →