555 Timer Calculator

555 Timer Calculator
f = 1.44 / ((R1+2R2)C)
D = (R1+R2)/(R1+2R2)
T = 1.1 × R × C (mono)
555 Timer Calculator
R1 (RA)
R2 (RB) — 0 for mono
C (Timing Capacitor)
Mode override
Enter values
555 Timer Calculator Results
Frequency
Hz
Period
s
Duty Cycle
%
thigh
s
tlow
s
Mode
 
555 Timer — Astable Mode 555 VCC DIS THR TRI OUT GND RA RB C f = 1.44 / ((RA+2RB)C)

Figure 1: 555 Timer Calculator — enter values to calculate the result with step-by-step workings.

Table of Contents
Fundamentals
  1. How the 555 Timer Generates Timing
  2. The Formulas
Astable Mode
  1. Astable — Continuous Oscillator
  2. Example: 1 kHz Square Wave
  3. Example: LED Blink (~10 Hz)
  4. Getting 50% Duty Cycle
Monostable Mode
  1. Monostable — Single Pulse
  2. Example: 1.1 Second Delay
Deep Dive
  1. Capacitor Selection Guide
  2. Frequency Limits and Stability
Reference
  1. Frequently Asked Questions
  2. Related Calculators

How the 555 Timer Generates Timing From Passive Components

The NE555 is the most widely produced integrated circuit in history — billions manufactured since 1972 and still in active production. It generates precise, repeatable timing using nothing more than two resistors and a capacitor. No code, no crystal, no clock source. The calculator above returns frequency, period, duty cycle, and individual HIGH/LOW pulse times, with the mode detected automatically from whether RB is zero or non-zero.

The 555 contains two comparators with thresholds at ⅓ VCC and ⅔ VCC, an SR flip-flop, and a discharge transistor. The capacitor charges and discharges between these two thresholds, and the flip-flop toggles the output each time a threshold is crossed. The constant 0.693 (ln 2) in all the timing formulas comes directly from this ⅓/⅔ voltage ratio. The Transistor Base Resistor Calculator uses a similar principle — a single transistor switching between two states, though without the internal comparator architecture.

The Formulas

Astable (oscillator):
thigh = 0.693 × (RA + RB) × C
tlow = 0.693 × RB × C
f = 1.44 / ((RA + 2RB) × C)
Duty = (RA + RB) / (RA + 2RB) × 100%

Monostable (one-shot):
T = 1.1 × R × C

Astable Mode — Continuous Oscillator

When both RA and RB are present, the 555 runs as a free-running oscillator. The capacitor charges through RA + RB (output HIGH) and discharges through RB alone (output LOW). The discharge pin (pin 7) shorts RB to ground through an internal transistor, bypassing RA during the LOW phase. Since the charge path is always longer than the discharge path, the duty cycle is always above 50% in the standard configuration.

Example: 1 kHz Square Wave

RA = 10 kΩ, RB = 10 kΩ, C = 100 nF

thigh = 0.693 × (10k + 10k) × 100n = 1.386 ms

tlow = 0.693 × 10k × 100n = 0.693 ms

T = 1.386 + 0.693 = 2.079 msf = 481 Hz

Duty cycle = 20k / 30k = 66.7%

Not exactly 1 kHz with equal resistors — the calculator lets you adjust values instantly to hit your target. The Emitter Resistor Calculator handles a related timing consideration when 555 outputs drive transistor amplifier stages.

Example: Visible LED Blink (~10 Hz)

RA = 1 kΩ, RB = 10 kΩ, C = 10 µF

thigh = 0.693 × 11k × 10µ = 76.2 ms

tlow = 0.693 × 10k × 10µ = 69.3 ms

f = 6.87 Hz  |  Duty = 11k / 21k = 52.4%

With RA much smaller than RB, the duty cycle approaches 50%. Making RA as small as possible (minimum ~1 kΩ to protect the discharge transistor) pushes toward a symmetric waveform.

Getting a 50% Duty Cycle

The standard 555 astable cannot produce exactly 50% duty because the charge and discharge paths are inherently different. Two common workarounds:

Diode bypass: Place a 1N4148 diode across RB with the cathode toward the capacitor. The capacitor charges through RA only (diode bypasses RB) and discharges through RB only. Set RA = RB for exactly 50% duty.

