Skip to the explanation
Energy
Choose language, current: English

How does a solar panel make electri­city?

Nothing spins, nothing burns and it makes no sound. Yet electricity comes out of a panel on the roof. Enough to charge your phone or run the washing machine. Where does that electricity come from?

The short answer

A solar panel is made of cells of silicon. Inside them, light knocks tiny particles loose: electrons. A boundary between two thin layers in the cell pushes all those loose electrons the same way, into the wire. And lots of electrons all moving the same way: that's electricity.

About 5 minutes to read, plus two things to try yourself.

1. A panel is a row of cells

Take a good look at a solar panel. You'll see a grid of squares, often sixty or more. Those are solar cells. Each cell is a thin sheet of silicon, about twice as thick as a hair. Silicon is a material you make from sand. Thin silver lines run across the cell: that's how the electricity leaves the cell.

To understand what happens inside a cell like that, you need to know what electricity is actually made of. Everything around you is built from tiny building blocks: atoms. Around each atom are much smaller particles with a negative charge. They're called electrons. Electricity is nothing more than lots and lots of electrons all sliding the same way through a wire.

2. Light knocks electrons loose

Light looks like an ordinary beam, but it's actually a shower of tiny packets of energy. A packet like that is called a photon. Energy is what you need to make something move, heat up or burn.

In silicon, the electrons are stuck to their atoms. When a photon lands on the cell, it gives its energy to an electron. The electron gets such a push that it breaks loose and can move freely through the silicon. Where it used to be, an empty spot is left behind. That's called a hole.

But a loose electron isn't electricity yet. It wanders off in all directions, and after a very short time it falls back into a hole. Its energy then turns into a tiny bit of heat. So something else is needed.

3. The boundary sends them one way

A solar cell is made of two thin layers of silicon. In the factory, a tiny bit of another material is added to each layer. The top layer gets a material with one extra electron, the bottom layer a material with one electron too few.

Where the two layers touch, a boundary forms all by itself. That boundary works like a slide. When a loose electron reaches the boundary, it gets pushed upward. It can't go back. The holes go the other way: downward. In real life it's a bit more complicated, but this gives you the idea.

So more and more electrons gather at the top, and more and more holes at the bottom. The cell gets a minus side and a plus side, just like a battery. How hard the electrons want to get from the minus side to the plus side is called the voltage. You measure voltage in volts.

Try it yourself: let the sun shine and watch where the electrons go. Then turn off the boundary. What happens to the bulb?

A solar cell seen from the side, with a wire to a bulb Packets of light fall on the cell from above. They knock yellow electrons loose and leave white holes behind. The boundary between the top layer and the bottom layer pushes the electrons up and the holes down. The electrons travel along a wire through a bulb and come back into the cell at the bottom. light top layer boundary bottom layer metal back metal lines bulb wire
Knocked loose
0
Through the bulb
0

The sun isn't shining.

In real life, this happens lightning fast, with billions of electrons at once. In the wire, you can see which way the electrons go.

With JavaScript on, you can turn on the sun yourself and remove the boundary. Then you'll see that without a boundary, the electrons fall back and the bulb stays off.

4. A loop through the wire

Connect the top and the bottom of the cell with a wire, and the electrons have a way out. They travel through the silver lines into the wire, through your bulb or charger, and come back into the cell at the bottom. There they fill up a hole. As long as light falls on the cell, that loop keeps going.

Nothing gets used up and almost nothing wears out. A solar panel needs no fuel and has no moving parts. The light itself does the pushing. The current always flows the same way. That's called direct current, just like the electricity from a battery.

Experiment: make it night for a garden light. Many solar garden lights have a small solar panel on top. During the day, put your hand over it. Does the light come on? The light also uses its little panel as a light meter: when no more electricity comes out, it thinks it's night. Do this together with an adult, and don't open the light up.

5. From the roof to your outlet

