KEMI
/

KEMI Tools

RC Filter & 555 Timer Calculator

Solve an RC low-pass or high-pass filter for any one of fc, R or C; see the gain and phase table, time constant and charge times; and analyse or design 555 astable (frequency, duty) and monostable (pulse width) circuits. Type values the way engineers write them — 4.7k, 100n, 2u2 — and get the nearest E24 resistor and E12/E6 capacitor for every result.

First-order RC filter — fc = 1 / (2πRC)

fc

159.2 Hz

ω = 1 krad/s

R

10 kΩ

C

100 nF

Time constant τ = RC

1 ms

Standard values: R ✓ E24 · C ✓ E12

FrequencyGainVout/VinPhase
0.1·fc (15.9 Hz)-0.0432 dB0.995-5.71°
0.5·fc (79.6 Hz)-0.969 dB0.894-26.6°
fc (159 Hz)-3.01 dB0.707-45°
2·fc (318 Hz)-6.99 dB0.447-63.4°
10·fc (1.59 kHz)-20 dB0.0995-84.3°
100·fc (15.9 kHz)-40 dB0.01-89.4°

10 kHz: -36 dB (voltage × 0.0159), phase -89.1°

Assumes a zero-impedance source and an infinite-impedance load. If the next stage's input impedance isn't at least 10× R, fc and attenuation shift — add a buffer (voltage follower).

How to use

  1. Choose RC filter, time constant, 555 astable or 555 monostable from the tabs.
  2. For a filter, pick low-pass or high-pass and what to solve for (fc, R or C), then enter the other two. SI prefixes k, M, u, n, p work as typed.
  3. For a 555 astable, either analyse R1/R2/C or enter a target frequency, duty cycle and C to design R1 and R2.
  4. Use the suggested E-series values and the 'with standard parts' results to pick real components.

Basics

An RC filter is a frequency-dependent voltage divider

A capacitor's reactance, Xc = 1/(2πfC), falls as frequency rises. Put R in series and C to ground (low-pass) and higher frequencies are shunted to ground; swap them — C in series, R to ground (high-pass) — and DC and low frequencies are blocked. Either way it's a divider made of R and Xc, and the cutoff frequency fc is where Xc equals R. At that point the output is 1/√2 = 0.707 of the input, −3.01 dB in voltage and exactly half the power — hence 'the −3 dB point' or 'half-power frequency'. The phase at fc is −45° for a low-pass and +45° for a high-pass, and beyond fc a first-order filter rolls off at 20 dB per decade (6 dB per octave).

Cutoff:          fc = 1 / (2π × R × C)
Low-pass gain:   |H| = 1 / √(1 + (f/fc)²)          phase φ = −atan(f/fc)
High-pass gain:  |H| = (f/fc) / √(1 + (f/fc)²)     phase φ = 90° − atan(f/fc)
Time constant:   τ = R × C,   Vc(t) = Vs × (1 − e^(−t/τ))
Time to p %:     t = −τ × ln(1 − p/100),   10–90 % rise time = ln9 × τ ≈ 2.2τ
R in ohms, C in farads, f = signal frequency in Hz, Vs = step input voltage, Vc = capacitor voltage. Rise time and bandwidth are related by tr ≈ 0.35 / fc.

Worked examples

  • 10 kΩ with 100 nF: fc = 1 ÷ (2π × 10,000 × 100×10⁻⁹) = 159 Hz. A decade above, at 1.59 kHz, the response is −20 dB (one-tenth the voltage); two decades above, −40 dB.
  • A 1 kHz low-pass with a 10 nF capacitor: R = 1 ÷ (2π × 1,000 × 10×10⁻⁹) = 15.9 kΩ. The nearest E24 value, 16 kΩ, gives fc = 995 Hz (−0.5 %).
  • τ = 10 kΩ × 10 µF = 0.1 s: the capacitor reaches 63.2 % at 1τ, 95 % at 3τ (0.3 s) and 99.3 % at 5τ (0.5 s) — the basis of power-on reset and soft-start delays.
Elapsed timeCharging (Vc/Vs)Discharging (remaining)
1 τ63.2 %36.8 %
2 τ86.5 %13.5 %
3 τ95.0 %5.0 %
4 τ98.2 %1.8 %
5 τ99.3 %0.7 %
Engineers treat 5τ as 'fully charged'.

555 timer

An oscillator bouncing between 1/3 and 2/3 of VCC

Inside an NE555 are three resistors dividing VCC into thirds, two comparators, a flip-flop and a discharge transistor. In astable mode the capacitor charges through R1 + R2 up to 2/3 VCC while the output is high, then discharges through R2 alone down to 1/3 VCC while it's low. Exponential charging from 1/3 to 2/3 takes exactly ln2 × RC ≈ 0.693RC, which is where the famous 1.44 (= 1/0.693) comes from. In monostable mode a trigger starts one pulse that lasts while C charges from 0 to 2/3 VCC: ln3 × RC ≈ 1.1RC. Because the thresholds are ratios of VCC, the timing barely moves with supply voltage.

Astable:     tH = 0.693 × (R1 + R2) × C,   tL = 0.693 × R2 × C
             f = 1 / (tH + tL) ≈ 1.44 / ((R1 + 2·R2) × C)
             duty = (R1 + R2) / (R1 + 2·R2)   → always above 50 %
