CalcWorldHub
Engineering · CalcWorldHub

555 Astable Oscillator Timing: Frequency and Duty Cycle

A two-resistor 555 astable turns a capacitor’s repeated charge and discharge into a square-wave output. With RA=10 kΩ, RB=22 kΩ, and C=1 µF, the ideal model predicts about 26.72 Hz and a 59.26% high duty cycle. This guide maps those inputs to the circuit, explains the timing equations, and shows what the estimate leaves out.

Open calculator
A 555 timer chip is shown beside its repeating capacitor ramp and square-wave output.

Share this article

A 555 astable timing capacitor rises and falls between threshold levels while the output alternates between high and low.
The capacitor ramp and output square wave share the same repeating period.

What makes the 555 circuit astable

An astable circuit has no stable resting state. Its capacitor charges until the threshold comparator changes the latch; the discharge transistor then turns on and the capacitor discharges through RB. At the lower trigger threshold, the latch changes back and the cycle repeats without a separate trigger pulse.

The classic connection uses one capacitor from the timing node to ground, RA from the supply to the discharge pin, and RB between the discharge pin and the capacitor node. The calculator represents that topology. A different connection, such as a steering diode that creates separate charge and discharge paths, needs a different equation even if it also uses a 555.

Enter the components that set the timing

Enter RA as the charging resistor in kilohms, RB as the discharge resistor in kilohms, and C as the capacitor in microfarads. These are component values, not the 555 supply voltage. The ideal threshold ratios are fractions of the supply, so voltage cancels from the timing equations. Use positive values and keep resistor and capacitor labels matched to the actual schematic.

The classic connection has RA from supply to the discharge pin, RB from that pin to the capacitor node, and C from that node to ground. A diode or alternate charge path changes the timing equations, so the calculator should only be used for the two-resistor arrangement.

Calculate a period from the two timing intervals

For the conventional topology, the high interval is tH≈ln(2)(RA+RB)C and the low interval is tL≈ln(2)RBC. Add those times to get the period T≈ln(2)(RA+2RB)C; frequency is f=1/T. With RA and RB in kΩ and C in µF, the calculator converts units before applying the same relation.

The high duty cycle is 100tH/T=100(RA+RB)/(RA+2RB). It is the fraction of each period for which the output is high, not its voltage level. This classic circuit stays above 50%; a symmetrical output needs a different arrangement, such as a steering diode.

All timing values scale linearly with C. Doubling both resistors doubles period and halves frequency while preserving duty ratio. Changing only RA lengthens the high interval, not the low interval, so duty cycle rises. These proportionalities are useful checks when choosing components.

Worked examples

A 26.7 Hz oscillator

Inputs: RA=10 kΩ, RB=22 kΩ, C=1 µF.

Calculation: tH=ln(2)(10+22) ms=22.1807 ms; tL=ln(2)(22) ms=15.2492 ms. T=37.4299 ms, so f=1/T=26.7166 Hz and D=100×22.1807/37.4299=59.2593%.

The ideal oscillator is about 26.72 Hz with a 59.26% high duty cycle.

A faster timing combination

Inputs: RA=4.7 kΩ, RB=10 kΩ, C=0.1 µF.

Calculation: tH=ln(2)(14.7)(0.1) ms=1.01893 ms; tL=ln(2)(10)(0.1) ms=0.69315 ms. The 1.71207 ms period gives f=584.087 Hz and D=59.5142%.

Reducing the capacitor by a factor of ten raises frequency by a factor of ten; the duty cycle changes only because the resistor ratio also changed.

The period is the sum of capacitor charge and discharge intervals, with duty ratio determined by their time split.
Add the two intervals for period, then divide high time by period for duty cycle.

Read the reported frequency and duty cycle

Frequency is cycles per second, measured in hertz. A result near 26.7 Hz means a period near 0.03743 s, or 37.43 ms. The duty percentage is a time ratio, not a voltage ratio: it does not mean the output is at 59% of the supply. Actual high and low voltage levels depend on the timer and its load.

A quick independent check is to calculate tH and tL separately, then verify T=tH+tL and duty=100tH/T. If the two intervals look reversed, inspect which resistor is used in each expression. RB appears in both intervals; RA contributes only to capacitor charging in this topology.

What can move a built oscillator away from the estimate

The estimate assumes nominal one-third and two-thirds thresholds and ideal switching. Real timing also depends on R and C tolerance, capacitor leakage, discharge-switch drops, supply bypassing, temperature, wiring, and output load. A capacitor’s tolerance can dominate the error, so the displayed digits are not a guarantee for a built circuit.

For a first design, choose stable components, check that the selected capacitor is suitable for its voltage and leakage, and compare the expected timing against the required period. If exact frequency matters, measure the assembled circuit and tune component values or use a timer design intended for tighter control. The simple estimate is best for sizing and understanding, not certification of a finished oscillator.

A practical selection and troubleshooting checklist

After wiring, observe both the capacitor ramp and output edges. Confirm that the capacitor crosses the expected thresholds and that the charge and discharge paths match the assumed topology. Record actual R/C values and supply conditions before comparing frequency or duty cycle; a topology mismatch cannot be corrected by tuning nominal values.

If the circuit runs slowly, verify the measured R and C values and their units; larger values lengthen the period. If frequency is close but duty cycle is not, inspect the resistor paths, steering diodes, load, and circuit topology instead of changing C alone.

Sources and further reading

Share this article

Browse all articles · Calculator: 555 astable timing calculator