Ground Upby Rupesh Koirala

Part one: Electrons · Day 4 of 60

Capacitors, inductors and time

Resistors burn energy. Two other parts store it, and with them a circuit gains a sense of time. Today you learn what capacitors and inductors do, the one number that sets how fast they act, and why every chip sits in a ring of tiny capacitors.

By the end of today you can

  • Explain what a capacitor and an inductor each store, and what each resists
  • Work out a time constant and say what it means
  • Say why chips need decoupling capacitors and power converters need inductors

The light that fades

Pull the plug on a monitor and its power light does not go out at once. It fades over a second or two. Something inside was holding energy and is letting it go.

A camera flash is the same trick run the other way. A small battery cannot deliver the burst a flash tube needs. So the camera spends a few seconds filling a store and then empties it through the tube in a thousandth of a second.

The store is a capacitor. With its partner, the inductor, it is what gives circuits a sense of time: delays, rhythms, smoothing and filtering. Today covers both.

The capacitor

A capacitor is two conducting plates separated by a thin insulator, called the dielectric. Connect a battery and electrons crowd onto one plate and are drawn off the other. No charge crosses the gap. The charges on the two plates hold each other in place through the insulator, and energy is stored in the electric field between them.

Capacitance says how much charge the part holds for each volt across it. The unit is the farad. A farad is enormous, so real parts are measured in microfarads (µF), nanofarads (nF) and picofarads (pF).

The useful way to think about it: a capacitor resists a change in its voltage. To change the voltage you have to move charge, and moving charge takes time. A steady voltage pushes no current through a capacitor at all. A changing one does.

Three kinds cover most uses.

Kind Typical size Where you find it
Ceramic (MLCC) picofarads to tens of microfarads Everywhere. Hundreds of layers stacked in a block the size of a sand grain
Electrolytic microfarads to thousands Small metal cans in power supplies. Has a plus and a minus side
Supercapacitor whole farads Short bursts of power, backup for a few seconds

MLCC stands for multilayer ceramic capacitor. It is the most numerous manufactured part in electronics.

Filling through a resistor

Connect a capacitor to a battery through a resistor and it does not charge at once. The resistor limits the current, and as the capacitor's voltage rises there is less voltage left across the resistor, so the current falls. The filling slows down as it goes.

Charging a capacitor through a resistor

5 V+10 kΩ100 µFswitch
Close the switch and the capacitor's voltage climbs toward 5 volts, quickly at first and then ever more slowly.

How long it takes is set by one number, the time constant.

The same curve for every resistor and capacitor

0255075100012345Percent of the supply voltageTime, in time constants (R × C)63%86%95%99%chargingdischarging
0255075100012345Percent of the supply voltageTime, in time constants (R × C)63%86%95%99%chargingdischarging
Charging in blue, discharging in dashed orange. Only the scale of the time axis changes with the parts.

This curve is everywhere in electronics. A bigger resistor or a bigger capacitor stretches it out. Smaller ones make it sharper.

What capacitors are for

Local reservoirs. A chip's appetite for current can jump in a billionth of a second. The power supply is centimeters away, and the wire between them cannot respond that fast. So a small capacitor sits right next to each chip, already charged, and supplies the surge. This is a decoupling capacitor, and it is why a circuit board is peppered with tiny tan blocks. It is the answer to yesterday's coin cell problem too: a capacitor across the cell feeds the radio's short bursts.

Smoothing and filtering. A resistor followed by a capacitor passes slow changes and soaks up fast ones. That is a low-pass filter. It takes the ripple off a power supply and the hiss off a signal. The frequency where it starts to cut is the corner frequency, which is 1 ÷ (2π × R × C).

Timing. Wait for a capacitor to charge to a set level and you have a delay. Let it charge and discharge in a loop and you have a blinking light or a tone.

Memory. The working memory in every computer stores each bit as charge on a capacitor far too small to see. The charge leaks, so the chip reads and rewrites every bit about every 64 thousandths of a second. Day 19 returns to this.

Sensing touch. Your finger near a pair of electrodes changes their capacitance by a hair. A phone screen is a grid of such electrodes.

The inductor

An inductor is a coil of wire, often wound on a core of iron or ferrite. Current through it builds a magnetic field, and the energy is stored in that field. Inductance is measured in henries, and practical parts are microhenries (µH) or millihenries (mH).

