Counter Designer

Counter designer — 7 counter types, lockout-checked, built as real ICs.

Pick a counter type — binary, BCD, Gray code, ring, Johnson, mod-N, or a fully custom sequence — choose your flip-flop and count direction, and LogicBench derives the complete design.

The parts that are easy to get wrong doing this by hand are handled automatically: unused states in a custom or non-power-of-two sequence are checked for lockout — states the counter could get permanently stuck in if it ever powers up wrong — with an option to auto-wire every unused state back into the valid sequence for a self-starting design. From there LogicBench derives the state table, minimizes it, and gives exact D, JK, or T flip-flop excitation equations, plus a synced waveform. Then, unlike a calculator that stops at equations, the counter builds as a real sequential circuit — actual flip-flop ICs wired exactly as derived — that clocks through its real sequence on a breadboard and can be reused as a sub-circuit in a larger design.

Screenshot of the LogicBench Counter Designer — Counter designer — 7 counter types, lockout-checked, built as real ICs.
Open Counter Designer
How it works

4 steps, no signup.

01

Choose a sequence

Pick binary, BCD, Gray, ring, Johnson, mod-N, or type your own custom count sequence.

02

Pick flip-flop & direction

Choose D, JK, or T flip-flops, and count-up, count-down, or up/down direction.

03

Check for lockout

Unused states are checked automatically, with an option to auto-recover every one into the valid sequence.

04

Build the real counter

Exact flip-flop excitation equations are derived and built as real ICs, reusable as a sub-circuit.

Built for the whole bench

Solve it here, then wire it for real.

Every result in the Digital Logic Suite can be built directly in LogicBench’s simulator with real 74-series ICs — no retyping equations, no redrawing circuits by hand.

Launch the simulator
Common questions

FAQ

What is a synchronous counter?

A synchronous counter is a sequential circuit where all flip-flops are triggered by the same clock signal simultaneously, changing state together — as opposed to an asynchronous (ripple) counter, where each flip-flop triggers the next.

Which counter types are supported?

Binary, BCD (0–9), Gray code, ring, Johnson, mod-N, and fully custom count sequences — seven counter types in total, each with a choice of D, JK, or T flip-flops and count direction.

Can I design a counter with a custom count sequence?

Yes — enter any custom sequence and LogicBench checks it for lockout (unused states the counter could get permanently stuck in) before deriving the state table and flip-flop equations, with an option to auto-recover unused states for a self-starting design.

What does 'lockout' mean for a counter, and why does it matter?

If a counter's modulus isn't a power of two, some flip-flop state codes are never used in the normal sequence. If the hardware powers up or glitches into one of those unused states, an unchecked design can get stuck there forever — that's lockout. LogicBench flags every unused state and can auto-wire them back into the valid sequence.

Can I build the counter as a real, working circuit?

Yes — the derived flip-flop excitation equations build directly in LogicBench's simulator as real flip-flop ICs on a breadboard, clocking through the actual designed sequence. The built counter can be extended or reused as a sub-circuit elsewhere.

More in the suite

The rest of the Digital Logic Suite.

Start solving — no signup.

Free, in your browser, and connected to a real IC simulator.

Open the tool