OnlineMapMaker logo
All Articles
Solar & Energy7 September 202615 min read

Solar Panel Orientation Calculation: The Complete Guide to Azimuth, Tilt, and Direction

Which way should solar panels face? Find the optimum angle for solar panels at your location, with real formulas for solar panel direction and tilt, plus a free calculator.

solar panel orientation solar azimuth panel tilt angle true south vs magnetic south PV installation solar altitude
Advertisement
Advertisement

Getting solar panel direction and tilt right is the single biggest factor in how much power your system produces. Get it wrong, and you can lose 20% or more of your potential energy for the entire life of the system, sometimes 25 years or longer.

This guide walks through the real science behind panel orientation: solar azimuth, solar altitude, panel tilt, true versus magnetic south, and how your latitude changes all of it. I will give you the actual formulas, not just rules of thumb, and show you how to calculate the right numbers for your own roof.


The Quick Answer

If you only read one section, read this one.

Advertisement
Advertisement
  • In the Northern Hemisphere, panels should generally face true south.
  • In the Southern Hemisphere, panels should generally face true north.
  • The tilt angle should be close to your latitude, in degrees.
  • Use true north/south, not the reading from a compass, which points to magnetic north.

Everything after this section explains why, and how to fine-tune it for your exact location.


Which Direction Should Solar Panels Face?

People phrase this question two ways: which way should solar panels face, and which direction should solar panels face. They mean the same thing, and the answer depends entirely on which hemisphere you live in.

Advertisement
Advertisement
  • Northern Hemisphere (United States, Europe, most of Asia): face panels south. The sun spends most of the day in the southern part of the sky, so a south-facing panel sees the sun for the longest, strongest part of the day.
  • Southern Hemisphere (Australia, South Africa, most of South America): face panels north, for the same reason in reverse.
  • Near the equator (within about 5 to 10 degrees): direction matters much less. The sun passes almost straight overhead for most of the year, so a flat or gently tilted panel performs well facing either way.

I want to be direct about one thing here: "south" in this context means true south, the direction toward the geographic South Pole. It does not mean the south reading on a compass. That distinction matters more than most people expect, and I will explain exactly why in a moment.


Core Concepts Behind Solar Orientation

Before the formulas, you need six terms. Solar installers use these constantly, and most articles explain them badly. I will keep it simple.

Advertisement
Advertisement

Solar Azimuth

Solar azimuth is the compass direction of the sun, measured in degrees clockwise from true north.

  • North = 0°
  • East = 90°
  • South = 180°
  • West = 270°

At solar noon, the sun's azimuth is 180° for most locations in the Northern Hemisphere (due south) and 0°/360° for most of the Southern Hemisphere (due north). Early in the morning, azimuth is closer to 90° (east). Late in the afternoon, it moves toward 270° (west).

Solar Altitude

Advertisement
Advertisement

Solar altitude is how high the sun sits above the horizon, measured in degrees.

  • 0° means the sun is right on the horizon (sunrise or sunset).
  • 90° means the sun is directly overhead.

Solar altitude changes constantly through the day, peaking at solar noon, and it also changes with the seasons. This second point matters a lot, and I will cover it in detail further down.

Panel Azimuth

Panel azimuth is simply the compass direction your panel faces, using the same 0 to 360 degree scale as solar azimuth.

  • A panel with an azimuth of 180° faces true south.
  • A panel with an azimuth of 90° faces true east.
  • A panel with an azimuth of 270° faces true west.

The goal is to pick a panel azimuth that lines up with where the sun spends most of its useful energy during the day, averaged across the whole year.

Panel Tilt

Panel tilt is the angle between the panel surface and the ground, measured from horizontal.

  • 0° tilt means the panel lies flat.
  • 90° tilt means the panel stands straight up, like a wall.

Tilt controls how well the panel catches sunlight when the sun is high versus low in the sky. This is the piece that connects most directly to your latitude, which I will get to shortly. Solar installers usually call this number the optimum angle for solar panels, and it's exactly what a solar panel tilt angle calculator is built to work out for you.