Design:      R1 + 2R2 = 1 / (0.693 × f × C),  R1 = (2D − 1)(R1+2R2),  R2 = (1 − D)(R1+2R2)
Monostable:  t = ln3 × R × C ≈ 1.1 × R × C
R1 = resistor from VCC to DIS, R2 = resistor from DIS to THR/TRIG, C = timing capacitor, D = duty cycle (0.5 < D < 1).
  • R1 = 1 kΩ, R2 = 10 kΩ, C = 10 nF: f = 1.44 ÷ (21 kΩ × 10 nF) = 6.86 kHz at 52.4 % duty. Making R1 much smaller than R2 pushes duty toward 50 %.
  • 1 kHz at 60 % duty with C = 100 nF: R1 + 2R2 = 14.4 kΩ, so R1 = 2.89 kΩ and R2 = 5.77 kΩ. With E24 parts (3.0 kΩ and 5.6 kΩ) you get 1,016 Hz at 60.6 %.
  • A 1 s one-shot with 10 µF: R = 1 ÷ (1.0986 × 10 µF) = 91 kΩ — conveniently an E24 value.

Standard values

From calculated values to real parts — E24 resistors, E6/E12 capacitors

You can't buy a 15.9 kΩ or 2.89 kΩ resistor off the shelf. Resistors come from the E24 series at ±5 % or E96 at ±1 %; capacitors, with ±10–20 % tolerance, are commonly stocked only in E6 (1.0, 1.5, 2.2, 3.3, 4.7, 6.8) or E12 values. The standard workflow is therefore: fix the capacitor at a stocked value first, then trim with the resistor. The calculator shows the nearest standard values next to each result, along with the frequency and error you'd actually get with them.

Pitfalls

Common mistakes

  • Dropping the 2π: 1/(RC) is the angular frequency ω in rad/s. Forget to divide by 2π and your cutoff is off by a factor of 6.28.
  • Ignoring source and load impedance: the driving stage's output impedance adds to R, and the next stage's input impedance sits in parallel with C. If the load isn't at least 10× R, buffer it.
  • Cascading two RC sections and expecting −40 dB/decade: they load each other and the knee goes soft. For a steep response, buffer between stages or use an active second-order (Sallen-Key) filter.
  • Timing with X7R or Y5V ceramics: high-k ceramics lose tens of percent of capacitance with DC bias and temperature. Use C0G/NP0 or film capacitors for timing and filters.
  • Skipping 555 decoupling: a bipolar NE555 draws a big supply-current spike on every output transition. Put 0.1 µF (plus 10 µF) right at VCC and 10 nF on the CV pin.

In practice

Tips from KEMI's bench

On real boards RC networks mostly show up as ADC anti-aliasing filters, button debouncing and PWM-to-DC smoothing. In front of a SAR ADC, put fc well below half the sample rate, but also make C much larger than the ADC's internal sampling capacitor (a few nF or more) and keep R below the datasheet's maximum source impedance so the sample settles. For a pushbutton, 10 kΩ + 100 nF (τ = 1 ms) into a Schmitt-trigger input is plenty. The 555 is still handy for single-chip LED flashers and buzzer drivers, but if there's already an MCU on the board, a hardware timer is more accurate and saves parts. If you send us a schematic for review, we check the reasoning behind these RC constants too.

FAQ

Why is the cutoff defined at −3 dB?

At the frequency where R equals Xc, output voltage is 1/√2 of the input and power is exactly half: 10·log(½) = −3.01 dB, hence 'half-power point'. Remember the signal is already down about 30 % in voltage there — the cutoff is not a brick wall.

How do I get a steeper roll-off than an RC filter?

A first-order RC is limited to 20 dB/decade. For second order and beyond, buffer between RC stages or build an active Sallen-Key or multiple-feedback filter around an op-amp. Unbuffered cascades load each other and don't deliver the expected response.

Can a 555 make less than 50 % duty cycle?

Not in the basic astable circuit. Add a diode across R2 so C charges through R1 only and discharges through R2 only; then tH ≈ 0.693·R1·C and tL ≈ 0.693·R2·C can be set independently, allowing duty below 50 % (with some error from the diode drop).

What's the difference between NE555 and TLC555?

CMOS 555s (TLC555, LMC555, ICM7555) draw tens to hundreds of microamps versus milliamps for the bipolar NE555, have tiny input currents so you can use large resistors, and run to about 2 MHz. The NE555 sources and sinks more output current, so it's better for driving relays or speakers directly.

Where do 1.44, 0.693 and 1.1 come from?

All from exponential charging. Charging from 1/3 to 2/3 of VCC takes ln2·RC = 0.693RC, whose reciprocal relationship gives 1.44; charging from 0 to 2/3 VCC takes ln3·RC = 1.0986RC ≈ 1.1RC. The calculator uses the exact logarithms and also shows the 1.44 approximation.

What capacitor should I use for timing?

C0G/NP0 ceramic for small values (up to tens of nF) and film (polypropylene, PET) for larger ones. Avoid X7R/Y5V ceramics, which drift with voltage and temperature, and electrolytics, whose tolerance is often −20/+80 % with significant leakage.

Related tools & guides

Everything is calculated right in your browser, and nothing you enter is stored. Results are reference values for early design work; for production or installation, part datasheets, manufacturer specifications and your local electrical code take precedence. Privacy Policy