A resistor–capacitor circuit (RC circuit), or RC filter or RC network, is an
electric circuit composed of
resistor
A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias activ ...
s and
capacitor
A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals.
The effect of a ...
s. It may be driven by a
voltage
Voltage, also known as electric pressure, electric tension, or (electric) potential difference, is the difference in electric potential between two points. In a static electric field, it corresponds to the work needed per unit of charge t ...
or
current source and these will produce different responses. A first order RC circuit is composed of one resistor and one capacitor and is the simplest type of RC circuit.
RC circuits can be used to filter a signal by blocking certain frequencies and passing others. The two most common RC filters are the
high-pass filters and
low-pass filter
A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
s;
band-pass filters and
band-stop filters usually require
RLC filters, though crude ones can be made with RC filters.
Introduction
There are three basic, linear passive
lumped analog circuit components: the resistor (R), the capacitor (C), and the
inductor (L). These may be combined in the RC circuit, the
RL circuit, the
LC circuit, and the
RLC circuit, with the acronyms indicating which components are used. These circuits, among them, exhibit a large number of important types of behaviour that are fundamental to much of
analog electronics. In particular, they are able to act as
passive filters. This article considers the RC circuit, in both
series and
parallel forms, as shown in the diagrams below.
Natural response

The simplest RC circuit consists of a resistor and a charged capacitor connected to one another in a single loop, without an external voltage source. Once the circuit is closed, the capacitor begins to discharge its stored energy through the resistor. The voltage across the capacitor, which is time-dependent, can be found by using
Kirchhoff's current law. The current through the resistor must be equal in magnitude (but opposite in sign) to the time derivative of the accumulated charge on the capacitor. This results in the
linear differential equation
:
where is the capacitance of the capacitor.
Solving this equation for yields the formula for
exponential decay
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda) is a positive rate ...
:
:
where is the capacitor voltage at time .
The time required for the voltage to fall to is called the
RC time constant and is given by,
:
In this formula, is measured in seconds, in ohms and in farads.
Complex impedance
The
complex impedance, (in
ohms) of a capacitor with capacitance (in
farads) is
:
The
complex frequency is, in general, a
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
,
:
where
* represents the
imaginary unit
The imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition a ...
: ,
* is the
exponential decay
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda) is a positive rate ...
constant (in
nepers per second), and
* is the
sinusoidal angular frequency (in
radians per second).
Sinusoidal steady state
Sinusoidal steady state is a special case in which the input voltage consists of a pure sinusoid (with no exponential decay). As a result,
and the impedance becomes
:
Series circuit