True North/South vs Magnetic North/South

This is the part almost every DIY guide gets wrong, so pay attention here.

  • True north and true south are fixed geographic points: the axis the Earth actually spins on.
  • Magnetic north is where a compass needle points, and it is a moving target. It sits hundreds of kilometers away from true north, and it drifts year by year as the Earth's magnetic field shifts.

The gap between true north and magnetic north at any given location is called magnetic declination. It is not the same everywhere:

Location (approximate)Magnetic declination
San Francisco, USAAbout 13° East
New York, USAAbout 13° West
London, UKAbout 0.5° West
Sydney, AustraliaAbout 12.5° East
Tokyo, JapanAbout 7° West

If you point a panel using an uncorrected compass reading, you can be 10 to 15 degrees off from true south without realizing it. At a typical residential tilt angle, that alone can cost you a few percent of annual output, for no reason at all.

Geographic Location (Latitude and Longitude)

Your latitude (how far north or south of the equator you are) is the main driver of your ideal tilt angle. Your longitude matters much less for orientation, but it does shift your local solar noon slightly earlier or later depending on where you sit within your time zone.

You need accurate coordinates to do any of this properly. If you do not already know your exact latitude and longitude, our Address to Lat/Lng tool will give you both in a few seconds from any street address.


N (0°)E (90°)S (180°)W (270°)SunAzimuth ≈ 145°

Solar azimuth is always measured clockwise from true north. In this example, the sun sits at roughly 145°, between south-east and south.


How Latitude Affects Panel Direction

Latitude does two separate jobs, and conflating them is where a lot of confusion starts.

  1. It decides which hemisphere you're in, which decides whether panels face south or north.
  2. It sets your ideal tilt angle, because it determines how high the sun climbs in your sky.

At higher latitudes (further from the equator), the sun stays lower in the sky year-round. Panels need a steeper tilt to face the sun more directly. At lower latitudes (closer to the equator), the sun climbs higher overhead, so a flatter tilt works better.

