Ages

Now you know how solar panels work!

What next?

Try it yourself ↓

How do solar panels work?

▶ 4:49 video · Watch on YouTube

  1. 0:00 Start
  2. 0:32 A silicon sandwich
  3. 1:25 A photon knocks an electron loose
  4. 2:15 From roof to plug
  5. 3:12 Catch the Sun
  6. 3:58 The big picture

Your turn

Run the solar cell yourself

Play with sunshine!

Each lab is one step from the video. Press, slide and flip, and see what happens.

Each lab isolates one part of the physics. The models are simplified to show the idea.

Tap the buttons and slide the sliders.

1

Build the silicon sandwich

Doping makes the junction

The two-layer sandwich

Switch the extra atoms off. What happens to the free electrons and the one-way slide?

Without phosphorus and boron there are no free carriers and no junction field. Toggle the dopants.

Tap the button. Where do the extra electrons go?

Atoms are drawn huge and flat. A real crystal is 3D and far finer.

2

Fire photons at a solar cell

Generation, separation, collection

Bump an electron loose

Fire photons, then switch the field off. Does the bulb still light?

With the junction field off, freed carriers recombine instead of reaching the circuit. Compare both.

Tap to send sunshine. Does the lamp light up?

A simplified model: real cells free electrons all through the silicon, and holes move too.

3

DC or AC?

The inverter

Switch the inverter off and on. How does the flow into the house change?

DC flows one way; the inverter switches its direction rapidly to make AC for the home and grid.

4

Catch the Sun

Angle, air mass and clouds

Turn to the Sun

Move the Sun, tilt the panel and add clouds. Can you get the meter to the top?

Output follows the angle between the rays and the panel. Add a low Sun or cloud and watch the diffuse part.

Slide the Sun and the panel. When does the panel make the most?

The meter is a simplified model of how angle, air and clouds change the light on a panel.

5

Day and night

Day, night and storage

Day and night

Switch to night. What keeps the light on when there's no sunlight?

No sunlight on the panels, no current: storage or the grid covers the night.

Tap for night time. What keeps the lamp on?

What do solar panels do?

Solar panels are the dark blue squares you see on some roofs. They make electricity from sunshine. They have no fire inside, and nothing in them moves.

1. A two-layer sandwich

Each square is a thin slice of silicon. Silicon comes from sand! Its top layer has extra tiny bits called electrons. Its bottom layer has empty spots, called holes. Where the layers meet, there is a slide that only goes one way: up.

2. Sunshine bumps an electron

Sunshine comes in tiny bits of light. When one hits the silicon, it bumps an electron loose. The slide pushes the electron up. It can't slide back down, so it goes home around the wire. Electrons going round the wire are electricity!

3. Turn to the Sun

A panel makes the most when it faces the Sun. On a cloudy day it still works. It just makes less.

4. Day and night

At night there is no sunshine, so the panel rests. A battery can save power for later.

Did you know? One little solar cell can run a calculator. Lots of cells together can power a house!

← More explainers

How do solar panels work? The short answer

A solar panel is made of many solar cells, and each cell is a thin slice of silicon built as a two-layer sandwich. Where the two layers meet there is a built-in electric field.12 When sunlight hits the cell, its energy knocks electrons free from their atoms. This is called the photovoltaic effect.9 The field pushes those free electrons toward one side of the cell, so one side becomes negative and the other positive, like the two ends of a battery.12 Connect a wire from one side to the other, and the electrons flow through it and back into the cell. That flow is an electric current.9

There's no fuel, no burning and no moving parts.11 The electrons were already in the silicon. Sunlight gives them energy, and the field gives them a direction.

What are solar panels made of?

