Science & Environment

How Solar Panels Work: A Plain-Language Guide

Understand the photovoltaic effect, what inverters and batteries do, the difference between grid-tied and off-grid systems, and what affects how much power panels make.

Rows of solar panels on a house roof under a clear blue sky.
Image: Watt A Lot / Unsplash
In this article
  1. The photovoltaic effect
  2. From cell to system
  3. What the inverter does
  4. Grid-tied, off-grid and battery systems
  5. What affects how much power you get
  6. A worked example: estimating daily output
  7. Choosing and checking a system
  8. Common mistakes
  9. Frequently asked questions
  10. Next steps

A solar panel turns light into electricity with no moving parts. Sunlight hits a thin slice of semiconductor, knocks electrons loose, and those electrons are pushed along wires as an electric current. The rest of a solar system, from the inverter to the battery, exists to turn that raw current into something your home can use.

This guide is for anyone curious about how solar power works or considering it for a home, school or small business. You will learn the basic science, what each part of a system does, how grid-tied, off-grid and battery systems differ, what changes the amount of power you get, and how to estimate output with a simple calculation.

The photovoltaic effect

Photovoltaic (PV) means "light" and "voltage" combined. According to the US Department of Energy, a solar cell contains a semiconductor that absorbs sunlight and transfers that energy to electrons, which then flow as an electric current. Metal contacts, the thin grid-like lines you can see on a cell, collect the current. Not every material can do this, and the ability to convert light into electricity is called the photovoltaic effect.

Silicon is the most common solar cell material. It is used in the great majority of panels sold worldwide. The Department of Energy reports that monocrystalline silicon accounted for 96% of global solar shipments in 2022, with most of the remainder being cadmium telluride, a thin-film material. Silicon cells offer high efficiency, low cost and a long life.

Inside a silicon cell, two layers are treated differently so that one has extra electrons and the other has spaces for them. Where the layers meet, a built-in electric field pushes freed electrons in one direction. That one-way push is what turns freed electrons into a steady current instead of random movement.

From cell to system

A single cell makes only a small amount of power. Manufacturers connect many cells into a module, which is the panel you see on a roof. Several modules are wired together into an array. A complete home system has these main parts:

  1. Panels (the array). They produce DC electricity when light hits them.
  2. Mounting and wiring. Frames hold panels at the right angle, and cables carry the current, with safety switches and fuses.
  3. Inverter. It changes DC to AC.
  4. Electricity meter and distribution board. They connect the system to your home's wiring and, in most cases, to the grid.
  5. Battery (optional). It stores energy for later.

What the inverter does

Panels produce direct current, which flows in one direction. Homes and the grid use alternating current, which reverses direction many times per second. An inverter bridges the two. The Department of Energy explains that it rapidly switches the DC input back and forth and shapes the output into a clean, repeating wave that the grid can accept.

Many household inverters also watch the grid. They stay connected during small disturbances and disconnect if a problem lasts or is unusually large. Some systems use one large inverter for the whole array. Others place a small microinverter on each panel, which can help when some panels are shaded.

Grid-tied, off-grid and battery systems

System typeHow it worksStrengthsLimits
Grid-tied (no battery)Connected to the public grid. Solar supplies your home first, and the grid covers any shortfallLowest cost, simple, no storage to maintainNormally shuts down during a grid outage for safety; no power at night
Grid-tied with batteryStores spare solar energy for evening use or outagesBetter use of your own power; backup possible if designed for itHigher cost; battery has a limited lifetime
Off-gridNot connected to the grid; panels, battery and inverter supply everythingWorks where no grid existsNeeds a large battery and careful sizing; often a backup generator

Whether you can sell excess power to the grid, and at what price, differs between countries and even between utilities. Rules about connection, metering and payments for exported power change often, so check with your local utility or energy regulator before you buy.

The Department of Energy notes that solar-plus-battery systems store energy for later use, with the inverter managing how the solar system interacts with the battery. Advanced inverters can allow these systems to run without grid support during outages, if they are designed to do so. Ask any installer whether the system you are quoted can actually provide backup power, because many do not by default.

What affects how much power you get

