From sunlight to electricity

A solar panel, or photovoltaic (PV) module, turns sunlight straight into electricity. Panels wired together make an array.

Panels make direct current (DC), which flows one way. Homes mostly use alternating current (AC). An inverter converts DC to AC. Off the grid, a charge controller sits between the panels and the battery so the battery charges safely.

  1. 1. Sunlight falls on the solar panels (an array)
  2. 2. Panels make direct current (DC)
  3. 3. Charge controller: charges the battery safely
  4. 4. Battery: stores energy for later
  5. 5. Inverter: turns DC into alternating current (AC)
  6. 6. The plug: AC for the house loads
Text description

A block flow from left to right, concept only. Sunlight falls on a solar array, which makes direct current, DC, shown by amber arrows labeled DC. The power goes to a charge controller, which protects the battery by charging it safely, then to a battery, which stores energy for later. From the battery it goes to an inverter, which turns DC into alternating current, AC, the kind homes use, and an arrow labeled AC leads to a wall plug for the house loads. A note says a licensed electrician or certified installer does the wiring of a fixed system.

A panel’s rating, such as 400 W, is its output under standard test conditions: bright sun, a cool panel, pointed straight at the sun. Real conditions are almost always less.

Peak sun hours

The sun’s strength changes all day. To keep the math simple, solar designers use peak sun hours. One peak sun hour is one hour of sunlight at full test strength, 1,000 watts per square meter.

A day might have 10 hours of daylight but only 4 peak sun hours. The weak morning and evening light adds up to fewer full-strength hours.

Text description

A chart of sunlight strength through one day, from 7 in the morning to 5 in the evening, 10 hours of daylight; the vertical axis is watts per square meter, from 0 to 1,000. The real sunlight rises slowly in the morning, peaks around noon at roughly 600 watts per square meter, well below full strength, and falls in the afternoon; the area under this curve is shaded. A dashed box shows the same amount of energy as if it came at full test strength, 1,000 watts per square meter, for 4 hours around midday. The two areas are equal, so this day has 4 peak sun hours.

Peak sun hours vary a lot by place and month. Across the US, they often run from about 1.5 to 3 in a northern winter, and less in the cloudiest places. In the sunny Southwest they reach 6 to 7 or more in spring and summer. PVWatts, a free calculator from a DOE national lab, gives values for your address.

What an array makes

To estimate daily energy, multiply array size by peak sun hours. Then take off losses for heat, dust, wiring, the inverter and charging. These are called derates. Together they often take 15 to 30 percent. NREL’s PVWatts manual uses a default of 14 percent for dirt, shade, snow, wiring and similar losses, and counts heat and the inverter on top.

array kW × peak sun hours × derate = kWh per day

Try it: What a solar array makes in a day

Try a 2 kW array at 4 sun hours, then at 2 for a cloudy northern winter.

About 5.6 to 6.8 kWh per day.

That is 168 to 204 kWh a month.

Assumptions: Derate of 0.70 to 0.85 covers wiring, heat, dust, inverter and charging losses. Sun hours vary by month and place; PVWatts gives local values.

Notice how much the sun hours matter. Halve them and you halve the energy.

For a sense of cost, Berkeley Lab found that home solar systems installed in 2024 had a middle price of about $4.00 per watt before incentives. The middle 60 percent cost between about $3.00 and $5.20 per watt. At those prices, a 3 kW grid-tied array runs roughly $9,000 to $15,600. Off-grid systems add batteries and often a generator.

Winter is the hard month

In winter the sun is lower and the days are shorter. Clouds and snow add to the drop. In many northern places, December output is only about a quarter to two-thirds of June output. Cloudy places and flatter panels sit at the low end.

Many homes also use more power in winter: more lights, longer evenings, fans and pumps for heating.

So off-grid systems are usually sized for the worst month, often December or January. Grid-tied systems are often sized on the yearly total instead, because the grid covers the gap. Climate zone changes this answer a lot. A sunny southern site has a much smaller winter gap.

Tilt and direction

Panels make the most energy when they face the sun. In the US that means facing roughly true south.

Tilt is the angle of the panel from flat. A common rule of thumb is:

  • Tilt about equal to your latitude for good output across the year.
  • Steeper, roughly latitude plus 10 to 15 degrees, to favor the low winter sun. Steep panels also shed snow better.
  • Flatter to favor summer.

December at 40° N: noon sun 27° high. A 40° tilt (from horizontal) is 23° off straight-on, about 92% of the strength of light hitting head-on. Facing the sun straight-on this month would take a 63° tilt; for the whole year, a tilt near the latitude (40°) is a good rule.

Text description

A side view of a solar panel on a ground mount, north to the left and south to the right, facing south. The tilt angle is measured from the horizontal ground up to the panel. The noon sun comes from the south at an altitude that depends on latitude and month. A dashed line perpendicular to the panel shows straight-on; the angle between that line and the sun is the angle off straight-on, and the closer to zero, the more direct the light. At the starting setting, 40 degrees north latitude in December with a 40 degree tilt, the noon sun is about 27 degrees high, so the panel is about 23 degrees off straight-on. Three sliders set latitude, month and tilt. A tilt near the latitude is a good all-year rule, not an exact optimum.

Off grid, a steeper winter tilt often makes sense. You can try panel count and tilt in the course’s Homestead Lab and watch the battery through a year.

Shade

Shade cuts output more than most people expect. In many arrays, panels are wired in series in a string. Shade on part of one panel can pull down the output of the whole string.

