SolarRating.ca

Home / Guides / Solar basics / How solar panels generate electricity from sunlight

How solar panels generate electricity from sunlight

Short answer. Solar panels work through the photovoltaic effect: sunlight frees electrons in silicon cells, making direct current that an inverter turns into alternating current for the home. A 400 watt panel delivers about 330 W at the outlet in full sun, and a 7 kW Toronto system makes about 33 kWh on a July day and 8 kWh in December.

Solar panels work through the photovoltaic effect: light frees electrons in silicon solar cells, and a built-in electric field pushes them into a current. That current is direct current (DC). An inverter converts it to the alternating current (AC) that runs a home, and surplus solar power flows to the grid. Solar panels need light, not heat, and cold, clear weather suits the process.

How do solar panels work in four steps?

  1. Sunlight reaches the cells. Light arrives as photons, small packets of energy, and passes through the glass layer of the solar panel.
  2. The cells generate electricity. Photons with enough energy free electrons in the silicon, and the cell’s electric field sends them in one direction. That flow is DC electricity.
  3. The inverter converts it. The inverter turns DC into AC at the grid’s voltage and frequency.
  4. The home uses it, and the grid takes the rest. Appliances draw the solar power first, the grid fills any shortfall, and surplus is exported through the meter.

The rest of this page explains each step and puts numbers on it.

The photovoltaic effect in a solar cell

Most solar panels use cells cut from silicon, a semiconductor. A cell is built from two thin layers of silicon treated with small amounts of other elements. One layer has extra free electrons (n-type) and the other has gaps where electrons are missing (p-type). Where the layers meet, called the p-n junction, an electric field forms.

When a photon with enough energy hits the cell, it frees an electron from its atom. The junction’s field pushes that electron toward one side and the matching gap toward the other. Metal contacts on the front and back collect the charge, and current flows through any circuit joined to them. The general physics is described in the Wikipedia article on the photovoltaic effect.

“Enough energy” has a number. Silicon needs a photon of about 1.12 electron-volts, and the wavelength of a photon in nanometres is 1,240 divided by its energy in electron-volts. That gives a cutoff near 1,100 nanometres: light with a longer wavelength passes through, and light with more energy than needed frees one electron and wastes the excess as heat. This is the main reason a solar cell converts only about a fifth of the sunlight that reaches a panel, a limit explained in the efficiency and temperature guide.

A single silicon cell produces only about 0.5 to 0.6 volts, so cells are joined in series to reach a usable voltage.

What is solar energy, and how does solar energy work?

Solar energy is the energy in sunlight, and it is a renewable energy source because the sun keeps supplying it. Homes use it in two main ways. Photovoltaic (PV) cells, also called PV cells or solar cells, turn sunlight into electricity, which is the technology on most Canadian roofs. Solar thermal collectors turn it into heat. Solar panels produce electricity from light with no fuel and no moving parts, and this page is about that solar electricity generation, and the same physics applies from a pocket calculator to a utility power plant.

Cells, modules, strings and arrays

The words describing the hardware are often used loosely. The usual hierarchy is:

Term What it is
Cell The basic silicon unit that generates current
Module (solar panel) A sealed, framed assembly of commonly 60 to 144 cells behind glass
String Several modules wired in series, adding their voltages
Array All the strings of a system, sometimes on several roof planes

A module is a sandwich. Tempered glass faces the sun, a clear polymer encapsulant holds the cells, a backsheet or second glass sheet protects the rear, and an aluminum frame gives strength. A junction box on the back holds bypass diodes, which let current route around a shaded section. The types of solar panels guide compares the main cell technologies.

Thin film solar panels use a very thin layer of another semiconductor instead of silicon wafers. Thin film solar modules are lighter and less efficient, and they appear mostly on commercial and utility sites. Silicon photovoltaic cells still dominate home solar installations, and the electrical current they make is the same direct current whichever cell type is used.

From sunlight to your outlet: a 400 watt panel

