QuestionElectricity
How Do Solar Panels Work? Turning Sunlight Into Electricity

Solar panels turn sunlight into electricity through the photovoltaic effect. Light absorbed in silicon cells knocks electrons loose, and an electric field built into each cell pushes those electrons in one direction, so the panel produces direct current (DC). Typical commercial panels convert about 18 to 22 percent of the sunlight that reaches them into electricity.
Contents
The full answer
A solar panel is a set of cells wired together, usually 60 or 72 cells for a rooftop module. Most cells are made of silicon, a semiconductor that conducts electricity better than an insulator but much worse than a metal. In pure silicon, each atom shares its four outer electrons with its neighbors, so there are few free electrons to carry current.
Light changes this. A photon of visible light has enough energy, about 1.8 to 3.3 electron volts (eV), to free an electron from its bond and leave behind a gap called a hole. Silicon needs only about 1.1 eV to do this, so most of the visible spectrum is useful. Photons with less energy than the band gap pass through without effect.
Each cell has two differently treated layers. One layer is doped with phosphorus, which adds extra electrons, and the other with boron, which creates holes. Where the layers meet, an electric field forms. This field pushes freed electrons toward the front contacts and the holes toward the back, so a current flows when the cell is connected to a circuit.
Commercial panels are rated in watts. A typical home panel makes about 400 watts under standard test conditions of 1,000 W/m² of sunlight at 25 °C. Laboratory cells have reached higher efficiencies than commercial modules.
Inside a silicon solar cell
Sunlight creates electron and hole pairs throughout the cell, but only those close to the junction are swept apart by the internal field. Thin metal fingers on the front collect electrons, and a metal layer on the back collects the holes. A busbar joins the fingers so that the current can leave the panel through two terminals.
The energy left over after an electron is freed does not produce current. It becomes heat in the cell. This is one reason panels lose output on hot days. For typical silicon modules, the power drops by roughly 0.3 to 0.5 percent for each degree Celsius above 25 °C.
Most homes use alternating current (AC), so a panel’s DC output goes to an inverter. The inverter converts the direct current to alternating current at the voltage and frequency of the local grid, which is 60 hertz in North America and 50 hertz in most of Europe.
Panels on an everyday roof
Rooftop solar systems are the most common example. A set of panels is wired in series to reach a useful voltage, and the inverter feeds the output into the house wiring. Any power the house does not use can flow onto the grid, and the meter records it. At night the panels produce nothing.
Small solar cells also power pocket calculators and garden lights. Calculator cells are thin-film cells and use indoor light, which is much weaker than sunlight, so they still produce a little current. The same physics works at both scales: light supplies photons, and the cell turns the energy of those photons into a flow of electrons.
Angle matters as well. In the northern hemisphere, panels usually face south and are tilted to catch the most sunlight during the day. Light that strikes a surface at a steep angle spreads over a larger area, so fewer photons reach each square meter of the cell, and the output drops.
Do solar panels work on cloudy days?
Solar panels still work on cloudy days because clouds scatter sunlight rather than blocking all of it. Diffuse light still carries photons with enough energy to free electrons in silicon. The cell simply receives fewer photons, so the output falls, often sharply, under heavy cloud.
Panels also work in winter, although the sun is lower and the days are shorter, so the total energy produced in a day is usually much less. Cold weather can help efficiency, because a cool cell loses less output to heat. Snow on a panel blocks light until it slides off or melts.
Partial shade is a different problem. A shadow across one corner of a module can reduce its output more than its size suggests, because the cells are wired in series and the weakest cell limits the current. Bypass diodes, built into most modules, reroute current around shaded groups of cells to limit this loss.
Common misconceptions
Misconception: panels need direct sunlight to work at all. They need light, but they produce electricity from diffuse light too, at a lower level.
Misconception: panels make electricity from heat. Solar panels are photovoltaic, not thermal, so they use photons rather than warmth. Heat actually reduces their output.
Misconception: panels store the electricity they make. A panel produces power only while light falls on it. Storing energy for night use requires a battery.
Frequently asked questions
How much electricity does a solar panel produce?
A typical home panel is rated at about 400 watts under standard test conditions, which means 1,000 W/m² of sunlight at 25 °C. Real output depends on the sun’s strength, the angle of the panel, its temperature and any shade.
What is the photovoltaic effect?
The photovoltaic effect is the production of voltage and current when light is absorbed in a material. In a solar cell, absorbed photons free electrons that an internal electric field drives through an external circuit.
Why do solar panels make DC instead of AC?
A solar cell’s internal field pushes electrons in one direction, so its output is direct current. Homes use alternating current, so an inverter converts the DC to AC at the right voltage and frequency.
Why is silicon used in solar panels?
Silicon is a semiconductor with a band gap of about 1.1 eV, which suits visible and near-infrared sunlight. It is abundant, because silica is a major part of sand, and its manufacturing process is well developed.
How long do solar panels last?
Most manufacturers warrant panels for about 25 years and expect them to keep producing power for decades. Output falls slowly over time, and the exact rate depends on the product and the climate.
Sources and further reading
- National Renewable Energy Laboratory, "Best Research-Cell Efficiencies"
- OpenStax, "College Physics 2e"
Cite this page
“How Do Solar Panels Work? Turning Sunlight Into Electricity.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-solar-panels-work/.
More about Photon
- PhysicsPhoton: What Is a Photon? Energy, Mass and Properties
- QuestionDo Photons Have Mass? How Light Carries Momentum
- ComparisonElectron vs Photon: A Particle of Matter vs a Particle of Light
- ComparisonFluorescence vs Phosphorescence: Why Some Things Glow
- QuestionHow Do Glow-in-the-Dark Toys Work? Phosphorescence Explained
- QuestionHow Do Photochromic Lenses Darken in Sunlight?
- QuestionHow Do X-Rays See Through the Body? The Physics of X-Ray Images
- QuestionHow Do You Calculate the Energy of a Photon? E = hf
- QuestionHow Does a Light Bulb Work? Incandescent and LED Bulbs Explained