Home / Guides
Basics

How solar power works: from sunlight to your outlet

What happens inside a solar panel, how its power reaches your appliances, how much a panel makes where you live, and what happens at night or in a power cut.

Solar & All editors · Updated December 6, 2026 · 8 min read

A solar panel turns light straight into electricity, with no moving parts, fuel or noise. The idea is more than 70 years old: researchers at Bell Labs in the US built the first practical solar cell in 1954, and panels were powering satellites by the late 1950s.

Today it's the fastest-growing source of electricity in the world. Here's how it works, step by step, wherever you live.

Step 1: Light frees electrons in the cell

Each panel is made of solar cells, thin slices of a semiconductor, almost always silicon. Silicon makes up about 95% of the solar panels sold today, according to the US Department of Energy, and it's the second most common element in the Earth's crust.

When sunlight hits the cell, some of it is absorbed. That energy knocks electrons loose. The cell is built with an electric field inside it, which pushes those electrons in one direction. Electrons moving in one direction are an electric current.

Thin metal lines on the cell collect the current and carry it out. That's the whole trick: no heat engine, no turbine.

Why not 100%? A cell can only use light within a certain energy range, and some light is reflected or passes straight through. The best commercial silicon panels now turn just under 25% of the sunlight that hits them into electricity, up from about 17% ten years ago, per Fraunhofer ISE. See our guide to panel types for how the main designs compare.

Step 2: Cells make a panel, panels make a system

One cell makes only about 1 to 2 watts, the US Energy Information Administration says. So dozens of cells are wired together behind glass to make a panel (also called a module) of a few hundred watts. Several panels together are an array.

An array can be as small as one or two panels, like a balcony kit, or as large as the many thousands of panels in a solar farm.

Step 3: An inverter turns DC into AC

Solar cells make direct current (DC), the kind a battery gives out. Homes and power grids run on alternating current (AC). An inverter converts one to the other, and matches the voltage and rhythm (frequency) of the grid it's connected to.

That matters because the world doesn't run on one standard. North and Central America and much of South America use about 110 to 130 volts at 60 hertz. The exceptions include Argentina and Chile (220 V, 50 Hz), Peru (220 V, 60 Hz) and Bolivia (230 V, 50 Hz). Europe, Africa, Australia and most of Asia use 220 to 240 volts at 50 hertz. Japan uses 100 volts, split between 50 Hz and 60 Hz by region. An inverter built for one region generally won't work, or isn't allowed, in another, so always buy equipment sold and certified for your country.

There are three common kinds:

  • Microinverters: one small inverter for one or two panels. Used in balcony and plug-in kits.
  • String inverters: one box for a whole row of panels. Common on house roofs.
  • Hybrid inverters: also manage a battery. Used in home battery systems.

Step 4: Your home uses the power first

Once the inverter feeds AC into your home's wiring, electricity simply flows to whatever is switched on. Your fridge, router or washing machine uses the solar power before drawing anything from the grid, so you buy less from your utility.

If the panels make more than your home is using at that moment, the extra flows out to the grid. What happens next depends on where you live:

  • Some countries and utilities pay you for it, or credit it against your bill (often called net metering or a feed-in tariff).
  • Others pay little or nothing, especially for small plug-in systems. Then the goal is to use as much as you can yourself, for example by running appliances during the day.

Check your local utility's rules before you size a system. In the US, our state law tracker covers plug-in solar.

Step 5: Night, clouds and power cuts

  • Night: no light, no power. Your home draws from the grid as normal.
  • Clouds: panels still work, but output drops, sometimes sharply.
  • Power cuts: a grid-connected system without a battery shuts off when the grid goes down. That's a safety rule, so it can't send power into lines that repair crews expect to be dead.

A battery fixes the first and third of these. It stores daytime solar for the evening, and some systems keep selected outlets running in a power cut. A portable power station is the simplest way to get backup without rewiring anything.

How much power will a panel make where you live?

Panels are rated in watts under lab conditions, but what you care about is energy over time, measured in kilowatt-hours (kWh). The best rule of thumb comes from the World Bank's global study of solar potential: 93% of the world's population lives in countries where every 1 kilowatt (1,000 W) of panels makes an average of 3 to 5 kWh a day over a year.

That gives a quick way to estimate any system:

Daily energy (kWh) ≈ system size (kW) × 3 to 5

  • An 800 W balcony kit (0.8 kW): about 2.4 to 4 kWh a day, or roughly 900 to 1,500 kWh a year if it's well placed.
  • A 6 kW roof: about 18 to 30 kWh a day.

Where you are on that range depends mostly on how sunny your climate is. The World Bank found the sunniest country it studied (Namibia) has less than twice the potential of the least sunny (Ireland). So solar works across most of the world, not just in deserts: about 20% of the world's population lives in roughly 70 countries averaging more than 4.5 kWh per kW a day.

Those averages are for well-placed panels. A balcony kit hanging vertically, facing the wrong way or shaded for part of the day often makes 30% to 40% less, around 550 to 900 kWh a year for 800 W. That matches EcoFlow's estimate of 600 to 900 kWh a year for an 800 W kit in most US climates, and our calculator assumes a balcony kit makes 60% of what a well-placed system would. See balcony kit output in 27 cities, or, if you're in the US, try our savings calculator.

How long do panels last?

Silicon panels are expected to last 25 years or more and keep over 80% of their original output, according to the US Department of Energy. Inverters usually need replacing sooner than panels, and batteries wear out with use, so check each part's warranty separately.

Solar around the world

Solar is now the world's fastest-growing source of electricity. In 2025, solar generation rose by 636 TWh, or 30%, according to the energy think tank Ember. That was 75% of the world's growth in electricity demand. Solar made 2,778 TWh in total and overtook wind power for the first time, and renewables together made 34% of the world's electricity.

China installed about 58% of the world's new solar in 2025. Per person, Australia, the Netherlands, the UAE and Chile are among the leaders, each generating more than three times the global average of 345 kWh of solar per person.

The whole journey in one line

Sunlight frees electrons in silicon cells → the cells' current flows out as DC → an inverter turns it into AC that matches your grid → your appliances use it first → any extra goes to a battery or the grid.

Sources