An octet is a unit of digital information in computing that consists of eight bits. The term is often used when the term byte might be ambiguous, because there is actually no standard for the size of the byte (although octet and byte are often used interchangeably). Since an octet has 8 bits, 4 octets would have 32 bits (4x8=32).