74LS21 Dual 4-input AND gate

The 74LS21 holds two independent 4-input AND gates. Each output is high only when all four of its inputs are high. Pins 3 and 11 are not connected.

74LS21 pinout

VCC1A2D1B2CNCNC1C2B1D2A1Y2YGND141132123114105968774LS21

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

PinNameTypeWhat it is
11AInputInput of gate 1
21BInputInput of gate 1
3NC—Not connected
41CInputInput of gate 1
51DInputInput of gate 1
61YOutputTotem-pole output
7GNDGround0 V
82YOutputTotem-pole output
92AInputInput of gate 2
102BInputInput of gate 2
11NC—Not connected
122CInputInput of gate 2
132DInputInput of gate 2
14VCCPower+5 V supply

74LS21 truth table

Truth table for one AND gate of the 74LS21
ABCDY
00000
00010
00100
00110
01000
01010
01100
01110
10000
10010
10100
10110
11000
11010
11100
11111

What the 74LS21 is used for

  • Four-literal product terms, such as the minterms of a four-variable function
  • Detecting one 4-bit value

Electrical summary

Package14-pin DIP
Supply voltage5 V (4.75 V to 5.25 V)
Supply current, typical1.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 74HC21 and 74HCT21 use the same pin numbers, with different electrical values.

Try the 74LS21 on a breadboard

The Breadboard Simulator has the 74LS21 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.