How the solar panel tilt angle calculation works
The sun’s noon height changes through the year because the Earth’s axis is tilted 23.45°. A panel is perpendicular to the noon sun when its tilt equals the difference between your latitude and the sun’s declination on that day.
For a fixed, year-round installation the long-standing rule of thumb is a tilt roughly equal to latitude. In practice the energy-optimal fixed angle is often a few degrees flatter, because summer days are longer and diffuse light favours flatter panels. The PVGIS lookup calculates the optimum for your exact site, including local climate.
Production is not very sensitive to tilt near the optimum: being 10° off typically costs only a few percent of annual energy, so mounting flush on an existing roof is often the best economic choice.
Formula
- φ
- latitude (positive north)
- δ
- solar declination on day n (Cooper, 1969)
- n
- day of the year (mid-month used)
- β
- tilt from horizontal
Worked example
- Madrid, latitude 40.4° N, in June (day 166): δ = 23.45 × sin(360 × 450 ÷ 365) ≈ 23.3°.
- Noon-perpendicular tilt = |40.4 − 23.3| ≈ 17.1°; noon sun elevation ≈ 72.9°.
- Year-round rule of thumb ≈ 40°. The PVGIS optimum for Madrid is 37° (PVGIS 5.3, recorded fixture).
Assumptions and limitations
Assumptions
- Panels face the equator.
- Seasonal ±15° values are rules of thumb for installations adjusted twice a year.
Limitations
- Monthly angles maximise noon irradiance, not daily energy.
- Local climate (cloudiness, snow, fog) can shift the true optimum — use the PVGIS lookup.
- Roof structure, wind and snow loads may restrict the angle.
Frequently asked questions
Is tilt equal to latitude really best?
It is a reasonable starting point. Simulations usually find the annual optimum a few degrees lower than latitude at mid-latitudes. The difference in yield is small.
Should I adjust my panels seasonally?
Adjusting twice a year can add a few percent of energy on ground mounts. For roof systems it is rarely worth the effort or the safety risk.
What about flat roofs?
Low tilts of 10–15° are common on flat roofs to reduce wind load and row spacing; a minimum of about 10° helps rain wash off dust.
Related calculators
Solar Panel Azimuth Calculator
Recommended panel direction, magnetic compass correction and PVGIS azimuth conversion.
Peak Sun Hours Calculator
Convert solar irradiation to peak sun hours, or look up monthly values for your location.
Solar Panel Output Calculator
Estimate daily, monthly and annual kWh from your panels, or look up PVGIS data for your city.
References and data sources
- Declination Angle — PVEducation (UNSW / ASU)
- Photovoltaic Geographical Information System (PVGIS) — European Commission, Joint Research Centre
- PVGIS user manual — European Commission, Joint Research Centre
- Location lookup: PVGIS 5.3 non-interactive API, © European Union. See data sources.
- City search: GeoNames (CC BY 4.0).
Last reviewed: · Formula version 1.0.0 · Methodology