Almost all solar panels are made from silicon. It's the second most common element in Earth's crust, after oxygen, and it's the same semiconductor used in computer chips.1 Here's how a panel is made, step by step:5

  1. Silicon is extracted from quartz sand and purified into polysilicon.
  2. The polysilicon is melted and grown into a big crystal called an ingot.
  3. Diamond wire saws slice the ingot into thin wafers.
  4. The wafers are exposed to a gas containing a dopant (a pinch of another element), and thin silver contact lines are printed on.
  5. Cells are strung together with copper ribbons, sealed under glass, and fitted with an aluminium frame and a junction box.

A finished cell is often thinner than four human hairs.2 Plain silicon is shiny and reflects more than 30% of the light that hits it, so cells get an anti-reflection coating. That's why solar panels look dark blue or black.4

Inside a solar cell: n-type and p-type silicon

In a pure silicon crystal, every electron is held in place by the bonds between atoms, so none of them can move around.12 To make a solar cell, engineers "dope" the silicon, which means adding a tiny amount of another element:13

LayerAdded atomWhat it does
n-type (negative)PhosphorusBrings a spare electron that is free to move
p-type (positive)BoronLeaves a gap where an electron is missing, called a hole

Where the n-type and p-type layers touch, an electric field forms. This boundary is called the p-n junction. Free electrons can cross it easily in one direction but not the other, a bit like a one-way slide.1213

How do solar panels generate electricity?

Sunlight is made of tiny packets of energy called photons. When photons hit a cell, some bounce off, some pass straight through, and some are absorbed. Only the absorbed ones make electricity.94

  1. A photon frees an electron. Its energy knocks an electron loose from its atom and leaves a hole behind.9
  2. The field sorts them. Without the junction, the electron would wander and drop back into a hole, and its energy would be lost, mostly as heat.11 The field sweeps it to the n-type side instead, so charge builds up like the two terminals of a battery.12
  3. The wire is the only way home. Thin metal contacts, the grid of lines you can see on a cell, collect the electrons.1 They flow out through the wire, power whatever is connected, and return to the other side of the cell.9

light frees electron → field pushes it one way → wire is the only road back = current

How do solar panels work on a house?

One cell only makes about 1 to 2 watts, enough for a calculator or a wristwatch.29 So cells are wired together into panels (also called modules), and panels are wired together into an array.2

Solar cells make direct current (DC), which flows in one direction. Homes and the power grid use alternating current (AC), which flows back and forth. A box called an inverter converts DC to AC by switching the direction of the current back and forth very rapidly.3

PartJob
Solar cellsTurn light into DC electricity
Panels / arrayWire many cells together for useful power
InverterTurns DC into AC for the home and grid
Battery or gridStores or takes extra power, and supplies it when the Sun is down

When the panels make more than the home needs, the extra can charge batteries or flow into the grid.7

How efficient are solar panels?

Most of the sunlight that reaches a cell doesn't become electricity. Some is reflected, some passes through, and some turns into heat.4 Commercial panels have improved a lot: under 10% efficient in the mid-1980s, about 15% by 2015, and now close to 25% for the best modules. Some experimental cells reach nearly 50%.914 A good panel today turns roughly a fifth of the light into power.

Heat is actually bad for solar cells: they work best when they're cool, because higher temperatures lower their voltage.4

Why the angle of a solar panel matters

A panel makes the most electricity when it faces the Sun head on.9 When it's tilted away, the same beam of light is spread over a slant, so less light lands on each cell.13 A low Sun in the morning, evening or winter is weaker too, because its light travels a longer path through the air. The most solar energy arrives around solar noon.6

That's why, in the northern hemisphere, panels usually face south (north in the southern hemisphere), tilted at roughly the local latitude to collect the most energy over a year.97 You can test this in chapter 5 of the explainer above.

Do solar panels work on cloudy days, or at night?

Cloudy days: yes, but less. Thick clouds can cut the direct beam of sunlight by up to 100%, but flat panels still catch the diffuse light scattered through the clouds.610

At night: no. With no sunlight on the panels, they make no useful current (moonlight is far too weak). That's what batteries and the grid are for.79

How long do solar panels last?