More light means more photons, so more loose electrons and more electricity. A panel produces the most when the sun shines straight onto it. That's why panels are tilted. Behind a thick cloud, much less light gets through, and at night a panel produces nothing at all.

Shade is trickier than you think. The cells are linked together in a row, and the same current has to flow through all of them. If one cell is in the shade, it slows down the whole row, like a kink in a garden hose. That's why a panel has detours, called bypass diodes. If a cell is in the shade, the current takes a detour around that part of the panel.

Your outlets don't run on direct current. They use alternating current: current that switches back and forth very quickly. A box called an inverter converts the electricity from your panels. Whatever you don't use yourself goes onto the power grid, to the neighbors.

Try it yourself: move the sun high and low, slide a cloud in front of it and let the chimney cast a shadow on one cell. Then try taking the detours away.

A house with a solar panel, and the panel seen from the front On the left, a house with a sloping roof. On the roof is a solar panel, with the sun in front of it. On the right, the panel from the front: sixty cells in six columns. Each pair of columns forms a section with its own detour. south north panel from the front
The panel is now producing
400 watts

A 400-watt panel on a roof that faces south. In the Netherlands, the midday sun is about 15° above the horizon in winter and about 60° in summer. The numbers are simplified: for example, we ignore the temperature of the panel.

With JavaScript on, you can move the sun here, add a cloud and cast a shadow on the panel.

Light knocks electrons loose. The boundary sends them all the same way, and that's electricity.

Did you know?

Two hours of sun is a year of energy

In about two hours, as much solar energy falls on the Earth as all the people in the world use in a whole year. For cars, factories, heating and electricity all together. We only catch a tiny bit of it.

The Netherlands is the European champion

No country in Europe has as many solar panels per person as the Netherlands. There are about four per person, even though the sun shines there less often than in Spain or Italy.

Want to know more?

Not all light knocks an electron loose

A photon needs enough energy to knock an electron loose. For silicon, that's at least 1.1 electronvolts. An electronvolt (eV) is a tiny unit of energy, handy for measuring the energy of a single particle. That threshold is called the band gap.

How much energy a photon has depends on the color of the light, in other words on its wavelength: the distance from one wave crest to the next. You measure that in nanometers: a billionth of a meter. There's a handy rule of thumb:

energy of a photon (in eV) ≈ 1,240 ÷ wavelength (in nanometers)

The sign ≈ means “about,” and ÷ means “divided by.” Red light has a wavelength of around 700 nanometers. That gives 1,240 ÷ 700 ≈ 1.8 eV. That's enough, and the 0.7 eV left over becomes heat. Infrared light of 1,500 nanometers, which you can't see, has only 0.8 eV. That's too little: a photon like that just goes straight through the cell.

Why never 100 percent?

Percent means “out of a hundred.” Today, about 20 to 23 percent of the sunlight that falls on a panel becomes electricity. That's called the efficiency. The rest is lost: photons with too little energy pass straight through, the extra energy of strong photons becomes heat, and a bit of light bounces back. That's why a cell with one boundary can never get much better than about 33 percent. For silicon, the maximum is around 29 percent, and the best cells in laboratories reach about 27 percent. Cells for satellites stack several layers on top of each other, each for a different color of light. They reach more than 30 percent, but they're much more expensive.

Volts, watts and watt-peak

One cell produces a voltage of about 0.6 volts. That's not much, which is why sixty or more are connected one after another. Their voltages add up to around 30 to 40 volts per panel. You measure power in watts: how much energy per second.

Manufacturers test their panels with a lamp of 1,000 watts per square meter, at 25 °C. That's about the brightest sunshine you get on Earth. What the panel produces then is called its watt-peak (Wp). A 1.9-square-meter panel gets 1.9 × 1,000 = 1,900 watts of light in that test. With an efficiency of 21 percent, it produces:

1,900 × 0.21 ≈ 400 watt-peak

How much electricity per year?

