555 timer astable calculator, frequency and duty cycle

Enter RA (between supply and the discharge pin), RB (between discharge and the threshold and trigger pins) in kilohms, and the timing capacitor C in microfarads. The page uses the astable equations from the TI NE555 datasheet. It is not for monostable mode, not for CMOS 555 variants with different internal thresholds, and not a circuit simulator.

Your timing parts

Formulas

tH = 0.693 × (RA + RB) × C

tL = 0.693 × RB × C

T = tH + tL = 0.693 × (RA + 2RB) × C

f = 1 ÷ T, about 1.44 ÷ ((RA + 2RB) × C)

share high = tH ÷ T = (RA + RB) ÷ (RA + 2RB)

Where RA = resistor from supply to discharge, in kilohms; RB = resistor from discharge to threshold and trigger, in kilohms; C = timing capacitor in microfarads; tH, tL, T = times in milliseconds (kilohms × microfarads = milliseconds); f = frequency in hertz.

Frequency is 1 ÷ T. The datasheet's 1.44 is 1 ÷ 0.693 rounded, so the two forms differ by about 0.2%.

Without a diode across RB, the output is high for longer than it is low, so the share high is always above 50%.

Checked examples

RA 1 kΩ, RB 10 kΩ, and C 10 µF give tH 76.23 ms, tL 69.30 ms, T 145.53 ms, about 6.871 Hz, high 52.38% of the time.

RA 10 kΩ, RB 10 kΩ, and C 0.1 µF give T 2.079 ms, about 481.0 Hz, high two thirds of the time.

Inputs: RA 2.2 kΩ, RB 6.8 kΩ, Timing capacitor C 0.47 µF. Result: Time high (tH) 2.9314 ms, Time low (tL) 2.2148 ms, Period (T) 5.1462 ms, Frequency 194.316 Hz, Time high as a share of the period 56.96 %.

Limits

The equations are for the bipolar NE555 in astable mode. Real timing also depends on resistor and capacitor tolerance; electrolytic capacitors can be off by 20% or more. TI advises keeping the frequency at 100 kHz or below with the NE555. Faster settings are refused. Not for: monostable (one-shot) mode; circuits that add a diode across RB for duty cycles below 50%; predicting the effect of part tolerances or temperature.

NE555, SA555, SE555 Precision Timers datasheet, Texas Instruments.