A widely used starting rule, drawn from decades of solar engineering practice (the classic reference is Duffie and Beckman's Solar Engineering of Thermal Processes), is:

Optimal annual tilt angle ≈ your latitude, in degrees.

Latitude bandTypical annual-optimum tilt
0° to 15° (near equator)10° to 15°
15° to 25°15° to 25°
25° to 35°25° to 35°
35° to 45°35° to 45°
45° to 55°45° to 50° (rarely goes much steeper)

This is a starting point, not a finish line. Roof pitch, shading, snow shedding, and local weather patterns all pull the ideal number slightly in one direction or another.


Should Panels Face True South or Magnetic South?

True south. Always. This is not a close call, and I want to be blunt about it because it's the single most common mistake I see in amateur installations.

Here's a worked example to show why it matters.

Say you're installing panels in New York, where magnetic declination is about 13° West. If you point your panels at "south" using a standard compass without correcting for declination, you are actually pointing them about 13° east of true south.

At a 35° tilt angle, a 13° azimuth error typically costs somewhere in the range of 1% to 2% of annual output. That might not sound like much, but on a 25-year system, that's a permanent, avoidable loss for the entire lifespan of the equipment, and it costs nothing to fix at install time.

To find true south:

  1. Use a GPS-based app or a mapping tool that shows true north, not a magnetic compass.
  2. Or look up your location's magnetic declination and manually correct your compass reading.
  3. Or, simplest of all, use solar noon: at true solar noon, the sun sits at true south (Northern Hemisphere) or true north (Southern Hemisphere). Mark the shadow direction at that exact moment, and you have your reference line.

How Do I Calculate the Correct Solar Panel Orientation?

This is where the real math lives. I'll walk through it step by step, using the standard equations from solar geometry.

Step 1: Find the Solar Declination

Solar declination (δ) is the angle between the sun's rays and the Earth's equatorial plane. It changes every day of the year, moving between about +23.45° and -23.45°.

A commonly used approximation, known as Cooper's equation, is:

δ = 23.45° × sin[ (360° / 365) × (284 + n) ]

Here, n is the day of the year (1 to 365).

DateDay of year (n)Approximate declination
March 20 (spring equinox)790°
June 21 (summer solstice)172+23.45°
September 22 (autumn equinox)2650°
December 21 (winter solstice)355-23.45°

Step 2: Find the Hour Angle

The hour angle (H) tells you how far the sun has moved across the sky from solar noon, in degrees. The Earth rotates 15° per hour.

H = 15° × (solar time in hours - 12)

At solar noon, H = 0°. At 3 PM solar time, H = 45°. At 9 AM solar time, H = -45°.

Step 3: Calculate Solar Altitude

With declination (δ), your latitude (φ), and hour angle (H), solar altitude (α) is:

sin(α) = sin(φ) × sin(δ) + cos(φ) × cos(δ) × cos(H)

Step 4: Calculate Solar Azimuth

cos(Az) = [ sin(δ) - sin(α) × sin(φ) ] / [ cos(α) × cos(φ) ]

You then adjust the quadrant based on the sign of the hour angle: if H is negative (morning), azimuth is measured toward the east side; if H is positive (afternoon), it's on the west side.

A Worked Example

Let's calculate solar position for latitude 40°N, at solar noon, on June 21 (summer solstice).

  • δ = +23.45° (from the table above)
  • H = 0° (solar noon)
  • φ = 40°

Altitude:

sin(α) = sin(40°) × sin(23.45°) + cos(40°) × cos(23.45°) × cos(0°)
sin(α) = (0.643 × 0.398) + (0.766 × 0.918 × 1)
sin(α) = 0.256 + 0.703 = 0.959
α = 73.5°

The sun sits nearly overhead at 73.5° altitude, which is exactly what you'd expect at 40°N on the longest day of the year.

Azimuth, at solar noon in the Northern Hemisphere, resolves to 180° (due south) by definition, since H = 0.

Step 5: Choose Your Tilt

For a fixed panel, don't chase the sun's exact position every hour. Instead, pick one tilt angle that performs well averaged across the whole year. That's why the "tilt ≈ latitude" rule exists: it approximates the average altitude the sun holds throughout the year, weighted toward the higher-value midday hours.

If you want to bias production toward a particular season instead of the full year, adjust from there:

  • Winter-weighted (more heating demand, lower sun): tilt ≈ latitude + 15°
  • Summer-weighted (air conditioning load, higher sun): tilt ≈ latitude - 15°
  • Balanced annual output: tilt ≈ latitude

GroundTilt (θ)SunPanel tilted atangle ≈ latitude

A panel tilted close to your latitude meets the sun's rays more directly, on average, across the full year.


Seasonal Variation in Solar Position

Does the best orientation change during the year? For azimuth, in most practical residential setups, no, not meaningfully. For altitude, and therefore the ideal tilt, yes, quite a lot.

Here's why. The Earth's axis is tilted 23.45° relative to its orbital plane. As the Earth moves around the sun, this tilt causes the sun's apparent path across the sky to shift higher in summer and lower in winter. That's the entire reason seasons exist, and it is also the entire reason a single fixed tilt angle is always a compromise.

The Numbers, Season by Season

Using our latitude 40°N example again, here is how solar noon altitude changes across the year:

DateDeclinationSolar noon altitude at 40°N
December 21 (winter solstice)-23.45°26.5°
March 20 (equinox)0°50°
June 21 (summer solstice)+23.45°73.5°
September 22 (equinox)0°50°

That's a swing of 47 degrees in solar noon altitude between winter and summer, at just one latitude. This is exactly why a tilt angle that's perfect in June is badly wrong in December, and vice versa.

Should You Adjust Tilt Seasonally?

Some off-grid and utility-scale systems physically adjust tilt two to four times a year to chase this shift. Here's my honest take on that, from years of watching both sides of this decision play out.

For most homeowners with a fixed roof-mount system, seasonal tilt adjustment isn't worth the effort. The gain is typically in the range of 5% to 10% annual output, and that has to be weighed against the cost and complexity of a tracking or adjustable-tilt mount. For ground-mount systems where adjustment is cheap and easy, I'd say do it. For a roof already at a fixed pitch, I'd leave it alone and focus your energy on getting the azimuth and average tilt right at install time.


EWSummer path (high, long)Winter path (low, short)

In the Northern Hemisphere, the sun's daily path climbs much higher and lasts longer in summer than in winter, at the same location.


How Much Energy Is Lost If Panels Face East or West?

This is the question with the most practical financial weight, so let's be precise about it.

These are typical figures for a well-sited system at a moderate latitude with a reasonable tilt angle. Your exact numbers will shift with latitude, tilt, and local weather:

Panel azimuth vs. true southTypical annual energy loss
Due south (0° deviation)0% (baseline)
Southeast or southwest (45° deviation)Roughly 3% to 5%
East or west (90° deviation)Roughly 15% to 20%
Northeast or northwest (135° deviation)Roughly 30% to 40%
Due north (180° deviation, Northern Hemisphere)Roughly 40%+

A few things worth knowing here, from an expert's perspective:

  • Flatter panels are more forgiving of azimuth error. A low-tilt panel spreads its sensitivity across a wider range of sun angles, so a 30 to 45 degree azimuth mistake costs less than it would on a steeply tilted panel.
  • East and west aren't identical in real-world conditions. In many climates, afternoons are hazier or cloudier than mornings, which can make a west-facing array underperform a little compared to an equally-misaligned east-facing one. If you're forced to choose between the two, I generally lean east, though this varies by regional weather patterns.
  • A 50/50 east-west split is a legitimate design choice, not just a compromise. It flattens your production curve across the day instead of peaking hard at noon, which can be genuinely useful if your utility rate structure rewards steady production, or if your loads are spread through the day rather than concentrated at midday.

How Do I Calculate Orientation for My Exact Location?

Here's the practical, step-by-step version of everything above.

  1. Find your exact coordinates. Use our Address to Lat/Lng tool to get precise latitude and longitude from your address.
  2. Determine your hemisphere. Positive latitude means Northern Hemisphere (face south); negative means Southern Hemisphere (face north).
  3. Set your baseline tilt to your latitude value. A location at 35°N starts with a 35° tilt as the annual-optimum baseline.
  4. Correct for magnetic declination if you're using a compass to physically aim the array. Use true south or true north, not the compass reading.
  5. Decide if you want an annual, winter, or summer bias, and adjust tilt by plus or minus 15° accordingly.
  6. Check for shading and roof constraints. The math gives you the ideal, unobstructed answer. Trees, chimneys, and roof pitch will often force a practical compromise.
  7. Run it through a solar panel tilt angle calculator to skip the manual trigonometry and get a straight answer for your exact latitude, longitude, and preferred bias.

This is exactly what our own Ideal Solar Panel Angle Calculator does. Enter your location, and it works out the recommended tilt and orientation for your exact spot on the map, using the same solar geometry covered in this article.

A quick note on a shortcut some people reach for first: looking up solar panel angle by zip code instead of an exact address. A zip code works fine as a rough starting point, but it covers a stretch of land, not a single point, and two houses at opposite ends of a large zip code can sit a full degree of latitude apart. That is usually a small difference in the final tilt number, but if you want the precise figure for your own roof, an exact address or coordinate pair is the more reliable input.


Use Case: Two Real Addresses, Fully Calculated

Formulas are one thing. Real addresses are another. Here are two actual locations, worked through the exact method above.

Bethel Island, CA, US

  • Coordinates: 38.01°N, 121.64°W
  • Hemisphere: Northern. Face true south, panel azimuth 180°.
  • Baseline tilt: ≈ 38° (tilt ≈ latitude)
BiasRecommended tilt
Summer-weighted23°
Balanced annual38°
Winter-weighted53°

Solar noon altitude across the year, calculated from sin(α) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H) at φ = 38.01°:

DateDeclinationSolar noon altitude
Winter solstice-23.45°28.6°
Equinox0°52.0°
Summer solstice+23.45°75.4°

Magnetic declination here runs roughly 14° East, similar to nearby San Francisco. A compass reading needs that correction before you treat it as true south.

CV3 1DD, Pinley Fields, Coventry, UK

  • Coordinates: 52.40°N, 1.48°W
  • Hemisphere: Northern. Face true south, panel azimuth 180°.
  • Baseline tilt: ≈ 52° (tilt ≈ latitude)
BiasRecommended tilt
Summer-weighted37°
Balanced annual52°
Winter-weighted67°

Solar noon altitude across the year, same formula, at φ = 52.40°:

DateDeclinationSolar noon altitude
Winter solstice-23.45°14.2°
Equinox0°37.6°
Summer solstice+23.45°61.1°

Magnetic declination in the Midlands is small, close to zero, and has been drifting from west to east in recent years. Check a current value before relying on a compass, but the correction here is minor compared to Bethel Island.

The comparison is the real lesson. Coventry sits 14° further from the equator than Bethel Island, and it shows in every number: a steeper baseline tilt, and a December sun that peaks at just 14.2°, barely a third of the way up the sky. At that altitude, a single row of trees or a neighboring roofline can shade a Coventry array for a large part of the winter day in a way it simply wouldn't at Bethel Island's gentler 28.6°. Same math, same formula, genuinely different design problem.


