Saved

Press the star next to a tool's name to save it.

All my tools

Ne555 Astable Calculator

Use this NE555 astable calculator to find the frequency, the high and low times and the duty cycle of a 555 oscillator from R1, R2 and C, or the capacitor for a target frequency.

Restored your last values ·

Enter R1 and R2 in kilohms and the capacitor in microfarads to get the frequency, the high and low times and the duty cycle of a 555 astable oscillator. Or enter R1, R2 and a target frequency to get the capacitor that you need.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what to find and fill in the boxes that are shown, then press Calculate.

See full result

This NE555 astable calculator finds the frequency, the high and low times and the duty cycle of a 555 timer that is wired as a free-running oscillator. Enter the two timing resistors R1 and R2 and the capacitor C. You can also enter a target frequency to find the capacitor that you need.

How to use the NE555 astable calculator

  1. Choose what to find.
  2. Enter R1 and R2 in kilohms, and the capacitor in microfarads or a target frequency.
  3. Press Calculate.

Astable mode

In astable mode, the 555 timer has no stable state and switches its output between high and low by itself, which makes it a simple square-wave oscillator. The circuit uses two resistors and a capacitor. The capacitor charges through R1 and R2 and discharges through R2 only [1]. The calculator finds the timing from those three parts, and the output goes high and low again and again.

The timing formulas

The high time is t_high = 0.693 (R1 + R2) C and the low time is t_low = 0.693 R2 C [1]. The period is the sum, T = 0.693 (R1 + 2 R2) C, and the frequency is f = 1.44 ÷ ((R1 + 2 R2) C), which is 1 ÷ T. The number 0.693 is the natural logarithm of 2. Wikipedia gives the same formulas with ln 2 [1]. We use the exact value, 0.693147.

The duty cycle

The duty cycle is the share of each period when the output is high: D = (R1 + R2) ÷ (R1 + 2 R2) × 100 percent. Because the capacitor charges through both resistors and discharges through R2 only, the high time is always longer than the low time. In the standard circuit the duty cycle can never be below 50 percent, because the high interval is longer than the low one [1]. R1 should never be zero. A large R2 compared with R1 brings it close to 50 percent.

A worked example

Take R1 = R2 = 1,000 ohms and C = 480 microfarads. With the exact ln 2, the high time is 0.693147 × 2 kΩ × 480 µF = 665.42 milliseconds and the low time is 332.71 milliseconds. The period is 998.13 milliseconds, the frequency 1.0019 hertz, and the duty cycle 66.667 percent. That is about one hertz with a duty cycle of 66.7 percent.

Finding the capacitor

In the second mode, you enter a target frequency, R1 and R2, and the calculator solves the frequency formula for C: C = 1 ÷ (ln 2 × (R1 + 2 R2) × f). This is a rearrangement of the frequency formula and is our own working. For one hertz with R1 = R2 = 1 kilohm, C = 480.9 microfarads, so a 470 microfarad capacitor gives a little more than one hertz. Pick the nearest standard value and enter it in the first mode.

Choosing R1 and R2

Keep both resistors in the range of a few hundred ohms to a few megohms, which is a general rule of thumb of ours and not from the pages. A small R1 brings the duty cycle close to 50 percent, but it must never be zero. If you need exactly 50 percent, the usual fix is a diode across R2 or an extra output stage, which this calculator does not model. Use the first mode to try different pairs and see their effect on the duty cycle.

Units

The resistors are in kilohms and the capacitor in microfarads. A kilohm times a microfarad is a millisecond, which is why the times come out in milliseconds. The calculator switches to seconds for long times and to microseconds for short ones. The frequency is in hertz. If your values are in ohms, divide by 1,000 to get kilohms, so 4,700 ohms is 4.7 kilohms.

The frequency limit

Wikipedia says most 555 devices oscillate up to about 1 megahertz but should be kept to about 500 kilohertz for stable timing, and it cites 100 kilohertz for the NE555 datasheet [1]. The calculator adds a note when the result is above 2 megahertz, which is our own limit. In practice, internal delays also distort the duty cycle near the top of the range, and a 555 timer is mostly used at far lower frequencies, for example for a blinking LED at a few hertz, a tone at hundreds of hertz, or a slow clock.

Real parts

The same formulas are normally used for the NE555 and the LM555. All the same, a real circuit differs from the ideal one. Resistors and capacitors have tolerances, electrolytic capacitors can be off by 20 percent, and the timing varies a little with the supply voltage and the temperature. Pin 4, the reset pin, has to be held high for normal operation [1]. Test the circuit and trim a resistor if the exact frequency matters.

Using the calculator

Select the mode, enter the values and press the button. Compare R2 values to see how the duty cycle and the frequency move, and compare capacitors to see that the frequency is inversely proportional to C. Doubling C halves the frequency. The result also lists the high and low times, which are useful when you need a specific pulse length, for example for a flasher or a buzzer.

Where the circuit is used

A 555 astable circuit is used for flashing lights, simple tone generators, clock pulses for counters and PWM dimming. The calculator suits all of them, because it gives the high time, the low time and the frequency together. For a flasher, pick a frequency of one to a few hertz. For an audible tone, pick several hundred hertz. Always build the circuit and measure the real output.

Common mistakes

  • Entering the resistors in ohms. The boxes are in kilohms.
  • Setting R1 to zero. That can damage the chip and gives no valid duty cycle.
  • Expecting a duty cycle below 50 percent. This circuit cannot give one.
  • Forgetting the tolerances. Real timing can be off by 10 percent or more.

What next

Use this often? Add Ne555 Astabl to your Home screen.

Frequently asked questions

What is an NE555 astable calculator?

A tool that finds the timing of a 555 oscillator from its resistors and capacitor.

What is the 555 astable frequency formula?

f = 1.44 ÷ ((R1 + 2 R2) × C).

How do you find the duty cycle of a 555 astable circuit?

D = (R1 + R2) ÷ (R1 + 2 R2) × 100 percent.

Why is the duty cycle always above 50 percent?

The capacitor charges through R1 and R2 but discharges through R2 only.

What is the highest frequency of an NE555?

Wikipedia cites 100 kHz in the NE555 datasheet and says most 555s should be kept to about 500 kHz. The calculator warns above 2 MHz.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools