Works on this device
555 Timer Calculator
The 555 timer is a chip that makes square waves (astable) or single pulses (monostable). A few resistors and one capacitor set the times. Enter your parts to get the frequency, duty cycle or pulse width, or enter the times you want to get the parts.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out: an astable square wave from its parts, the parts for a wanted frequency, or a monostable pulse.
- For the astable, choose the circuit: the standard one, or the one with a diode across R2 when you need a duty cycle of 50% or less.
- Enter the values and pick a unit for each. For a monostable, choose whether to find the pulse width, the resistor or the capacitor.
- Choose Calculate. The result shows the times, the working and, for a design, the nearest standard part values.
The 555 formulas
- Astable, standard circuit: time high = ln 2 × (R1 + R2) × C, time low = ln 2 × R2 × C, f = 1 ÷ (ln 2 × (R1 + 2 × R2) × C). With ln 2 = 0.693 this is the data sheet form f = 1.44 ÷ ((R1 + 2 × R2) × C).
- Duty cycle = time high ÷ (time high + time low). In the standard circuit it is always above 50%.
- Astable with a diode across R2: time high = ln 2 × R1 × C and time low = ln 2 × R2 × C, so any duty cycle is possible.
- Parts for a wanted frequency f and duty cycle D (standard circuit): R2 = (1 − D) ÷ (ln 2 × f × C) and R1 = (2D − 1) ÷ (ln 2 × f × C).
- Monostable: pulse width t = ln 3 × R × C = 1.0986 × R × C, which data sheets round to 1.1 × R × C.
- Why ln 2 and ln 3: the timer switches when the capacitor reaches 1/3 and 2/3 of the supply voltage. The supply voltage cancels out, so it is not an input.
- R is in ohms, C in farads, times in seconds and f in hertz.
Worked examples
Astable. R1 = 1 kΩ, R2 = 10 kΩ and C = 100 nF. Time high = 0.693147 × 11,000 × 0.0000001 = 762.46 µs. Time low = 0.693147 × 10,000 × 0.0000001 = 693.15 µs. One cycle takes 1.4556 ms, so f = 687.0 Hz and the duty cycle is 52.38%.
Design. For 1 kHz with a 60% duty cycle and C = 10 nF: R1 = 0.2 ÷ (0.693147 × 1000 × 0.00000001) = 28.85 kΩ and R2 = 0.4 ÷ 0.00000693147 = 57.71 kΩ. The nearest E24 values are 30 kΩ and 56 kΩ, which give 1,016 Hz and a duty cycle of 60.56%.
Monostable. R = 100 kΩ and C = 10 µF give t = 1.0986 × 100,000 × 0.00001 = 1.0986 s.
Limits you should know
- These are the ideal relations of the bipolar NE555. Real timers differ by a few per cent, more so at high frequencies, where the delays inside the chip add to the times.
- CMOS versions of the 555 follow the same relations but have other limits for the supply, the resistors and the highest frequency. The data sheet of your timer decides.
- The diode in the second astable circuit is taken as ideal. A real diode makes the high time a little longer.
- Part tolerances (often 5% for resistors and 10% or 20% for capacitors) change the real times by about as much.
- The 556 holds two 555 timers in one package. Each half works with the same formulas.
- For astable circuits in more depth, including the two-transistor multivibrator, see the Astable Multivibrator Calculator. For pulses, see the Monostable Timer Calculator. For the duty cycle of any signal, see the Signal Duty Cycle Calculator.
- This is arithmetic for learning and for low-voltage electronics. It is not professional advice; measure the finished circuit.