You measure how much energy a panel makes over a longer time in kilowatt-hours (kWh). One kilowatt-hour is 1,000 watts for one hour. A 2,000-watt kettle uses that in half an hour. In the Netherlands, a panel produces about 0.85 kWh per year for every watt-peak. For a 400 watt-peak panel, that's 400 × 0.85 = 340 kWh per year. An average Dutch household uses around 2,500 to 3,000 kWh per year. With about eight panels you make that much over a year, although most of it comes in summer.

Heat is bad for a panel

You'd think a panel works best when it's really hot. It's the other way around. For every degree above 25 °C, a panel produces about 0.35 percent less. On a sunny summer day, a panel can reach 60 °C. That's 35 degrees too warm, so 35 × 0.35 ≈ 12 percent less. That's why a clear, cool day in spring is often a top day for solar panels.

Think further

Why are most solar panels in the Netherlands tilted and facing south? Would that be the same in Australia?

Give me a hint

Where is the sun at midday when you look outside in the Netherlands? And Australia is on the other side of the equator.

See a possible answer

In the Netherlands, the sun is in the south at midday, and never directly overhead. A tilted panel facing south then gets the sun most directly. In Australia, it's the other way around: at midday the sun is in the north. So panels there often face north. By the way, lots of people also put their panels facing east and west. Then you get a bit less in total, but more electricity in the morning and the evening.

Your panels make the most electricity during the day, but in the evening you want to cook and watch TV. How could you solve that?

Give me a hint

You could store the electricity, or you could be smart about when you switch things on.

See a few ideas

There isn't one right answer. You can store electricity in a home battery or in the battery of an electric car. You can run the washing machine and dishwasher in the middle of the day. You can heat water during the day and use that hot water in the evening. And you can give electricity to the grid during the day, so others can use it, and get electricity back in the evening, from wind turbines for example. What would you do?

Words you now know

Atom
A tiny building block. Everything around you is made of atoms.
Electron
A much smaller particle with a negative charge, found around an atom.
Electric current
Lots and lots of electrons moving the same way together.
Energy
What you need to make something move, heat up or burn.
Photon
A tiny packet of light with a little bit of energy.
Silicon
The material solar cells are made of. You make it from sand.
Solar cell
A thin sheet of silicon that turns light into electricity. A panel has dozens of them.
Hole
The empty spot a loose electron leaves behind. It acts like a tiny positive charge.
Boundary
The place where the two layers of the cell touch. It pushes electrons up and holes down.
Voltage
How hard the electrons want to get from the minus side to the plus side. You measure it in volts.
Watt
How much energy is delivered or used per second.
Direct current
Current that always flows the same way, like the current from a battery or solar panel.
Alternating current
Current that switches back and forth very quickly, like the current in your outlet.
Inverter
A box that converts direct current from the panels into alternating current for your home.
Bypass diode
A detour in a panel, so the current can go around a section in the shade.
Percent
“Out of a hundred”: 30 percent is 30 out of 100.
Efficiency
What percentage of the energy ends up where you want it.
Watt-peak
How many watts a panel produces in the brightest sunlight, in the manufacturer's test.
Kilowatt-hour
An amount of energy: 1,000 watts for one hour.
Electronvolt
A tiny unit of energy, handy for the energy of a single particle.
Band gap
The smallest amount of energy a photon needs to knock an electron loose in a material.
Wavelength
The distance from one wave crest to the next. For light, it determines the color.
Infrared
Light with a wavelength too long to see. You can feel it as heat, though.

Test yourself

What knocks an electron loose in a solar cell?

See the answer

A photon, a packet of light.

What would happen if a solar cell had no boundary between the two layers?

See the answer

The loose electrons fall back into a hole, so no electricity comes out.

Why doesn't a solar panel make any electricity at night?

See the answer

No light falls on it, so no electrons get knocked loose.

Tricky question: a panel has sixty cells connected one after another and no detours at all. A leaf falls on one cell. What happens?

See the answer

The whole panel produces much less, because the same current has to flow through all the cells.

Explore more