Skip to content
ToolBoxGeniehome

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.

What are you working out?

Keep this above 1 kΩ to protect the discharge pin.

µF

1 µF, 100 nF is 0.1, 10 nF is 0.01.

How to use the ne555 timer calculator

  1. 1Pick astable for a repeating oscillator, monostable for one pulse per trigger, or design mode to work backwards from a frequency.
  2. 2Enter the resistors in kilohms and the timing capacitor in microfarads — 100 nF is 0.1, and 10 nF is 0.01.
  3. 3Tick the diode option if you need a duty cycle of 50% or less, which the standard circuit cannot reach.
  4. 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?
Because the two halves of the cycle use different paths. The capacitor charges towards the supply through R1 and R2 in series, then the discharge transistor on pin 7 pulls one end down and it empties through R2 on its own. The charging path is always the longer of the two, so the output is high for longer than it is low, and the duty cycle approaches 50% only as R2 grows far larger than R1 without ever reaching it. A diode across R2 gives charging its own route and removes the restriction entirely.
Does the supply voltage change the frequency?
No, and that is the part of the design people find surprising. The comparators inside the chip trip at one third and two thirds of whatever the supply happens to be, so raising the supply raises the target voltage and the charging rate in the same proportion and the two cancel. A circuit timed on a bench supply keeps its frequency on a battery that is half flat. What does move is the output current available and, slightly, the internal propagation delay.
Why does my circuit measure a different frequency from this?
Almost always the capacitor. An electrolytic is specified at -20% to +80% and drifts further as it ages and warms, so a nominal 10 µF part can genuinely be 18 µF, which drops the frequency by nearly half. Ceramics of the Y5V and Z5U kinds lose a large fraction of their value with applied voltage and temperature too. Fit a film or C0G capacitor where the frequency matters, and use a preset in place of R2 to trim what remains.
What is the difference between the 555 and the 7555?
The 7555 and the TLC555 are CMOS versions of the same architecture. They draw a fraction of the supply current, work down to around 2 V, and do not produce the large current spike on the supply rail that a bipolar 555 does when its output switches — the spike that makes a decoupling capacitor mandatory next to the chip. They also hold the timing formulas to higher frequencies. The trade is much less output drive: a bipolar 555 will light an LED or drive a small relay directly, and a CMOS one will not.
How long can one 555 time?
In principle a monostable can run for hours, since the pulse is just R times C times ln(3). In practice the ceiling is set by leakage rather than arithmetic: above roughly 10 MΩ of timing resistance the comparator's bias current and the capacitor's own leakage are a real share of the charging current, and large electrolytics leak enough to stall the charge completely. Past a few minutes, a counter divided down from a faster oscillator is far more repeatable than one enormous RC.