WattBench

555 Timer Astable Calculator

Calculate the frequency, high and low times and duty cycle of a 555 timer running as an astable oscillator.

How it works

thigh = ln2 × (R1 + R2) × C   |   tlow = ln2 × R2 × C   |   f = 1 / (thigh + tlow) ≈ 1.44 / ((R1 + 2 R2) C)

In the standard astable circuit the capacitor charges through R1 + R2 and discharges through R2 only, so the output is high longer than it is low. The duty cycle is therefore always above 50%: D = (R1 + R2) / (R1 + 2 R2).

Real timers vary with the chip (NE555, LMC555 and others), supply voltage and component tolerance. Use the result as a starting point and check your datasheet for minimum resistor values.

Frequently asked questions

How can I get a 50% duty cycle?

Make R1 much smaller than R2 to get close to 50%. For exactly 50%, add a diode across R2 or use a different circuit, such as a flip-flop divider on the output.

What is the difference between astable and monostable?

An astable 555 oscillates continuously. A monostable 555 produces one output pulse of a fixed length each time it is triggered.

What limits the maximum frequency?

The internal comparators and the discharge transistor. Standard bipolar 555 timers work up to a few hundred kilohertz, and CMOS versions go higher. Check the datasheet.

More calculators

Need a custom calculator or an electronics project?

I take on small freelance jobs: Arduino and Raspberry Pi projects, Python scripts and small PCB designs.

See what I can build