NE555 Timer Calculator
Calculators · Added
The 555 has been in production since 1972 and is still the fastest way to get a square wave or a single timed pulse out of three components. This works both directions: give it R1, R2 and C and it returns the frequency, the duty cycle and how long the output sits high and low; give it a frequency and a duty cycle and it returns the resistor pair to use, rounded to values you can actually buy.
How to use the ne555 timer calculator
- 1Pick astable for a repeating oscillator, monostable for one pulse per trigger, or design mode to work backwards from a frequency.
- 2Enter the resistors in kilohms and the timing capacitor in microfarads — 100 nF is 0.1, and 10 nF is 0.01.
- 3Tick the diode option if you need a duty cycle of 50% or less, which the standard circuit cannot reach.
- 4Read the frequency and duty cycle, then check the notes: they flag an R1 low enough to overload pin 7 and a resistance high enough for leakage to matter.
Examples
A 1 kHz square wave
- Input
- R1 = 10 kΩ, R2 = 47 kΩ, C = 10 nF
- Result
- 1.39 kHz, 54.8% duty — high for 395 µs, low for 326 µs
The duty cycle sits above 50% because charging runs through R1 + R2 and discharging through R2 alone.
A slow LED blinker
- Input
- R1 = 10 kΩ, R2 = 470 kΩ, C = 4.7 µF
- Result
- 0.32 Hz — about nineteen flashes a minute
Making R2 much larger than R1 pushes the duty cycle towards 50%, which is why blinker circuits are drawn that way.
Designing for 2 kHz at 60%
- Input
- Target 2 kHz, 60% duty, C = 10 nF
- Result
- R1 = 15 kΩ, R2 = 30 kΩ — giving 1.92 kHz at 60.0%
Both are E24 values, so the frequency lands 4% under the target. A preset in place of R2 trims that out along with the capacitor's tolerance.
About the ne555 timer calculator
Where the formulas come from
Everything the 555 does follows from one arrangement: a capacitor charging through resistors towards the supply, and two comparators watching it against fixed fractions of that supply. The upper one trips at two thirds of Vcc and flips the internal flip-flop, which turns on a transistor that grounds pin 7; the lower one trips at one third and flips it back. Solving the exponential charge between those two thresholds gives a factor of ln(2), or 0.6931, which is where the datasheet's 0.693 comes from.
So the astable high time is ln(2) x (R1 + R2) x C, the low time is ln(2) x R2 x C, and the frequency is the reciprocal of their sum. The monostable case starts from an empty capacitor instead of a third of the way up, so its factor is ln(3) — 1.0986, which datasheets round to 1.1. This tool uses the logarithms rather than the rounded constants; the difference is a tenth of a percent, far inside any real capacitor's tolerance, but there is no reason to introduce an error that costs nothing to avoid.
Because both thresholds are fractions of the supply rather than fixed voltages, the supply cancels out of every formula. That is the property that made the part ubiquitous: the same circuit keeps its timing from 4.5 V to 15 V.
Choosing the capacitor first
The usual mistake in designing a 555 circuit is picking resistors and then hunting for a capacitor. It works better the other way round, because capacitors come in far fewer values and far worse tolerances than resistors do. Choose a capacitor you have in a stable dielectric, then let the arithmetic tell you the resistances — which is why the design mode here takes the capacitance as an input rather than solving for it.
As a rule of thumb, keep the total timing resistance between about 1 kΩ and 1 MΩ. Below 1 kΩ the discharge transistor on pin 7 is being asked to sink more current than it is rated for, and the usual symptom is a chip that runs hot and eventually fails short. Above 1 MΩ leakage starts competing with the charging current and the period drifts, particularly in a humid room or on a board that has not been cleaned of flux.
What this calculator will not tell you
It computes timing, not a working circuit. Pin 4 has to be tied high or the chip stays reset, pin 5 wants a 10 nF capacitor to ground to keep noise off the reference divider, and the supply needs its own decoupling capacitor close to the package — a bipolar 555 draws a sharp current spike as its output switches, and without decoupling that spike can retrigger the chip through its own supply rail.
It also assumes the output is lightly loaded. Drawing significant current from pin 3 shifts the internal reference slightly and moves the timing with it, so an output driving a relay coil or a loudspeaker behaves differently from one driving a logic input. Where the frequency genuinely matters, calculate it here, build it, then measure it.
Frequently asked questions
Why can a standard 555 astable not produce a 50% duty cycle?
Does the supply voltage change the frequency?
Why does my circuit measure a different frequency from this?
What is the difference between the 555 and the 7555?
How long can one 555 time?
Related tools
RC Time Constant Calculator
Calculators
Time constant, charge curve and filter corner frequency for a resistor and capacitor.
LC Resonant Frequency Calculator
Calculators
Resonant frequency of an LC circuit, or the inductor or capacitor to reach one.
Capacitor Code Calculator
Calculators
Decode the three-digit marking on a capacitor into pF, nF and µF at once.
AC BTU Calculator
Calculators
Size an air conditioner for a room, with the adjustments for sun, ceiling height, occupants and kitchens.