Solar panel ratings use standard test conditions: 1,000 watts of sunlight per square metre and a cell temperature of 25 degrees Celsius. A typical residential module is rated between roughly 350 and 450 watts. Follow one 400 watt module with a face of 1.75 square metres through the chain.

Step Power Basis
Sunlight on the panel face 1,750 W 1,000 W per square metre times 1.75 square metres
Solar panel output under test conditions 400 W An efficiency of about 22.9 percent
After heat, dust, wiring and mismatch about 340 W A derate near 0.85, a typical planning value
After the inverter about 330 W Conversion at roughly 97 percent

Round numbers, checked 23 November 2026: the derate and inverter efficiency are typical planning values, not measurements. Under real conditions the sunlight is rarely 1,000 watts per square metre, so full output happens only around clear midday hours.

Direct current and the inverter

Cells produce direct current, where electrons flow in one direction. Household circuits and the grid use alternating current in Canada at 60 hertz, and the solar inverter bridges the two. It also holds the array at the operating point that gives the most power, a function known as maximum power point tracking, disconnects the system if the grid goes down, and reports production to a monitoring app. A string inverter serves a whole string of modules, while microinverters sit behind each module, and the inverters guide compares the approaches. The Wikipedia entry on the solar inverter gives the general background.

How much electricity do solar panels make in a day?

Output follows the sun, so the answer changes through the year. The table applies the site’s modelled monthly shares of annual output to a 7 kW rooftop system in Toronto, which makes about 8,050 kWh a year.

Month Share of year Energy per day, 7 kW system
January 3.5 percent about 9 kWh
April 10.8 percent about 29 kWh
July 12.8 percent about 33 kWh
October 6.7 percent about 17 kWh
December 3.2 percent about 8 kWh

Basis: yield of 1,150 kWh per kW, monthly shares from the winter production study, rounded, checked 23 November 2026. A July day makes about four times the energy of a December day. Cities differ too: the yield study lists roughly 1,300 kWh per kW in Calgary and 1,000 in Vancouver, and the output calculator applies your roof direction and slope.

What a home solar energy system includes

A rooftop solar system is more than the solar panels. A typical installation has:

  • Solar panels on racking that is anchored to the roof or to a ground frame.
  • An inverter, or microinverters, that converts DC to AC.
  • Wiring, safety disconnects and rapid shutdown equipment required by the Canadian Electrical Code.
  • A bidirectional meter and a monitoring app.
  • A battery, which is optional and covered in the battery guide.

The installation must be permitted and inspected, and the installer’s quote should list each part. The guide to reading a solar quote explains the line items.

What do solar panels cost and save?

Installed cost is quoted per watt of panel capacity. At the 2,800 dollars per kW planning figure used in the payback guide, a 7 kW system costs about 19,600 dollars before incentives. At a yield of 1,150 kWh per kW it produces about 8,050 kWh a year, which offsets roughly 1,050 dollars of electricity at 13 cents per kWh. Both the cost and the rate are rounded assumptions checked on 23 November 2026, and your quotes and bill will differ. The cost guide lists the survey ranges.

Connection to the household and the grid

After the inverter, AC power feeds the home’s electrical panel. Appliances draw the solar electricity first, and any shortfall comes from the grid. When the panels produce more than the house uses, the surplus flows out through the utility meter. A bidirectional meter records both flows. How exported power is credited differs by province and utility, which the net metering guide describes.

Without a battery, a grid-connected system stops producing useful household power during a power outage, because the inverter shuts down by design. Systems with batteries and the right equipment can keep selected circuits running, and the grid-tied, off-grid and hybrid systems guide explains the differences. Grid-connected installations follow the Canadian Electrical Code and need utility approval, outlined in the permits and electrical code guide.

Do solar panels work in the cold, at night and under clouds?

Cold. Output follows sunlight, not air temperature. Silicon cells lose a little efficiency as they heat up, so a cold, bright day can give more power per square metre than a hot one.

