Skip to main content
PartAndStock
Blog

What Is the CD4017? Decade Counter: Pinout, Operation and Uses

October 11, 2026 6 min read
Quick answer

The CD4017 is a 10-output decade counter/divider. On each clock pulse exactly one output goes high in sequence (0→9→0). It is used in LED running-light (chaser), sequential timing and frequency-division (÷10) circuits and is classically driven by an NE555 oscillator. The output pin order is scattered (Q0=pin 3).

The CD4017 is a 10-output decade counter / divider. On each clock pulse exactly one of its outputs goes "high" in sequence (0→1→2…→9→0). This makes it the classic part for LED running-light (chaser), sequential timing and frequency-division circuits. For the concept, see sequential logic (shift register).

What is the CD4017 used for?

Running lights (LED chaser/sequencer), step sequencing, frequency division (÷10), simple counters and timers. A classic application takes the clock from an NE555 oscillator and uses the CD4017 to light 10 LEDs in sequence.

CD4017 pinout (16 pins) — outputs are scattered

PinFunctionPinFunction
1Q516VCC
2Q115Reset (MR)
3Q014Clock (CLK)
4Q213Clock Inhibit (CE)
5Q612Carry Out (÷10)
6Q711Q9
7Q310Q4
8GND9Q8

The output numbers are not laid out in pin order (Q0=pin 3, Q1=pin 2, Q2=pin 4…); watch the pinout when wiring LEDs.

Control pins

  • CLK (pin 14): the counter advances one step on each rising edge.
  • CE / Clock Inhibit (pin 13): set high to stop counting (usually tied to GND).
  • MR / Reset (pin 15): set high to return the counter to Q0 (usually tied to GND).
  • Carry (pin 12): gives one pulse every 10 counts → for chaining 4017s.

Limitations

  • It is CMOS; unused inputs must not be left floating (tie to GND/VCC).
  • Output current is limited; a strong load needs a driver.

CD4017 equivalents and alternatives

  • CD4022: the 8-output (octal) sibling.
  • 74HC4017: the faster HC-family version.
  • 74HC595: when you need an arbitrary pattern (full control, not a counter).

Find it in our catalog

To compare price and stock for the CD4017 and its alternatives, use the CD4017 search.

Frequently Asked Questions

What is the CD4017?+
The CD4017 is a 10-output decade counter/divider. On each clock pulse exactly one output goes high in sequence; it is used in LED running-light (chaser) and sequential-timing circuits.
What is the CD4017 pinout?+
16 pins; the outputs are scattered: Q0=pin 3, Q1=pin 2, Q2=pin 4, Q3=pin 7, Q4=pin 10, Q5=pin 1, Q6=pin 5, Q7=pin 6, Q8=pin 9, Q9=pin 11. CLK=14, Reset=15, Carry=12, GND=8, VCC=16.
How does the CD4017 work?+
CLK (pin 14) advances the counter one step on each rising edge; the current output goes high. Reset (15) returns it to Q0 and Clock Inhibit (13) stops counting; both are usually tied to GND.
How is the CD4017 used with a 555?+
A classic LED chaser: an NE555 astable oscillator pulses the CD4017's CLK input, and the CD4017 lights 10 LEDs in sequence.
What is a CD4017 equivalent?+
The 8-output sibling CD4022; the fast version 74HC4017; the 74HC595 for an arbitrary pattern (instead of a counter).