Silicon panels are expected to last 25 years or more and still make over 80% of their original power.1 The average lifespan has grown from about 20 years in 2007 to 25–35 years today, and recycling processes for old panels exist.8

Why are solar panels good?

  • No pollution while running: PV systems produce no air pollutants or carbon dioxide while they operate.10
  • No fuel and no moving parts: nothing to burn, and nothing spinning to wear out.11
  • A huge supply: the sunlight Earth receives each day carries many times more energy than all the energy people use in a day.10
  • Plentiful material: silicon is the second most common element in Earth's crust.1

When were solar panels invented?

The first practical solar cell was made by researchers at Bell Telephone in 1954. From the late 1950s, solar cells powered satellites in space.9

Common misconceptions

"Solar panels run on the Sun's heat." They run on light. Heat actually lowers their output. Solar water heaters are a different technology.49
"The electricity comes from the Sun." The electrons were already in the silicon. Light gives them energy, and the junction's field gives them a direction.12
"Solar panels don't work when it's cloudy." They make less, but scattered light still gets through.6
"Solar panels store energy for the night." A panel stores nothing. No light, no current. Night-time power comes from batteries or the grid.7
"The angle doesn't matter." Output drops as the panel turns away from the Sun.913

FAQ

How do solar panels work, in simple words?

Each solar cell is a thin sandwich of two kinds of silicon with an electric field built in where they meet. When light hits the cell, it knocks electrons free. The field pushes them one way, and the only way for them to get back is through a wire you connect. That flow of electrons is an electric current.

Do solar panels work on cloudy days?

Yes, but they make less power. Thick clouds can block nearly all of the direct sunlight, but some light is scattered through the clouds, and flat solar panels can still use that diffuse light.

Do solar panels work at night?

No. With no sunlight on the panels, too few photons arrive to free electrons (moonlight is far too weak), so they make no useful current. Homes with solar panels use electricity from batteries or from the grid at night.

Do solar panels work in winter?

Yes. Solar cells actually work better when they are cool, because heat lowers their voltage. Winter output is lower mainly because days are shorter and the Sun is lower in the sky, so its light travels through more air and hits the panel at a slant.

How efficient are solar panels?

Good commercial panels turn roughly a fifth of the sunlight that hits them into electricity, and the best modules are approaching 25%. In the mid-1980s it was under 10%. Some experimental cells reach nearly 50%.

How long do solar panels last?

Silicon solar panels are expected to last 25 years or more and still produce more than 80% of their original power. The U.S. Department of Energy says the average lifespan has risen to about 25 to 35 years.

What are solar panels made of?

Mostly silicon, which comes from quartz sand. Thin silicon wafers are treated with small amounts of other atoms such as phosphorus and boron, given thin metal contact lines, wired together with copper ribbons, and sealed under glass in an aluminium frame.

Did this help it click?

Sources

  1. U.S. Department of Energy (SETO), Solar Photovoltaic Cell Basics
  2. U.S. Department of Energy (SETO), Solar Photovoltaic Technology Basics
  3. U.S. Department of Energy (SETO), Solar Integration: Inverters and Grid Services Basics
  4. U.S. Department of Energy (SETO), Solar Photovoltaic Performance and Efficiency Basics
  5. U.S. Department of Energy (SETO), Solar Manufacturing Basics
  6. U.S. Department of Energy (SETO), Solar Radiation Basics
  7. U.S. Department of Energy (SETO), Solar Photovoltaic System Design Basics
  8. U.S. Department of Energy (SETO), End-of-Life Management for Solar Photovoltaics
  9. U.S. Energy Information Administration, Photovoltaics and electricity
  10. EIA Energy Kids, Solar
  11. Encyclopaedia Britannica, Solar cell
  12. Encyclopaedia Britannica, Photovoltaic effect
  13. PVEducation (C. Honsberg & S. Bowden), Doping; P-n junction diodes; Arbitrary orientation and tilt
  14. NREL, Best Research-Cell Efficiency Chart