Astable and Monostable Frequency, Duty Cycle and Pulse Width
Description
Use this free 555 timer calculator to design oscillators and one-shot timers. Enter your resistor and capacitor values to get the frequency, period, high and low time, duty cycle and pulse width, with a live waveform preview. It works for the NE555, LM555, TLC555 and other 555-based circuits.
Formulas: Astable f = 1.44 / ((R1 + 2·R2)·C) | Monostable T = 1.1 · R · C. Values are ideal; real parts vary with tolerance. In monostable mode the gap between pulses in the preview is illustrative only (it depends on your trigger).
Detailed FAQ
- What is a 555 timer IC?
The 555 is an 8-pin timing IC that generates accurate delays or oscillations from a resistor and capacitor. It is used in LED blinkers, tone generators, PWM dimmers, debounce circuits and delay timers. - What is the difference between astable and monostable mode?
Astable mode has no stable state, so the output switches between high and low continuously and works as a square-wave oscillator. Monostable mode has one stable state. A trigger pulse sets the output high for a fixed time, and then it returns to low. - What formulas does this calculator use?
- Astable frequency: f = 1.44 / ((R1 + 2·R2) × C)
- High time: 0.693 × (R1 + R2) × C
- Low time: 0.693 × R2 × C
- Duty cycle: (R1 + R2) / (R1 + 2·R2)
- Monostable pulse width: T = 1.1 × R × C
- Why is the duty cycle always above 50% in astable mode?
The capacitor charges through R1 + R2 but discharges only through R2, so the high time is always longer than the low time. With R1 much smaller than R2, the duty cycle approaches 50%. - How can I get a duty cycle below 50%?
Place a diode across R2, with the anode toward pin 7. Charging then bypasses R2, so high time ≈ 0.693 × R1 × C and low time ≈ 0.693 × R2 × C. This calculator uses the basic circuit and does not include the diode. - How do I choose R and C for a target frequency?
Pick a capacitor first, commonly 10 nF to 10 µF. Then calculate the resistance needed for the frequency you want. Keep R1 above 1 kΩ and the total resistance within about 1 kΩ to 1 MΩ for stable operation. - Why can't I use a very small R1?
R1 limits the current into the discharge pin (pin 7). Below about 1 kΩ, this current can overload the internal discharge transistor. - Which capacitor type gives the best accuracy?
Film, polyester and C0G/NP0 ceramic capacitors have low drift and tight tolerance. Electrolytic capacitors have wide tolerance and leakage, which is acceptable for slow, non-critical delays but poor for precision timing. - Why does my real circuit differ from the calculated result?
Resistor and capacitor tolerance, temperature drift, supply voltage and the IC's own variation all affect timing. A 5% resistor with a 20% electrolytic capacitor can easily give 20% or more error. Use a trimmer potentiometer for exact tuning. - What is the maximum frequency of a 555 timer?
The standard bipolar NE555 works up to roughly 500 kHz. CMOS versions such as the TLC555 and LMC555 can reach 1 to 2 MHz. - How do I trigger monostable mode?
Briefly pull the trigger pin (pin 2) below one-third of the supply voltage, for example with a push button and a pull-up resistor. The trigger pulse must be shorter than the output pulse. Otherwise the output stays high for as long as the trigger is held low. - What supply voltage does the 555 need?
The bipolar NE555 works from about 4.5 V to 16 V, so it suits 5 V and 12 V designs. For 3.3 V or battery designs, use a CMOS version such as the TLC555 or LMC555, which works down to about 2 V or lower. - What does the 10 nF capacitor on the control pin do?
A 10 nF capacitor from pin 5 to ground filters noise on the internal reference voltage and keeps the timing stable. It is optional in simple circuits but recommended in good designs. - What should I do with the reset pin?
Connect pin 4 to the supply voltage if you do not need reset. A floating reset pin can cause random resets. Pulling it low forces the output low. - What is the difference between the 555, 556 and 558?
The 556 contains two 555 timers in one package. The 558 contains four timers with a simplified pin set. All use the same RC timing principle. - Can the 555 drive a load directly?
The output can source or sink about 200 mA on a bipolar 555, enough for LEDs, small buzzers and small relays. Use a transistor or MOSFET for motors or larger loads. Add a flyback diode across any relay coil or inductive load. - Is the calculator result exact?
No. The results are ideal values from the standard equations. Treat them as a design starting point, then fine-tune with a trimmer or measure the actual output.