74LS157 Quad 2-to-1 multiplexer

The 74LS157 holds four 2-to-1 multiplexers with a common select S and a common active-low enable G′. With S low, every output Y follows its A input; with S high, its B input. With G′ high, all four outputs are low.

74LS157 pinout

VCCSG′1A4A1B4B1Y4Y2A3A2B3B2Y3YGND1611521431341251161079874LS157

Top view of the 16-pin DIP package. Pin 1 is at the bottom left, beside the notch, and the numbers run anticlockwise. Power is on pin 16 (VCC, +5 V) and pin 8 (GND).

PinNameTypeWhat it is
1SInputInput
21AInputInput
31BInputInput
41YOutputTotem-pole output
52AInputInput
62BInputInput
72YOutputTotem-pole output
8GNDGround0 V
93YOutputTotem-pole output
103BInputInput
113AInputInput
124YOutputTotem-pole output
134BInputInput
144AInputInput
15G′InputInput, active-low
16VCCPower+5 V supply

74LS157 function table

One section of the 74LS157
G′SY
1X0
00A
01B

X is either value.

What the 74LS157 is used for

  • Switching a 4-bit bus between two sources
  • Choosing between two operands ahead of an adder
  • Implementing four simple functions of the select and two data inputs

Electrical summary

Package16-pin DIP
Supply voltage5 V (4.75 V to 5.25 V)
Supply current, typical9.7 mA
Output typeTotem-pole — drives both high and low
Output current, lowsinks up to 8 mA
Output current, highsources up to 0.4 mA
Input current, low0.4 mA out of each input held low
Fan-outone output can drive about 20 LS inputs

Typical figures for quick reference when planning a board. Check the manufacturer's datasheet for limits and timing before committing a design. The 74HC157 and 74HCT157 use the same pin numbers, with different electrical values.

Try the 74LS157 on a breadboard

The Breadboard Simulator has the 74LS157 in its parts library: seat it on a virtual breadboard, wire it, power the board and probe the pins before you build the real thing.

Related chips

Build it before you build it.

Seat real 74-series chips on a virtual breadboard, wire them and probe every pin.