Night. Without light there is no photovoltaic effect, so a solar panel produces nothing at night. Evening use comes from the grid or from a battery charged earlier.

Short winter days. At higher latitudes the sun sits low and days are brief in December, so winter production is a small fraction of summer production. Annual totals are what matter for most households.

Snow. A snow layer blocks light, but panels are tilted and smooth, so snow often slides off, and the winter and snow guide goes into detail.

Cloud. Diffuse light still produces power. Output under heavy overcast is commonly a small fraction of the clear-sky value, but it is not zero.

Geography. Southern Alberta and Saskatchewan receive some of the highest annual sunshine in the country, while coastal British Columbia and Atlantic Canada receive less. Many Canadian cities receive a solar resource comparable to parts of Germany, a country with large solar capacity, as the Canada vs Germany study shows.

Solar panels and solar thermal collectors: what is the difference?

Photovoltaic panels make electricity. Solar thermal collectors use the sun’s heat to warm water or air, and concentrating solar power uses mirrors to heat a fluid for a turbine at utility scale. The PV vs solar thermal guide compares them for a home.

Why orientation and shade matter

Because cells generate current in proportion to the light reaching them, the direction and tilt of the array change annual output. In Canada, south-facing surfaces tilted close to the latitude angle are the usual benchmark, and the tilt angle guide gives the numbers. Shade from trees, chimneys or neighbouring buildings can cut output more than its share of the surface suggests, because shaded cells in a series string limit the current of the whole string. The azimuth and shading pages describe both effects.

Lifespan and degradation

A module has no moving parts, and its output falls slowly over time. Manufacturers commonly warrant about 80 to 90 percent of rated output after 25 years. Inverters wear out sooner than modules, and the lifespan and recycling guide covers the details.

Common misunderstandings about how solar panels work

  • “Solar panels need heat.” They need light. Heat slightly lowers their output.
  • “A panel stores electricity.” A panel only generates it. Storage needs a battery.
  • “Solar panels work without an inverter.” Their DC output cannot run household circuits or feed the grid.
  • “Solar power keeps the house running in a blackout.” A grid-tied system shuts down unless it has backup equipment.
  • “Cloud means zero output.” Diffuse light still produces some power.

Sources and background

For technical background see the Wikipedia articles on solar cells, solar panels and photovoltaics. Official information on solar resources and programs in Canada is published by Natural Resources Canada. For the national picture of output and grid rules, read solar PV in Canada. Figures on cell voltage, module ratings, derate and inverter efficiency are typical ranges flagged for periodic review.

Part of the topic hub Solar for your home.

Open the output calculator

Frequently asked questions

How do solar panels make electricity?

Sunlight strikes silicon cells and knocks electrons loose, and the cell's built-in electric field pushes them in one direction. That flow is direct current, which an inverter converts to the alternating current used in homes.

Do solar panels work in cold weather?

Yes. Cells respond to light, not heat, and they run slightly more efficiently when cold. Short winter days and snow cover reduce total output more than low temperature does.

What does the inverter do in a solar system?

The inverter converts the direct current from the panels into alternating current at the voltage and frequency of the grid. It also tracks the operating point that gives the most power and shuts down during a grid outage.

Do solar panels produce power on cloudy days?

They do, at a reduced level. Diffuse light still reaches the cells, and output on an overcast day is commonly a small fraction of output on a clear day.

Do solar panels work at night?

No. Without light there is no photovoltaic effect. Evening use comes from the grid or from a battery that was charged earlier.

How much electricity does a home solar system make in a day?

On the site's Toronto figures, a 7 kW system makes about 8,050 kWh a year, which is about 33 kWh on an average July day and about 8 kWh on an average December day.

What happens to extra electricity a home does not use?

On a grid-connected system, surplus power flows out to the utility grid. How it is credited depends on the net metering or similar rules of the province or utility.

Last reviewed . General information only, see the disclaimer.