By viewing the circuit as a
voltage divider, the
voltage
Voltage, also known as electric pressure, electric tension, or (electric) potential difference, is the difference in electric potential between two points. In a static electric field, it corresponds to the work needed per unit of charge t ...
across the capacitor is:
:
and the voltage across the resistor is:
:
Transfer functions
The
transfer function from the input voltage to the voltage across the capacitor is
:
Similarly, the transfer function from the input to the voltage across the resistor is
:
Poles and zeros
Both transfer functions have a single
pole located at
:
In addition, the transfer function for the voltage across the resistor has a
zero
0 (zero) is a number representing an empty quantity. In place-value notation such as the Hindu–Arabic numeral system, 0 also serves as a placeholder numerical digit, which works by multiplying digits to the left of 0 by the radix, usu ...
located at the
origin
Origin(s) or The Origin may refer to:
Arts, entertainment, and media
Comics and manga
* ''Origin'' (comics), a Wolverine comic book mini-series published by Marvel Comics in 2002
* ''The Origin'' (Buffy comic), a 1999 ''Buffy the Vampire Sl ...
.
Gain and phase
The magnitude of the gains across the two components are
:
and
:
and the phase angles are
:
and
:
These expressions together may be substituted into the usual expression for the
phasor representing the output:
:
Current
The current in the circuit is the same everywhere since the circuit is in series:
:
Impulse response
The
impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
for each voltage is the inverse
Laplace transform
In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the ...
of the corresponding transfer function. It represents the response of the circuit to an input voltage consisting of an impulse or
Dirac delta function.
The impulse response for the capacitor voltage is
:
where is the
Heaviside step function and is the
time constant.
Similarly, the impulse response for the resistor voltage is
:
where is the
Dirac delta function
Frequency-domain considerations
These are
frequency domain
In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a ...
expressions. Analysis of them will show which frequencies the circuits (or filters) pass and reject. This analysis rests on a consideration of what happens to these gains as the frequency becomes very large and very small.
As :
:
As :
:
This shows that, if the output is taken across the capacitor, high frequencies are attenuated (shorted to ground) and low frequencies are passed. Thus, the circuit behaves as a ''
low-pass filter
A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
''. If, though, the output is taken across the resistor, high frequencies are passed and low frequencies are attenuated (since the capacitor blocks the signal as its frequency approaches 0). In this configuration, the circuit behaves as a ''
high-pass filter''.
The range of frequencies that the filter passes is called its
bandwidth. The point at which the filter attenuates the signal to half its unfiltered power is termed its
cutoff frequency. This requires that the gain of the circuit be reduced to
:
.
Solving the above equation yields
:
which is the frequency that the filter will attenuate to half its original power.
Clearly, the phases also depend on frequency, although this effect is less interesting generally than the gain variations.
As :
:
As :
:
So at
DC (0
Hz), the capacitor voltage is in phase with the signal voltage while the resistor voltage leads it by 90°. As frequency increases, the capacitor voltage comes to have a 90° lag relative to the signal and the resistor voltage comes to be in-phase with the signal.
Time-domain considerations
:''This section relies on knowledge of , the
natural logarithmic constant''.
The most straightforward way to derive the time domain behaviour is to use the
Laplace transform
In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the ...
s of the expressions for and given above. This effectively transforms . Assuming a
step input
Step(s) or STEP may refer to:
Common meanings
* Steps, making a staircase
* Walking
* Dance move
* Military step, or march
** Marching
Arts Films and television
* ''Steps'' (TV series), Hong Kong
* ''Step'' (film), US, 2017
Literature
* '' ...
(i.e. before and then afterwards):
:
Partial fraction
In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction as ...
s expansions and the inverse
Laplace transform
In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the ...
yield:
:
These equations are for calculating the voltage across the capacitor and resistor respectively while the capacitor is
charging; for discharging, the equations are vice versa. These equations can be rewritten in terms of charge and current using the relationships and (see
Ohm's law).
Thus, the voltage across the capacitor tends towards as time passes, while the voltage across the resistor tends towards 0, as shown in the figures. This is in keeping with the intuitive point that the capacitor will be charging from the supply voltage as time passes, and will eventually be fully charged.
These equations show that a series RC circuit has a
time constant, usually denoted being the time it takes the voltage across the component to either rise (across the capacitor) or fall (across the resistor) to within of its final value. That is, is the time it takes to reach and to reach .
The rate of change is a ''fractional'' per . Thus, in going from to , the voltage will have moved about 63.2% of the way from its level at toward its final value. So the capacitor will be charged to about 63.2% after , and essentially fully charged (99.3%) after about . When the voltage source is replaced with a short circuit, with the capacitor fully charged, the voltage across the capacitor drops exponentially with from towards 0. The capacitor will be discharged to about 36.8% after , and essentially fully discharged (0.7%) after about . Note that the current, , in the circuit behaves as the voltage across the resistor does, via
Ohm's Law.
These results may also be derived by solving the
differential equations describing the circuit:
:
The first equation is solved by using an
integrating factor
In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calc ...
and the second follows easily; the solutions are exactly the same as those obtained via Laplace transforms.
Integrator
Consider the output across the capacitor at ''high'' frequency, i.e.
:
This means that the capacitor has insufficient time to charge up and so its voltage is very small. Thus the input voltage approximately equals the voltage across the resistor. To see this, consider the expression for
given above:
:
but note that the frequency condition described means that
:
so
:
which is just
Ohm's Law.
Now,
:
so
:
which is an
integrator ''across the capacitor''.
Differentiator
Consider the output across the resistor at ''low'' frequency i.e.,
:
This means that the capacitor has time to charge up until its voltage is almost equal to the source's voltage. Considering the expression for again, when
:
so
:
Now,
:
which is a
differentiator ''across the resistor''.
More accurate
integration
Integration may refer to:
Biology
* Multisensory integration
* Path integration
* Pre-integration complex, viral genetic material used to insert a viral genome into a host genome
*DNA integration, by means of site-specific recombinase technolo ...
and
differentiation can be achieved by placing resistors and capacitors as appropriate on the input and
feedback
Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handled ...
loop of
operational amplifiers (see ''
operational amplifier integrator'' and ''
operational amplifier differentiator'').
Parallel circuit

The parallel RC circuit is generally of less interest than the series circuit. This is largely because the output voltage is equal to the input voltage — as a result, this circuit does not act as a filter on the input signal unless fed by a
current source.
With complex impedances:
:
This shows that the capacitor current is 90° out of phase with the resistor (and source) current. Alternatively, the governing differential equations may be used:
:
When fed by a current source, the transfer function of a parallel RC circuit is:
:
Synthesis
It is sometimes required to
synthesise an RC circuit from a given
rational function in ''s''. For synthesis to be possible in passive elements, the function must be a
positive-real function
Positive-real functions, often abbreviated to PR function or PRF, are a kind of mathematical function that first arose in electrical network synthesis. They are complex functions, ''Z''(''s''), of a complex variable, ''s''. A rational function i ...
. To synthesise as an RC circuit, all the critical frequencies (
poles and zeroes) must be on the negative real axis and alternate between poles and zeroes with an equal number of each. Further, the critical frequency nearest the origin must be a pole, assuming the rational function represents an impedance rather than an admittance.
The synthesis can be achieved with a modification of the
Foster synthesis or
Cauer synthesis
Network synthesis is a design technique for linear electrical circuits. Synthesis starts from a prescribed impedance function of frequency or frequency response and then determines the possible networks that will produce the required response. ...
used to synthesise
LC circuits. In the case of Cauer synthesis, a
ladder network of resistors and capacitors will result.
[Bakshi & Bakshi, pp. 3-30–3-37 ]
See also
*
RC time constant
*
RL circuit
*
LC circuit
*
RLC circuit
*
Electrical network
An electrical network is an interconnection of electrical components (e.g., batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e.g., voltage sour ...
*
List of electronics topics
*
Step response
References
Bibliography
* Bakshi, U.A.; Bakshi, A.V., ''Circuit Analysis - II'', Technical Publications, 2009 .
* Horowitz, Paul; Hill, Winfield, ''The Art of Electronics'' (3rd edition), Cambridge University Press, 2015 {{ISBN, 0521809266.
Analog circuits
Electronic filter topology