My Take, After Years of Looking at This Data

A few opinions, for what they're worth, based on patterns I've seen repeat across countless installations:

  • Get the azimuth right before you obsess over tilt. A panel facing 30° off true south with a decent tilt will usually outperform a perfectly tilted panel facing the wrong direction. Direction is the bigger lever.
  • Don't let roof pitch scare you off. Most residential roofs sit somewhere between 15° and 40° tilt already, which lands surprisingly close to the optimum roof angle for solar panels at most inhabited latitudes. You often don't need a special mounting rack just to fix tilt.
  • True south correction is the cheapest win in solar. It costs nothing but five minutes with a proper compass app or a solar noon shadow check, and it's permanent for the life of the system. Skipping this step is, in my opinion, the single most avoidable mistake in DIY solar.
  • Don't over-optimize for a system this durable. Panels last 25 to 30 years. Chasing the last 2% of theoretical output with a complex tracking mount often isn't worth the added mechanical failure points, especially for a home system.

Frequently Asked Questions

Is south always the best direction for solar panels? Only in the Northern Hemisphere. South of the equator, north is correct. Near the equator, direction matters far less than it does at higher latitudes.

Can I use my phone's compass app to find true south? Only if it has a "true north" mode that corrects for magnetic declination. Most default compass apps show magnetic north unless you change a setting.

Does a flat roof mean I need a mounting rack? Usually yes, if you want to hit your latitude-based tilt target. A flat roof mount is also generally cheaper to angle correctly than retrofitting a steep existing pitch.

Will a small azimuth error ruin my system? No. A 10 to 15 degree error typically costs only 1% to 2% of annual output. It's worth fixing, but it's not a disaster if you're slightly off.

Do solar trackers make orientation calculations unnecessary? Trackers reduce the impact of a fixed compromise angle by physically following the sun, but the underlying solar geometry in this guide is exactly what the tracker's control system is calculating in real time.


Final Thoughts

Solar panel orientation comes down to a small number of real, calculable factors: your latitude, true south or true north, and a tilt angle that matches how high the sun sits in your particular sky across the year. Get those three things right, and you've captured most of the achievable performance from a fixed system.

Ready to see the exact numbers for your own location? Try the Ideal Solar Panel Angle Calculator and get your recommended tilt and orientation in seconds.

O

OnlineMapMaker Team

OnlineMapMaker.com · Free GIS & Mapping Tools by KONAKTIVE

Advertisement
Advertisement