74HC04 Pinout
74HC04 Hex Inverter · Hex inverter (NOT gate); commonly used for logic-level shaping/inversion.
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | 1A | Input | Inverter 1 input |
| 2 | 1Y | Output | Inverter 1 output |
| 3 | 2A | Input | Inverter 2 input |
| 4 | 2Y | Output | Inverter 2 output |
| 5 | 3A | Input | Inverter 3 input |
| 6 | 3Y | Output | Inverter 3 output |
| 7 | GND | GND | Ground |
| 8 | 4Y | Output | Inverter 4 output |
| 9 | 4A | Input | Inverter 4 input |
| 10 | 5Y | Output | Inverter 5 output |
| 11 | 5A | Input | Inverter 5 input |
| 12 | 6Y | Output | Inverter 6 output |
| 13 | 6A | Input | Inverter 6 input |
| 14 | VCC | Power | Supply + (2–6V) |
How to read the 74HC04 pinout
- 01
Find pin 1
One end of the chip has a half-circle notch or a dot; with the notch facing up, the top-left pin is pin 1.
- 02
Count counter-clockwise
Count counter-clockwise from pin 1: go down the left side first, then up the right side from the bottom.
- 03
Check the table below
Look up each pin's function by number in the table below; power/ground are color-coded, and alternate-function signals are in parentheses.
Frequently asked questions
How do I handle unused input pins?
CMOS inputs must not float; tie unused inputs to GND or VCC to avoid noise and excess current draw.
What's the difference between 74HC and 74LS04?
HC is CMOS (low power, wide voltage 2–6V); LS is TTL (5V). Same pinout, different electrical characteristics.
Pinout data comes from NXP/TI 74HC04 datasheet (standard DIP-14 numbering). Refer to the actual device datasheet as authoritative for the pinout.