Browse Definitions :
Definition

nibble

What is a nibble?

In computing and digital technology, a nibble is four consecutive binary digits or half of an 8-bit byte. When referring to a byte, it is either the first four bits or the last four bits, which is why a nibble is sometimes referred to as a half-byte. The term nibble also carries on the "edible data" metaphor established with bit and byte. Due to its byte connection, a nibble is occasionally spelled nybble or nyble.

Because a nibble is made up of binary data, each of the four digits is either a 0 or 1, in any combination, as in 0010, 0110, 1011 or 1111. The total number of possible combinations is 16, calculated as 24. A nibble can also be represented by a hexadecimal digit. Hexadecimal is a base-16 numbering system that uses the digits 0 through 9 and the letters A through F to represent data, including nibbles and bytes. Figure 1 shows each possible bit combination in a nibble, along with its hexadecimal and decimal equivalent.

Nibble vs. hexadecimal vs. decimal
Figure 1 illustrates each possible bit combination in a nibble (binary), along with its hexadecimal and decimal equivalent.

Two-digit hexadecimal numbers are used to represent bytes, which are made up of two consecutive nibbles. Figure 2 shows the digital data from a small text file based on American Standard Code for Information Interchange (ASCII) text encoding. Figure 2 includes both the binary data and the corresponding hexadecimal digits (in the rightmost column). Each row, except the last, contains four bytes, separated by spaces.

Digital data from a small ASCII text file
Figure 2 illustrates the digital data from a small text file based on the ASCII text encoding, both the binary data and the corresponding hexadecimal digits (in the rightmost column).

The first byte (01010100) in the first row is highlighted, as is its corresponding hexadecimal code (54). The highlighted byte is the ASCII letter T (uppercase), which is ASCII code 084. The first nibble in the byte, 0101, is represented by the hexadecimal number 5, and the second nibble in the byte, 0100, is represented by the hexadecimal number 4, resulting in a byte hexadecimal value of 54.

What is a nibble in communications?

In communications, a nibble is sometimes referred to as a quadbit. As with any nibble, the quadbit is 4 bits and has 16 possible combinations. A signal might be encoded in quadbits rather than one bit at a time. Nibble interleaving, a process used in multiplexing, takes a quadbit from a lower-speed channel as input for a multiplexed signal on a higher-speed channel.

wireless multiplexing transmission compared
Figure 3. Nibble interleaving is a process used in multiplexing communications. With nibble interleaving, a quadbit is taken from a lower-speed channel as input for a multiplexed signal on a higher-speed channel.

See also: most significant bit, bitwise, bit stuffing, bit rot, qubit and classical computing.

This was last updated in November 2022

Continue Reading About nibble

Networking
Security
  • Mitre ATT&CK framework

    The Mitre ATT&CK (pronounced miter attack) framework is a free, globally accessible knowledge base that describes the latest ...

  • timing attack

    A timing attack is a type of side-channel attack that exploits the amount of time a computer process runs to gain knowledge about...

  • privileged identity management (PIM)

    Privileged identity management (PIM) is the monitoring and protection of superuser accounts that hold expanded access to an ...

CIO
HRSoftware
  • employee resource group (ERG)

    An employee resource group is a workplace club or more formally realized affinity group organized around a shared interest or ...

  • employee training and development

    Employee training and development is a set of activities and programs designed to enhance the knowledge, skills and abilities of ...

  • employee sentiment analysis

    Employee sentiment analysis is the use of natural language processing and other AI techniques to automatically analyze employee ...

Customer Experience
  • customer profiling

    Customer profiling is the detailed and systematic process of constructing a clear portrait of a company's ideal customer by ...

  • customer insight (consumer insight)

    Customer insight, also known as consumer insight, is the understanding and interpretation of customer data, behaviors and ...

  • buyer persona

    A buyer persona is a composite representation of a specific type of customer in a market segment.

Close