The CD4017B IC is a widely used CMOS decade counter designed for sequencing, counting, and timing applications in digital electronics. This article will discuss the CD4017B overview, pinout details, logic and timing diagrams, specifications, features, working principles, cascading methods, and more.

The CD4017B Decade Counter IC is a CMOS digital integrated circuit designed to count clock pulses and provide ten sequential decoded outputs. It operates as a Johnson counter, where each incoming clock signal shifts the active HIGH output from one pin to the next. This allows the device to count from 0 to 9 repeatedly in a continuous cycle.
Internally, the CD4017B combines flip-flops and decoding logic to ensure that only one output (Q0–Q9) is HIGH at any time. It features control inputs such as clock, clock enable, and reset, which allow precise control over counting, pausing, and restarting the sequence. The IC supports a wide operating voltage range and offers stable, low-power CMOS performance.




| Pin No. | Pin Name | Type | Description |
| 1 | Q5 | Output | Decoded output 5 goes HIGH on the 6th clock pulse |
| 2 | Q1 | Output | Decoded output 1 goes HIGH on the 2nd clock pulse |
| 3 | Q0 | Output | Decoded output 0 goes HIGH on the 1st clock pulse (initial state) |
| 4 | Q2 | Output | Decoded output 2 goes HIGH on the 3rd clock pulse |
| 5 | Q6 | Output | Decoded output 6 goes HIGH on the 7th clock pulse |
| 6 | Q7 | Output | Decoded output 7 goes HIGH on the 8th clock pulse |
| 7 | Q3 | Output | Decoded output 3 goes HIGH on the 4th clock pulse |
| 8 | VSS / GND | Power | Ground (0V reference) |
| 9 | Q8 | Output | Decoded output 8 goes HIGH on the 9th clock pulse |
| 10 | Q4 | Output | Decoded output 4 goes HIGH on the 5th clock pulse |
| 11 | Q9 | Output | Decoded output 9 goes HIGH on the 10th clock pulse |
| 12 | Carry Out | Output | Used for cascading; outputs a signal every 10 clock pulses |
| 13 | Clock Enable | Input | Active LOW; disables counting when HIGH |
| 14 | Clock | Input | Clock input; advances count on rising edge |
| 15 | Reset | Input | Resets counter to Q0 (active HIGH) |
| 16 | VDD / VCC | Power | Positive supply voltage |
• CD4017BE
• MC14017B
• MC14017BCP
• HEF4017B
• HCF4017B
• TC4017BP

The CD4017B logic diagram shows a Johnson counter made of flip-flops and logic gates that generate ten sequential outputs (Q0–Q9). On each clock pulse, the internal flip-flops shift their state, turning ON one output at a time while all others remain LOW. The clock input advances the count, while the clock inhibit pin can pause the operation without resetting it. The reset input forces the counter back to Q0, ensuring a known starting point. The carry-out signal produces a pulse after ten counts, allowing multiple ICs to be connected for extended counting. Internal logic gates handle decoding, and protection circuits help protect the inputs from voltage stress.

The CD4017B timing diagram shows how the outputs change in sequence with each clock pulse. When the reset is active, the counter starts at Q0, making it HIGH while all other outputs remain LOW. This establishes the initial state of the counter.
On every rising edge of the clock signal, the HIGH output shifts from one pin to the next (Q0 → Q1 → Q2 → … → Q9). Only one output is HIGH at a time, creating a clear step-by-step sequence. Each output stays HIGH for one clock cycle before moving to the next.
The clock inhibit signal can pause the counting process. When it is HIGH, the counter ignores clock pulses and holds its current output state until the inhibit signal goes LOW again.
The carry-out signal produces a pulse after completing the full sequence from Q0 to Q9. This pulse is used to cascade another CD4017B, allowing the counting range to be extended beyond ten steps.