Panel ratings are measured in laboratory conditions. Real rooftops are different. These factors matter most:

  • Sunlight available. Locations nearer the equator and with less cloud receive more energy over a year. Seasons matter too, with much less in winter at higher latitudes.
  • Direction. Panels generally face the equator: south in the northern hemisphere and north in the southern hemisphere. Near the equator, flat or east-west layouts can also work well.
  • Tilt. A tilt close to your latitude is a common starting point, though roof angle often decides in practice.
  • Shade. Even partial shade from a tree, chimney or neighboring building can cut output more than its size suggests, especially when panels are wired in series.
  • Temperature. Panels lose some efficiency as they heat up. A cool, breezy sunny day can be better than a still, very hot one.
  • Dirt and dust. Dust, pollen, bird droppings and snow reduce output. Rain cleans some of it, and in dusty regions occasional cleaning helps.
  • System losses. Wiring, the inverter and mismatch between panels all waste a little energy.
  • Panel efficiency. This is the share of sunlight a panel converts to electricity. The Department of Energy puts typical commercial silicon modules at about 20% to 22%. A higher-efficiency panel produces more per square meter, which matters when roof space is limited.
  • Age. Panels slowly lose output. The Department of Energy says silicon modules are expected to last 25 years or more and still produce more than 80% of their original power.

A worked example: estimating daily output

The numbers below are hypothetical. Real output varies by site and season.

Say a system has a rated capacity of 4 kilowatts (kW), written kWp for "peak." Say your location gets the equivalent of 4 hours of full-strength sunshine per day on average, often called peak sun hours. Assume system losses of 20%, so the system delivers 80% of the ideal figure.

  1. Ideal daily energy: 4 kW multiplied by 4 hours is 16 kilowatt-hours (kWh).
  2. Subtract losses: 16 multiplied by 0.8 is 12.8 kWh per day.
  3. Annual estimate: 12.8 multiplied by 365 is about 4,670 kWh per year.

Compare that with your own electricity use. If your household uses 3,500 kWh per year, the system could cover your annual total on paper, but not at the right times: much of the energy arrives at midday, while many homes use more in the evening. That timing gap is the main reason people consider batteries or shifting appliance use to daytime. To understand how this fits with the rest of your energy use, see our guide to your household carbon footprint.

Solar output also depends on cloud and weather, which is one reason accurate forecasts matter to grid operators. Our article on how weather forecasts are made explains the basics.

Choosing and checking a system

Before signing a contract, ask for:

  • A written estimate of annual output, with the assumptions behind it
  • The brands, warranty length and who handles warranty claims
  • Whether the system can supply backup power in an outage
  • The inverter type and its expected lifespan, since inverters often need replacing before panels do
  • Evidence of installer qualifications required in your country
  • All costs, including permits, grid connection and any maintenance

Get several quotes and compare the estimated output per unit of installed capacity as well as the price.

Common mistakes

  • Choosing by panel wattage alone. Roof orientation, shading and losses can matter more.
  • Ignoring shade. Check for trees, chimneys and future buildings.
  • Expecting full backup power from a basic grid-tied system. Most shut down in an outage unless designed otherwise.
  • Oversizing for exports. If exported power earns little in your area, size for your own use.
  • Skipping local rules. Permits, grid connection and payment schemes differ by region.
  • Forgetting maintenance. Monitor output so you notice a failed inverter or dirty panels.

Frequently asked questions

Do solar panels work on cloudy days?

Yes, but at much lower output. Panels still capture diffuse light, though a heavy overcast can reduce production significantly compared with a clear day.

How long do solar panels last?

Many silicon panels are expected to last 25 years or more while producing more than 80% of their original output. Inverters usually have shorter lives, so plan for a replacement during the system's lifetime.

Do panels work in cold climates?

Yes. Cold does not harm them, and panels are often slightly more efficient when cool. The limiting factor is the amount of daylight in winter, and snow cover.

Are solar panels recyclable?

Many components, such as glass, aluminum frames and some metals, can be recycled, but recycling facilities and rules vary by country. Ask the installer or manufacturer about take-back or recycling options.

Next steps

  1. Check your annual electricity use on your bills, and note when in the day you use most.
  2. Look at your roof or site for direction, tilt and shade, and find your area's typical peak sun hours from a national or regional solar map.
  3. Request several written quotes, and compare estimated yearly output, warranties and backup capability.
  4. Check your local utility or regulator for connection rules and rules on selling excess power.

How we make our guides: this article was researched and drafted with the help of AI tools, checked against the sources listed above, and reviewed by the Offersino team before publishing. Bylines on this site are pen names. Read our editorial policy or report an error.

Written by James Holloway

James Holloway is the pen name of our technology, work and science desk. Guides under this byline explain everyday tech, productivity and science topics in plain language, with practical steps and links to authoritative sources.

Related articles

More from Offersino

Travel

How to Avoid Jet Lag on Long-Haul Flights

How your body clock reacts to time zones, why flying east is harder than west, when to seek light, how to use sleep and caffeine, and a sample plan you can adapt.

7 min read