How Does a Multiplexer Select Signals?
- Starter
- Article
- Ages 10+
- 5 min read

A multiplexer (MUX for short) is a circuit that takes several input signals and passes just one of them to its output. A select signal decides which one gets through. It works like a multi-way switch whose operator is another circuit.
Contents
- Four input signals (four lines in four colours)
- Multiplexer (trapezoid)
- The one output signal (green line with arrow)
- Control input (stem with a dot)
What you will learn
- Describe what a multiplexer takes in and what it gives out.
- Explain the role of the select line in the two-input circuit.
- Name one place a CPU uses a multiplexer.
Before you start
You only need to know that a digital signal is an on or off level, a one or a zero. Every other term is explained as it comes up.
What does a multiplexer take in and give out?
It takes several data inputs and a control input, and gives one output. A multiplexer is a multi-channel switch that picks one input based on a control input and sends it to the output.
There can be more than two inputs. A 4-to-1 multiplexer has four data inputs and two select lines. Even so, it still gives one output. Nor is it limited to one wire: a multiplexer can work on single-bit signals as well as multi-bit buses.
How does the two-input circuit choose?
The select signal takes two values, so it can choose one of two inputs. The simplest 2-to-1 multiplexer has two data inputs, one control input and one output. When the control input is zero the first data input is routed to the output; when it is one the second is routed.
Inside there are only a few logic gates: an inverter, two AND gates that pair each data input with the right select signal, and one OR gate that combines the results. The inverter makes the opposite of the select signal. Each AND gate lets its own input through only when the select signal matches. The OR gate gathers the result into one output, and because only one AND gate is open, only one input passes.
- Two data inputs (yellow and black tracks)
- Chosen path going out (green) and unchosen path (dashed)
- Junction
- Selecting lever (the control input)
Choosing among more inputs needs more select lines: four inputs need two lines, because two select lines make four different combinations. That count follows from counting combinations.
Who decides the select signal?
Another part of the circuit. The control signals of a multiplexer come from other parts of the larger circuit, more often than not the control unit of the CPU.
Here is an example from a CPU: after each instruction an address must be chosen for the next one. An ordinary instruction just carries on in order. But for a branch instruction the next address must be a completely different one, the branch target. The two addresses are the two data inputs, the control unit sets the select signal by instruction type, and the multiplexer passes the right address to its output.
- Next instruction in order (upper box, yellow line)
- Branch target (lower box with red pointed mark, red line)
- Multiplexer (trapezoid) and its output (green line)
- Next instruction address (large box at right)
- Control input (stem with a dot)
Real-world example
Think of a railway where two lines merge into one: only one train goes at a time, and the person at the points decides which. The data inputs are the two lines and the select signal is the lever. This is only a memory aid.
Common misunderstandings
A multiplexer mixes the input signals together. It passes one signal, and the others do not affect the output.
It can only choose between two inputs. It can have many inputs; a 4-to-1 has four.
The multiplexer decides by itself what to pick. The select signal comes from another part of the circuit.
Frequently asked questions
How many outputs does a multiplexer have?
One, however many inputs it has.
What is the select line for?
It tells the multiplexer which input to pass to the output.
Where does a CPU use a multiplexer?
One place is choosing the next instruction address between carrying on and branching.
Terms in this article
English and Vietnamese terms, with the meanings used here. Hover, tap or Tab to a term with a dotted underline for an explanation as you read.
- multiplexerbộ ghép kênh
- A circuit that picks one of several input signals and passes it to a single output.
- select lineđường chọn
- A control input that tells a multiplexer which data input to choose.
- data inputđầu vào dữ liệu
- A line that carries a signal the multiplexer may choose to pass to the output.
This article is not marked as viewed
Spotted something wrong or unsafe?
Tell the administrator by email. The message already has the article title and address.
More in this topic
StarterWhat Is a Microchip?
Understand microchips, transistors and chip packages through a phone example, and distinguish a semiconductor material from a finished circuit.
5 min read
StarterWhat Is Inside a Microchip?
Explore the semiconductor base, transistors and chip package, and see how these parts form a component used in electronic devices.
5 min read
StarterHow Do Voltage Levels Represent Digital Signals?
See how chips read HIGH and LOW from voltage, how logic families set thresholds, and how a transistor switch flips a level.
5 min read
StarterHow Do Bits, Bytes and Machine Words Differ?
Compare bits, nibbles, bytes and machine words by length, and understand why a byte has a fixed size while word length depends on the design.
5 min read
Sources
These sources are written for older readers. If they feel hard, read them with an adult.
- Multiplexer (Cafiero, University of Vermont)(opens in a new tab)
University of VermontTier A: government, standards or research bodiesRead on November 15, 2026