| Parameter | Value |
| Supply Voltage (VDD) | 3V to 18V |
| Clock Frequency (5V) | 2.5 MHz |
| Clock Frequency (10V) | 5 MHz |
| Clock Frequency (15V) | 5.5 MHz |
| Clock Pulse Width (5V) | 200 ns |
| Clock Pulse Width (10V) | 90 ns |
| Clock Pulse Width (15V) | 60 ns |
| Clock Rise/Fall Time | Unlimited |
| Clock Inhibit Setup Time (5V) | 230 ns |
| Clock Inhibit Setup Time (10V) | 100 ns |
| Clock Inhibit Setup Time (15V) | 70 ns |
| Reset Pulse Width (5V) | 260 ns |
| Reset Pulse Width (10V) | 110 ns |
| Reset Pulse Width (15V) | 60 ns |
| Reset Removal Time (5V) | 400 ns |
| Reset Removal Time (10V) | 280 ns |
| Reset Removal Time (15V) | 150 ns |
| Input Voltage Range | -0.5V to VDD + 0.5V |
| Input Current | ±10 mA |
| Power Dissipation | 500 mW |
| Operating Temperature | -55°C to +125°C |
| Storage Temperature | -65°C to +150°C |
| Output Low Voltage (VOL) | ≤ 0.05 V |
| Output High Voltage (VOH) | ≈ VDD |
| Output Current (IOL) | Up to 6.8 mA |
| Output Current (IOH) | Up to -6.8 mA |
| Input Low Voltage (VIL) | 1.5V to 4V |
| Input High Voltage (VIH) | 3.5V to 11V |
| Quiescent Current (IDD) | 0.04 µA to 100 µA |
The CD4017B operates using fully static CMOS logic, meaning it does not require a minimum clock frequency to maintain its state. This allows the counter to hold its current output indefinitely without losing data, making it suitable for low-frequency and intermittent signal applications.
This IC supports medium-speed operation, typically reaching up to 10 MHz at VDD = 10V. It provides reliable performance for timing, sequencing, and control circuits without requiring high-speed design complexity.
The CD4017B provides ten fully decoded outputs (Q0–Q9). Only one output is HIGH at a time, simplifying circuit design by eliminating the need for additional decoding logic.
It uses a 5-stage Johnson counter design, which enables sequential counting with minimal internal circuitry. This configuration ensures smooth output transitions and efficient operation.
The clock input includes a Schmitt trigger, which improves noise immunity and ensures clean switching even with slow or noisy input signals. This makes the IC more stable in real-world conditions.
The clock inhibit feature allows users to pause the counting process without resetting the counter. When activated, the IC ignores clock pulses and maintains its current output state.
The CD4017B includes an active HIGH reset input that forces the counter back to Q0. This ensures predictable startup behavior and allows easy reinitialization during operation.
A built-in carry-out signal enables cascading multiple CD4017B ICs. This allows designers to extend the counting range beyond 10 outputs for larger sequencing systems.
The device operates over a wide supply voltage range of 3V to 18V, making it compatible with various power systems and suitable for both low-power and standard logic applications.
As a CMOS device, the CD4017B consumes very low power, especially in static conditions. This makes it ideal for battery-powered and energy-efficient designs.
The IC provides symmetrical output characteristics, ensuring consistent performance across all output pins. This helps maintain uniform timing and signal integrity in circuits.
The CD4017 IC is a decade counter that operates with a supply voltage typically between 3V and 15V, with 5V commonly used. To utilize it, connect the VDD pin to the positive supply and VSS to ground. The clock input (pin 14) receives pulses from a signal source such as a 555 timer or a microcontroller. Each clock pulse advances the output sequentially from Q0 to Q9, with only one output HIGH at a time. These outputs can be connected to LEDs or other loads to create visual or control sequences.
The counting process can be controlled using the Clock Enable (pin 13) and Reset (pin 15) pins. Keeping Clock Enable LOW allows normal counting, while setting it HIGH pauses the sequence. The Reset pin, when driven HIGH, immediately returns the output to Q0, restarting the cycle. The carry-out pin (pin 12) can be used to cascade multiple CD4017 ICs, allowing extended counting beyond ten steps.
The CD4017B cascading diagram shows how multiple CD4017 ICs are connected to extend the counting range beyond 10 outputs. In this setup, the carry-out signal from one IC is used to trigger the next stage, allowing the sequence to continue from one counter to another. This creates a longer counting chain, such as 20, 30, or more steps, depending on the number of ICs used.

Each stage receives the same clock signal, but the enable and reset connections control when the next counter becomes active. The first stage counts from Q0 to Q9, and once it completes its cycle, it enables the next stage to begin counting. This process repeats across intermediate and final stages, ensuring a smooth and continuous sequence.
Logic gates in the diagram help synchronize the transition between stages and maintain proper timing. Overall, cascading allows the CD4017B to be used in applications that require more than ten sequential outputs, such as extended LED chasers or multi-step control systems.