555 Timer Calculator: Astable, Monostable & Diode
Calculate frequency, pulse width, and duty cycle for standard astable, diode astable, and monostable modes. Find nearest E24/E96 resistors.
How it works
The 555 timer IC is one of the most popular and versatile chips ever produced. It can be configured in three primary modes:
1. Monostable Mode (One-Shot Pulse)
The timer outputs a single pulse of duration T when triggered via Pin 2. Set by one resistor (R) and one capacitor (C):
T = 1.1 × R × C
2. Standard Astable Mode (Oscillator, Duty > 50%)
The timer outputs a continuous square wave. Capacitor C charges through (R1 + R2) and discharges through R2:
High Time: t1 = 0.693 × (R1 + R2) × C
Low Time: t2 = 0.693 × R2 × C
f = 1.44 / ((R1 + 2×R2) × C)
Duty Cycle = (R1 + R2) / (R1 + 2×R2)
Note: Because charging goes through both R1 and R2 while discharge goes only through R2, duty cycle in standard mode is always > 50%.
3. Astable with Diode Mode (Duty ≤ 50% Possible)
Adding a fast switching diode (like 1N4148) in parallel with R2 (anode at pin 7 / R1-R2 junction, cathode toward pins 2 and 6) bypasses R2 during charging. C charges solely through R1 and discharges through R2:
High Time: t1 = 0.693 × R1 × C
Low Time: t2 = 0.693 × R2 × C
f = 1.44 / ((R1 + R2) × C)
Duty Cycle = R1 / (R1 + R2)
Note: The diode's forward voltage drop makes real-world values deviate slightly from ideal equations.
Worked example
Monostable Worked Example
Using R = 10 kΩ and C = 10 µF:
- T = 1.1 × R × C = 1.1 × 10,000 × 0.00001
- T = 0.11 s (110 ms)
Standard Astable Worked Example
Using R1 = 1 kΩ, R2 = 10 kΩ, and C = 0.1 µF:
- f = 1.44 / ((1000 + 2×10000) × 0.0000001) ≈ 685.7 Hz
- Duty Cycle = (1000 + 10000) / (1000 + 20000) = 11000 / 21000 ≈ 52.4%
Astable with Diode Worked Example (50% Duty Cycle)
Using R1 = 10 kΩ, R2 = 10 kΩ, and C = 10 nF with a bypass diode across R2:
- t_high = 0.693 × 10,000 × 10×10⁻⁹ ≈ 69.3 µs
- t_low = 0.693 × 10,000 × 10×10⁻⁹ ≈ 69.3 µs
- f = 1.44 / ((10000 + 10000) × 10×10⁻⁹) ≈ 7.2 kHz
- Duty Cycle = 10000 / (10000 + 10000) = 50.0%
Frequently Asked Questions
Can I get exactly 50% duty cycle in Astable mode?
Not with the standard circuit, because t_high is always longer than t_low (since R1 must be > 0). However, if you add a bypass diode in parallel with R2 (anode to pin 7, cathode to pins 2/6), charging occurs through R1 and discharging through R2, allowing equal high and low times for an exact 50% square wave.
How do I choose resistors for a target frequency and duty cycle?
Use our "Find the Resistors" tab above. Enter your desired frequency, duty cycle, and capacitor. The tool uses S = 1.44 / (f × C) to calculate exact R1 and R2 values, then selects the nearest standard E24 (5%) and E96 (1%) values and shows the real resulting frequency.
What are the recommended limits for R and C values?
Typically, R1 should be at least 1 kΩ to prevent excessive current through discharge pin 7. Total resistance (R1 + R2) should stay under 1 MΩ to prevent input bias current errors. Timing capacitor C should be greater than 100 pF to avoid stray PCB capacitance interference.
Related Tools
Sources
- Texas Instruments NE555 Precision Timers Datasheet (Rev. I).
- Signetics NE555/SE555 Application Note (1972).
Results are for engineering assistance. Verify important calculations and check official datasheets. See the Engineering Disclaimer.