
- Binary Decoder Definition: A binary decoder is a logic circuit that converts n binary inputs into 2^n unique outputs.
- Truth Table: A truth table shows the output states of a decoder for every possible input combination.
- Enable Pin: The decoder operates only when the enable pin is high; otherwise, all outputs are low.
- Output Logic: For each input combination, a specific output line goes high, demonstrating the decoder’s function.
- Basic Binary Decoder Applications: Used in data multiplexing, seven-segment displays, and other digital systems.
What is a Binary Decoder?
A binary decoder is a combinational logic circuit that maps an n-bit input code to one of up to 2n output lines. The selected output level and enable condition depend on the circuit. Decoders are used for address selection, data multiplexing, demultiplexing and seven segment displays.
In a one-of-N decoder, the binary value on the input lines selects one output line.
The circuit therefore maps each valid input code to a defined output condition.
Signal polarity matters. Some devices assert the selected output high, while others assert it low. Enable inputs can also be active high or active low.
The following active-high example shows the basic decoding operation.
Figure 1 shows one active-high enable input and three binary select inputs. Three input bits can select one of eight outputs because 23 = 8.
A decoder’s truth table lists the output condition for every combination of select and enable inputs.
Table I applies to the active-high circuit in Figure 1. When its enable input is low, every output is low regardless of the select code. This disabled behaviour is not universal; an active-low decoder can hold all outputs high when disabled.
A low enable places this example in its disabled condition. A combinational decoder has no stored value to reset.
For this example, the enable input must be high before an output can be selected.
With the example enabled and I2I1I0 = 000, output O0 is high while O7 through O1 remain low.
For input code 001, only O1 is high. Each remaining code selects the output with the corresponding binary index:
O2 is high for 010, O3 for 011, O4 for 100, O5 for 101, O6 for 110 and O7 for 111.
The image above gives the Boolean equations for the active-high three-to-eight decoder in Figure 1.

Equations (1) to (8) can be implemented with an AND gate for each output and shared NOT gate stages, as Figure 2 shows.
Each output is the AND of the enable signal and the required true or complemented form of every select input. The blue lines carry true inputs, the red lines carry complements and the black line carries enable.
The same one-of-2n selection principle applies to a general n-input decoder.
A physical decoder may provide fewer than 2ⁿ outputs or use different enable and output polarities, so its truth table and data sheet control.
Common applications include memory address decoding, chip-select generation, data routing and code conversion for a seven segment display.
Video Explanation of a Binary Decoder
The video below gives another explanation of binary decoders.





