555 Timer Calculator

Astable frequency, duty cycle and monostable pulse width — with full working.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The 555 timer is the most widely used analogue integrated circuit ever made — billions of units are shipped every year. It can operate as a free-running oscillator (astable mode), a one-shot pulse generator (monostable mode) or a simple flip-flop (bistable mode), all with just two or three passive components. This calculator handles the two timing modes, shows every intermediate step and lets you solve in reverse to find the component values for a target frequency or pulse width.

How the 555 timer works

Internally the 555 contains two comparators, an SR flip-flop, a discharge transistor and an output driver. Two precision resistors divide the supply into thirds, setting the comparator thresholds at 1/3 V_cc (lower, for the trigger) and 2/3 V_cc (upper, for the threshold pin). The capacitor across pin 2/6 charges and discharges between these two rails, and the flip-flop toggles whenever the voltage crosses either threshold — producing a precise square wave whose timing depends only on R and C, not on V_cc.

Astable (oscillator) formulas

In astable mode the capacitor charges through R1 and R2 in series, then discharges through R2 alone:

T_high = ln(2) × (R1 + R2) × C ≈ 0.693 × (R1 + R2) × C

T_low = ln(2) × R2 × C ≈ 0.693 × R2 × C

f = 1 / (T_high + T_low) = 1.44 / ((R1 + 2R2) × C)

Duty = (R1 + R2) / (R1 + 2R2) × 100 %

The factor ln(2) ≈ 0.6931 is the fraction of the RC time constant required to charge (or discharge) from 1/3 V_cc to 2/3 V_cc, which is exactly one natural-log of 2. Because R1 always adds to the charge path, the duty cycle is always above 50 % in the standard configuration.

Monostable (one-shot) formula

In monostable mode the capacitor charges from 0 V until it reaches 2/3 V_cc, then the internal threshold comparator resets the output and the discharge transistor clamps the cap back to ground:

T_pulse = ln(3) × R × C ≈ 1.0986 × R × C

The factor ln(3) ≈ 1.0986 comes from solving the exponential charging equation V(t) = V_cc × (1 − e^(−t/RC)) for V = 2/3 V_cc: t = −RC × ln(1 − 2/3) = RC × ln(3). Datasheets round this to 1.1 × R × C, giving an error of less than 0.1 %.

Worked example — astable LED blinker at 1 Hz

Choose R1 = 1 kΩ, R2 = 71.5 kΩ, C = 10 µF:

QuantityCalculationResult
T_high0.693 × (1 k + 71.5 k) × 10 µF502 ms
T_low0.693 × 71.5 k × 10 µF495 ms
T_total502 + 495 ms997 ms
Frequency1 / 0.997 s1.003 Hz
Duty cycle(1 k + 71.5 k) / (1 k + 143 k)50.3%

The LED is on for 502 ms and off for 495 ms — close enough to 1 Hz for any visual indicator. In practice a 68 kΩ standard E12 resistor for R2 gives 0.96 Hz; a 75 kΩ gives 1.04 Hz.

Worked example — monostable 100 ms debounce

Choose R = 9.1 kΩ, C = 10 µF:

T = ln(3) × 9.1 kΩ × 10 µF = 1.0986 × 9 100 × 0.000 01 = 100 ms

A single button press latches the output HIGH for exactly 100 ms regardless of contact bounce, then the output goes LOW until the next trigger edge. Use R values up to ~10 MΩ and capacitors up to ~100 µF to extend the pulse to tens of seconds.

Practical design tips

The 555 output can source or sink up to 200 mA (NE555 bipolar), making it able to drive a relay, buzzer or motor directly without a buffer. The CMOS variants (TLC555, LMC555) draw only microamps of quiescent current but have lower output drive (~10 mA). For frequencies above ~100 kHz, parasitic capacitance from breadboard wiring dominates; use short PCB traces and a small 10 nF decoupling capacitor between V_cc and GND close to pin 8. Electrolytic capacitors above 10 µF have substantial leakage, which shifts long-period timing — use tantalum or film capacitors for delays above a few seconds.

Every result is computed entirely in your browser — no data is transmitted to any server.

Ad placeholder (rectangle)