Flip-flop divider: Run the 555 at double the target frequency and divide with a D flip-flop (74HC74). The divided output is always a perfect 50% regardless of the input duty cycle. The Op-Amp Gain Calculator can help design an output buffer if the 555 or flip-flop output needs to drive a specific voltage level.

Monostable Mode — Single Pulse

When RB is zero, the calculator switches to monostable mode. A falling edge on pin 2 produces a single output pulse whose duration depends only on R and C. The constant 1.1 is ln(3) — the capacitor charges from 0 V to ⅔ VCC through R.

Example: 1.1 Second Delay

R = 100 kΩ, C = 10 µF (monostable: RB = 0)

T = 1.1 × 100k × 10µ = 1.1 seconds

After the trigger, the output goes HIGH for exactly 1.1 seconds regardless of what the trigger pin does (non-retriggerable). Common uses: switch debouncing, relay timing, sequential delays.

For shorter pulses: R = 10 kΩ, C = 100 nF gives T = 1.1 ms (debounce). For very long delays (>30 s), a microcontroller is more reliable than a 555 with large electrolytics.

Capacitor Selection Guide

C0G/NP0 ceramic: Best accuracy, timing <1 ms. Near-zero voltage coefficient.
Polyester/polypropylene film: Good for 1 ms–10 s. Stable, low leakage.
Electrolytic: Only for very long delays (>10 s). ±20% tolerance, significant leakage shortens actual pulse time.

With 1% resistors and 10% capacitors, expect ±11% frequency variation. For tighter accuracy, use C0G caps or add a trimmer pot in series with RA. The LM317 Resistor Calculator faces a similar component tolerance issue when setting regulated output voltage.

Frequency Limits and Stability

The standard NE555 (bipolar) works reliably up to about 500 kHz. The CMOS variants (LMC555, TLC555) can reach 2–3 MHz with lower power and rail-to-rail output. Above these limits, internal propagation delays distort the waveform.

Frequency is theoretically independent of supply voltage because the ⅓/⅔ thresholds track VCC. In practice, frequency varies 1–2% over 5–15 V due to switching delays. Always bypass VCC with a 100 nF ceramic capacitor close to pins 1 and 8. The MOSFET Gate Resistor Calculator handles a related high-frequency switching concern where gate drive timing affects switching losses.

Frequently Asked Questions

How does the 555 astable circuit work?
The capacitor charges through RA + RB until it reaches ⅔ VCC, tripping the upper comparator and flipping the output LOW. The discharge transistor turns on and the capacitor discharges through RB until it drops to ⅓ VCC, flipping the output HIGH again. The constant 0.693 (ln 2) comes from the ⅓/⅔ threshold ratio.
How do I get a 50% duty cycle?
Place a diode across RB (cathode toward capacitor) so charging bypasses RB. Set RA = RB for 50% duty. Alternatively, divide the output with a D flip-flop — the divided output is always 50%.
What is monostable mode?
A single-pulse mode triggered by a falling edge on pin 2. Output goes HIGH for T = 1.1 × R × C, then returns LOW. Non-retriggerable in standard configuration. Used for debouncing, pulse stretching, and time delays.
What capacitor type should I use?
C0G ceramic for timing under 1 ms (best stability). Polyester or polypropylene film for 1 ms to 10 seconds. Electrolytic only for very long delays where ±20% accuracy is acceptable. Leakage in electrolytics shortens the actual pulse versus the calculated value.
What is the maximum frequency?
About 500 kHz for the bipolar NE555. CMOS variants (LMC555, TLC555) reach 2–3 MHz. Above these limits, internal delays distort the waveform. For MHz-range oscillators, use a crystal oscillator or microcontroller timer. The BJT Gain Calculator can help design a discrete transistor oscillator for frequencies beyond the 555’s range.
Can I use a 555 for PWM?
Yes, but with limitations. The standard astable produces duty cycles above 50% only. With the diode modification, you get variable duty at fixed frequency by adjusting RA and RB. For true variable-duty PWM, a comparator-based circuit or microcontroller timer is more flexible. The Transistor Biasing Calculator can design the output stage if the 555 PWM drives a BJT amplifier.

Browse all Electronics Calculators →

Last updated: March 2026