555 Timer Calculator: Astable, Monostable and Duty Cycle
In astable mode a 555 timer oscillates at f = 1 / (0.693 × (RA + 2RB) × C), rounded to 1.44 / ((RA + 2RB) × C), with the output high for tH = 0.693 × (RA + RB) × C and low for tL = 0.693 × RB × C. With the TI datasheet's example circuit (RA = 5 kΩ, RB = 3 kΩ, C = 150 nF), f = 874.4 Hz and the output stays high 72.73 % of the time. In monostable mode the pulse lasts tw = 1.1 × R × C. The calculator also gives standard RA and RB values for a target frequency and duty cycle.
874.4 Hz
f = 1 / (ln 2 × (RA + 2RB) × C) ≅ 1.44 / ((RA + 2RB) × C) f = 1 / (0.6931 × 11 kΩ × 150 nF) = 874.4 Hz D = (RA + RB) / (RA + 2RB) = 72.73 %
Output high 72.73 % of the time: tH = 831.8 µs, tL = 311.9 µs
Ideal timing from the TI NE555 datasheet formulas: no capacitor leakage, threshold current or output loading. Component tolerance sets the real spread, mostly the capacitor. CMOS parts (TLC555, LMC555) use the same formulas with different supply and current limits.
A 555 is fine for a delay or a blinker; an accurate time base, low power draw or an EMC constraint usually calls for a microcontroller or a dedicated oscillator. We design and measure these circuits in our lab. Let's talk it through in a free 30-minute audit.
555 timer astable formulas
In astable mode the capacitor C swings between 1/3 and 2/3 of VCC. It charges through RA + RB for tH = ln 2 × (RA + RB) × C, then discharges into the DISCH pin through RB for tL = ln 2 × RB × C. The period is T = ln 2 × (RA + 2RB) × C; ln 2 = 0.693 is the log of the ratio between the two gaps the voltage covers.
The table keeps RA = 10 kΩ and RB = 68 kΩ and steps C by decades: the frequency follows exactly. These are plain RC charge and discharge curves, covered in the RC time constant lesson.
| C | Period T | Frequency |
|---|---|---|
| 10 µF | 1.012 s | 0.988 Hz |
| 1 µF | 101.2 ms | 9.881 Hz |
| 100 nF | 10.12 ms | 98.81 Hz |
| 10 nF | 1.012 ms | 988.1 Hz |
| 1 nF | 101.2 µs | 9.881 kHz |
Monostable pulse width
In monostable mode a falling edge below 1/3 of VCC on TRIG sets the output high; it stays there until C, charging through R, reaches 2/3 of VCC. The pulse lasts tw = ln 3 × R × C ≅ 1.1 × R × C, whatever VCC is, as long as it stays steady during the pulse.
| R | C | tw |
|---|---|---|
| 10 kΩ | 100 nF | 1.099 ms |
| 91 kΩ | 100 nF | 9.997 ms |
| 47 kΩ | 1 µF | 51.63 ms |
| 100 kΩ | 10 µF | 1.099 s |
| 1 MΩ | 100 µF | 109.9 s |
Datasheet limits to respect
The Texas Instruments datasheet (SLFS022K) sets the frame: VCC from 4.5 to 16 V (18 V for the SE555), 200 mA at most on the output, an astable frequency of 100 kHz at most and a monostable pulse of at least 10 µs. Above about 3.4 MΩ for RA + RB at 5 V, or 10 MΩ at 15 V, the threshold comparator is starved of current and the oscillator can stall. The calculator flags each of these cases.
FAQ
- What is the 555 timer astable frequency formula?
- f = 1 / (ln 2 × (RA + 2RB) × C), which the TI datasheet rounds to 1.44 / ((RA + 2RB) × C), with R in ohms and C in farads. The capacitor charges from 1/3 to 2/3 of VCC through RA + RB, then discharges through RB alone. Example: 8.2 kΩ, 68 kΩ and 10 nF give 1,000 Hz at a 52.8 % duty cycle.
- How do I calculate the monostable pulse width?
- tw = ln 3 × R × C, which is 1.0986 × R × C, rounded to 1.1 × R × C in datasheets. The pulse ends when the capacitor reaches 2/3 of VCC. Example: 100 kΩ and 10 µF give 1.099 s, and 91 kΩ with 100 nF gives 10 ms. The TI datasheet puts the minimum near 10 µs, set by the trigger comparator's storage time.
- Why can't a 555 astable go below 50 % duty cycle?
- Because the capacitor charges through RA + RB but discharges through RB alone, so the high time always exceeds the low time while RA is above zero. To go below 50 %, put a diode across RB so it is bypassed during charging. The diode drop then stretches the high time: at 5 V with a 0.7 V drop it is 1.00 × RA × C instead of 0.693 × RA × C.
- Is the duty cycle the high time or the low time?
- The TI datasheet defines both. The output waveform duty cycle is tH / T = (RA + RB) / (RA + 2RB): that is what a scope shows. The output driver (discharge) duty cycle is tL / T = RB / (RA + 2RB). The two add up to 100 %. Most calculators show the first without naming it; this one shows both.
- How do I choose RA, RB and C?
- Pick C first, since standard capacitor values are sparser, then solve for RA and RB. The TI datasheet limits RA + RB to about 3.4 MΩ at 5 V and 10 MΩ at 15 V, beyond which the threshold comparator no longer gets its input current. RA = 0 would short the supply through the discharge pin, so keep it at a few kilohms at least.
- Does the 555 frequency depend on the supply voltage?
- Not in theory: the 1/3 and 2/3 VCC thresholds and the charging current both scale with VCC, so it cancels out. In practice capacitor tolerance dominates the error, often ±10 to ±20 % for a ceramic or electrolytic part. The TI datasheet recommends staying below 100 kHz in astable mode and moving to a CMOS part such as the TLC555 above that.
An electronics design house based in Montpellier, France, AESTECHNO brings 10+ years of design experience and a 100% success rate on CE/FCC certifications. Formulas and limits follow the Texas Instruments NE555 datasheet (SLFS022K); standard values follow the IEC 60063 E-series.