An inductor is the capacitor's mirror image. A capacitor resists a change in voltage. An inductor resists a change in current. A steady current passes through an inductor as if it were plain wire. Try to change the current quickly and the inductor pushes back with a voltage of its own.

That push-back can be violent. Interrupt the current in a coil and the collapsing field produces a spike of voltage far above the supply. This is kickback. A car's ignition coil uses it on purpose, turning 12 volts into the tens of thousands needed to fire a spark plug. Everywhere else it has to be tamed, usually with a diode across the coil, or it destroys the switch.

What inductors are for:

  • Converting voltage without waste. Yesterday's divider turned unwanted voltage into heat. A switching converter does better. A transistor connects an inductor to the supply for a moment, the inductor stores a packet of energy, and then it releases the packet to the output at a lower voltage. Repeat that hundreds of thousands of times a second and you step a voltage down at 90% efficiency or better. Every phone charger and every power stage beside a processor works this way. Day 51 takes it apart.
  • Transformers, motors and generators. All are coils sharing a magnetic field. They start tomorrow.
  • Filtering. An inductor blocks fast changes in current, which keeps electrical noise from spreading.

Together: resonance

Connect a capacitor to an inductor and energy sloshes between them, from electric field to magnetic field and back, at one natural frequency. That is resonance, and it is how a radio picks one station out of the air. A sliver of quartz crystal does the same job mechanically and far more exactly, which is why every clock circuit has one. A watch crystal vibrates 32,768 times a second, a number chosen because halving it fifteen times gives exactly one.

The ones you did not ask for

Every length of wire has a little inductance, about a billionth of a henry per millimeter. Every pair of conductors near each other forms a little capacitor. These unintended extras are called parasitic. At low speeds they are invisible. At the billions of cycles a second inside a modern chip, they are the main obstacle. The wires on a chip are slow because of their resistance and capacitance, the same R × C from the top of this lesson.

Playground · 10 minutes

The time constant bench

Connect a battery to a capacitor through a resistor and watch it fill. Then swap the capacitor for an inductor and watch the current build on the same curve.

Try these

Scenario · 2 decisions

What would you do?

This case is invented. A founder shows you a fitness band that is nearly ready to ship. In testing, about one unit in ten restarts itself at the moment its vibration motor starts.

Quiz · 5 questions

Check what stayed

Bench work · 30 minutes

Take it to the bench

Things to measure, take apart, look up or work out by hand. No equipment is needed unless a prompt says so. Your notes are saved in this browser and collected on the Lab notes page.

Words to keep

Capacitor
A part that stores energy in the electric field between two plates and resists changes in voltage.
Capacitance
How much charge a capacitor holds per volt, measured in farads.
Farad
The unit of capacitance. Practical parts are a millionth of a farad or less.
Dielectric
The insulating layer between a capacitor's plates.
MLCC
A multilayer ceramic capacitor, the small block that is the most common part on a circuit board.
Electrolytic capacitor
A capacitor with a large value in a small can, which must be connected the right way around.
Supercapacitor
A capacitor of a farad or more, used for short bursts of power.
Time constant
The time a capacitor takes to charge 63% of the way, equal to resistance times capacitance.
Decoupling
Placing a capacitor beside a chip to supply its sudden demands for current.
Low-pass filter
A circuit that passes slow changes and blocks fast ones.
Corner frequency
The frequency at which a filter begins to cut.
Inductor
A coil that stores energy in a magnetic field and resists changes in current.
Inductance
How strongly an inductor resists a change in current, measured in henries.
Kickback
The voltage spike an inductor produces when its current is cut off.
Resonance
The natural frequency at which energy swings between a capacitor and an inductor.
Parasitic
Unintended capacitance, inductance or resistance that comes with any real wire or part.

Watch, read and build

  • Read: The Art of Electronics, sections 1.4 and 1.5, on capacitors, inductors and what they do to signals.
  • Read: Murata's online Capacitor Guide. Written by the largest maker, clear about why there are so many kinds.
  • Watch: The Engineering Mindset, "Capacitors Explained" and "Inductors Explained". Careful animations of the fields and the currents.
  • Build: A blinking light from a 555 timer chip. It is the classic first timing circuit, and its rate is set by one resistor and one capacitor.

Sources for dated facts checked November 2026