Look at your site at different times of day and year. A tree that is fine in June can shade the array in December, when the sun is low. Check for chimneys, other buildings, hills and trees that will grow.

  1. 1. June noon: high sun, short shadow that stays well clear of the array
  2. 2. December noon: low sun, a shadow about six times longer that reaches the array
  3. 3. Ground-mounted array, facing south (right)
  4. 4. Tree, 26 ft (8 m) tall, south of the array
Text description

A section looking east, with north on the left and south on the right, at an example latitude of 40 degrees north. A ground-mounted solar array tilted at 40 degrees faces south, with a person 5 feet 9 inches tall standing beside it for scale. A 26 foot (8 meter) tree stands to the south. At noon in June the sun is about 73 degrees high, so the tree's shadow is short, about 8 feet (2.4 meters) long, and ends well before the array. At noon in December the sun is only about 27 degrees high, so the shadow is about six times as long, about 51 feet (16 meters), and reaches the lower part of the array. Shade on part of a panel can pull down the output of the whole string, so check the site at different times of day and year.

Snow, hail and dirt

Panels need little upkeep, but they live outdoors all year.

  • Snow slides off steep, smooth panels after a day or two of sun, sooner on a ground mount. A flatter roof array in snow country can stay buried for days, often in the very weeks you sized the system for.
  • Clearing snow from a ground mount with a soft roof rake or broom takes minutes to an hour after a storm. Work from the ground. Never climb onto a snowy roof to clear panels, and ask your installer what tool is safe for the glass.
  • Hail can crack panels. Panels are tested to take some hail, but large hail still breaks them. Ask what your insurance covers.
  • Dust, pollen and bird droppings cut output. Rain washes most of it off. In dry places, a hose from the ground now and then helps.

As for time, plan on a glance at the charge display each day, a walk-around every month, and some snow clearing after big storms. These are the course’s rough estimates, not measured figures.

A panel and power station you can set up

A portable power station is a battery, a charge controller and an inverter sealed in one box, with outlets on the front. You plug a portable solar panel into it, and its built-in charge control does the battery work. This is low-risk, hands-on solar, and a good way to learn your own loads.

  1. 1. Capacity in Wh: how much energy it stores
  2. 2. Output in W: the most it can run at once, and its surge rating
  3. 3. Solar input in W: the most panel it can use
  4. 4. Cold limits: many lithium units will not charge below freezing
Text description

A side view of a hands-on setup. Outdoors on the ground, in the sun, a portable solar panel on a small stand. A cable carries solar power through a small gap in the wall to a portable power station, which sits on a table in a dry, sheltered room away from heat. From the power station, power goes to a lamp and a laptop plugged straight into its outlets. Four numbered markers show the four numbers to check before buying: capacity in watt-hours, how much it stores; output in watts, the most it can run at once, with its surge rating; solar input in watts, the most panel it can use; and cold limits, because many lithium units will not charge below freezing. A note says connecting a power station to house circuits needs an electrician.

Before you buy, check four numbers:

  • Capacity in Wh: how much energy it stores. Divide by a load’s watts for rough hours, then allow for inverter losses.
  • Output in W: the most it can run at once, and its surge rating for motors.
  • Solar input in W: the most panel it can use. A 200 W panel at 3 peak sun hours gives roughly 400 to 500 Wh on a good day.
  • Cold limits: many lithium units will not charge below freezing.

Safe habits:

  • Keep the box dry, sheltered and away from heat. Panels go outside; the box usually does not.
  • Plug appliances straight into it. Connecting it to house circuits needs a transfer switch or approved inlet installed by an electrician. A homemade cord is backfeeding (see Backup power).
  • Use the panels and cables the maker lists. Never open the case.

Try it for a week: run a lamp, a phone and a laptop, and write down what the display says each evening.

Pro and permit

Check

Check your understanding

A 3 kW array gets 5 peak sun hours in June and 2 in December. With an 80 percent derate, about how much does it make per day in December?

Summary

  • Panels make DC. An inverter makes AC. A charge controller protects the battery.
  • array kW × peak sun hours × derate = kWh per day. Derates often take 15 to 30 percent.
  • Winter has far fewer peak sun hours. Off-grid systems are usually sized for the worst month.
  • Face true south, tilt steeper for winter, and avoid shade at all seasons.
  • Plan for snow, hail and dirt. Clear snow from the ground, never from a snowy roof.
  • A plug-in power station with a portable panel is a safe way to start.
Go deeper: why heat lowers output

Solar cells make less power as they get hotter. A panel on a hot summer roof can run well above the air temperature and lose a noticeable share of its rated power. That is part of the derate. It is also why cold, bright days can give surprisingly strong output for a short time. Panel data sheets list a temperature coefficient that says how much power drops for each degree of warming. PVWatts includes these effects when it estimates output for your site.

Finish up

Mark this lesson complete to track your progress. It is saved only in this browser.

Sources

  1. PVWatts Calculator, National Laboratory of the Rockies (formerly the National Renewable Energy Laboratory, NREL)
  2. PVWatts Version 5 Manual (NREL/TP-6A20-62641), National Renewable Energy Laboratory (now the National Laboratory of the Rockies), via OSTI
  3. National Solar Radiation Database (NSRDB), National Laboratory of the Rockies (formerly the National Renewable Energy Laboratory, NREL)
  4. Homeowner's Guide to Solar, US Department of Energy, Solar Energy Technologies Office
  5. Off-Grid or Stand-Alone Renewable Energy Systems, US Department of Energy, Energy Saver (archived copy; the page was removed from energy.gov in mid-2026)
  6. U.S. Distributed Solar and Storage: 2025 Data Update (Tracking the Sun), Lawrence Berkeley National Laboratory
  7. NFPA 70, National Electrical Code (NEC), National Fire Protection Association

Spotted an error? See Corrections for how to report it.