Solar Panel Azimuth Direction Calculator

Use our solar panel azimuth angle calculator to the find the best direction to face your solar panels.

Solar Panel Azimuth Direction Calculator

Error: Could not get your location. Make sure location services are enabled in your browser or in your phone’s browser app.
Error: Please enter a valid location by selecting one from the autocomplete results.
Your optimal azimuth angle is , which is:
View this page in a different browser to see a drawing of your optimal azimuth angle.
Note: Your azimuth angle can also be expressed as ° clockwise from magnetic north, or ° clockwise from true north. Your location’s current magnetic declination is °.

Tip: Also check out our solar panel tilt angle calculator to find the best tilt angle for your solar panels.

Calculator Notes

  • This calculator uses the most recent version of the World Magnetic Model to calculate the magnetic declination for your location.
  • This calculator uses the current date to calculate your location’s magnetic declination.

Best Solar Panel Direction by Zip Code

Here is a list of the best solar panel directions for 50 of the most populated zip codes in the United States.

Full list: Best Solar Panel Direction by Zip Code

CityStateZip CodeBest Solar Panel Direction in 2022 (clockwise from magnetic north)Magnetic Declination in 2022
El PasoTX79936172.4°7.6°
Grand PrairieTX75052177.0°3.0°
Long BeachCA90805168.4°11.6°
Los AngelesCA90011168.4°11.6°
Los AngelesCA90044168.4°11.6°
New York CityNY10025192.7°-12.7°
San JuanPR00926193.5°-13.5°
South GateCA90280168.4°11.6°
Staten IslandNY10314192.5°-12.5°
Sugar LandTX77479177.9°2.1°

Note: The solar panel direction for each zip code above was calculated in 2022 using our solar panel orientation calculator. Magnetic declination at a location changes over time, so we will update this list yearly with the latest azimuth angles and declination values.

If you don’t see your zip code on this list, just enter it into the calculator at the top of this page to find the best direction for your location.

Solar Panel Direction Map

Here is a magnetic declination map of the United States.

And here is a magnetic declination map of the entire globe.

Note: Both of these maps were produced for 2020 by the National Oceanic and Atmospheric Administration (NOAA). Magnetic declination values for the current year will be slightly different.

How to Use These Maps

Let’s say you live in Los Angeles, California. Here’s how you’d use a magnetic declination map to find which direction to face your solar panels.

1. Locate the closest line to your location. I marked the spot where Los Angeles is on the map. Turns out there’s a line just north of it. (The lines on the maps are called isogonic lines, which are lines along the earth’s surface where magnetic declination values are constant.)

2. Find the magnetic declination value of the line. Positive values mean magnetic north lies east of true north. Negative values mean magnetic north lies west of true north. The line next to Los Angeles is 12°, meaning magnetic north is about 12° east of true north in Los Angeles.

3. Find true north by adjusting your compass for your location’s magnetic declination. If your magnetic declination is positive, true north is west of magnetic north by the degree of magnetic declination. If your magnetic declination is negative, true north is east of magnetic north by the degree of magnetic declination. Magnetic north in Los Angeles is 12° east of true north, so true north is 12° west of magnetic north. To find true north, I point my compass north, and then adjust 12° west.

4. If you live in the northern hemisphere, face your solar panels toward true south. If you live in the southern hemisphere, face your solar panels toward true north. Los Angeles is in the northern hemisphere, so I face my panels toward true south, which would be 12° east of magnetic south.

What Is the Best Direction for Solar Panels to Face?

For locations in the northern hemisphere, the best solar panel direction is true south.

For locations in the southern hemisphere, the best solar panel direction is true north.

These values typically maximize electricity production over the year. However, local weather patterns may cause the optimal azimuth angle to be slightly east or west of these default values.

What Is a Solar Panel’s Azimuth Angle?

The azimuth angle is the direction that a solar panel faces. It is often expressed in degrees clockwise from north.

So an azimuth angle of 180° clockwise from north would mean the solar panel is facing south. An azimuth angle of 0° clockwise from north would mean the solar panel is facing north.

If you use an online tool to calculate your azimuth angle or estimate production of your solar system, it’s important to know whether the azimuth angle is relative to true or magnetic north (or true or magnetic south).

Many solar calculators — such as PVWatts — use true north in their solar energy calculations without making it very clear.

What Is Magnetic Declination?

True north is different than magnetic north. The difference between the two is called magnetic declination.

Compasses point toward magnetic north. So, if you’re orienting a solar panel using a compass, you need to adjust its direction by the current magnetic declination at your location.

Magnetic declination is expressed in degrees and can be either positive or negative. A positive magnetic declination means your location’s magnetic north is east of true north. A negative magnetic declination means your locations magnetic north is west of true north.

Our solar panel azimuth calculator calculates the current magnetic declination for your location using the latest version of the World Magnetic Model — the same model used by the US Department of Defense, the UK Ministry of Defence, and NATO.

The earth’s magnetic field varies over time. Accordingly, the magnetic declination at a given location also changes over time. Our calculator uses the current date to calculate your solar panel azimuth angle.

This also means magnetic declination maps are only accurate for a certain time period. If you use one, make sure it isn’t too old, otherwise the values will be slightly incorrect.

Is True South or True North Always the Best Azimuth Angle?

No. Local weather patterns may cause the best azimuth angle for your solar panels to be slightly east or west of true south or true north.

For instance, let’s say you live in the northern hemisphere. Typically, your optimal azimuth angle would be true south.

However, let’s say that when it rains at your location, it’s usually in the late afternoon. In this case, your optimal azimuth angle may be slightly east of south to optimize for clear skies in the morning and early afternoon.

Our calculator takes into account your location’s magnetic declination to give the default optimal azimuth angles of true south and true north. But you can fine tune these even more by using PVWatts, which I describe how to do in the next section.

Another important exception to the “true north or true south” rule is if you want to maximize solar production of a grid-tied system during peak time-of-use (TOU) rates. Peak TOU rates tend to be in the afternoon, when the sun is slightly west in the sky.

In these scenarios, your solar panels will save you the most money if you orient your panels slightly west to maximize energy production when electricity is most expensive.

3 More Ways to Calculate Solar Panel Direction

Besides our solar panel direction calculator, here are 3 more free tools you can use to find which way to face your solar panels.

1. Your Phone’s Compass App

A standard compass shows magnetic north, but there are plenty of compass apps that can show true north.

I have an iPhone, so here’s a quick video showing you how to find true north using the iPhone’s default Compass app. (For Android users, you can download a compass app that shows true north.)

1. Go to Settings > Compass.

2. Go to Location then select “While Using the App.” The app needs to know your location to calculate true north.

3. Go back to Compass settings then select “Use True North.”

4. Open the Compass app to see your true orientation. Now your compass app shows true north rather than magnetic north.

5. If you’re in the northern hemisphere, point your panels toward true south. If you’re in the southern hemisphere, point your panels toward true north.

2. NOAA Magnetic Declination Calculator

NOAA has a free magnetic declination calculator you can use to find true north. Here’s how:

1. Go to the NOAA Magnetic Declination Calculator.

2. Enter your location in the Location field and click “Get & Add Lat / Lon”. This adds your location’s latitude and longitude to the calculator. Alternatively, if you already know your coordinates, you can just type them into the Latitude and Longitude fields (in degrees, minutes, seconds).

3. Click “Calculate”.

4. Find your location’s magnetic declination in the results window. Your results are given in degrees, minutes, seconds which you can convert to a decimal.

5. Correct your compass by your magnetic declination to get true north. If magnetic declination is east or positive, it means magnetic north is east of true north. If it’s west or negative, it means magnetic north is west of true north. To correct, you need to adjust by the angle of magnetic declination in the opposite direction. For instance, in this example my magnetic declination is 7° 53′ E, or 7.87° E written as a decimal. This means magnetic north at my location is 7.87° east of true north. To find true north, I need to point my compass toward magnetic north and then adjust 7.87° west.

6. If you’re in the northern hemisphere, point your panels toward true south. If you’re in the southern hemisphere, point your panels toward true north.

3. PVWatts

Recall that I said earlier the best solar panel direction is usually true south or true north, but local weather patterns may affect these default values slightly.

Using the National Renewable Energy Laboratory’s PVWatts Calculator, you can find your optimal azimuth angle that takes into account historical weather data. Here’s how to do it.

1. Go to PVWatts.

2. Enter your city or address in the search bar then click “Go”.

3. On the Solar Resource Data page, scroll down to the map and confirm that the calculator selected the right location. If it did, click “Go to system info.” If it didn’t, click “Change Location” at the top of the page and try again.

4. On the System Info page, experiment with different azimuth angles (in degrees clockwise from true north) until you find the value that generates the most electricity. Start by typing in a number, then click “Go to PVWatts results”. I entered “180” as my first azimuth angle.

5. Record the estimated system output. At an azimuth angle of 180° clockwise from true north, a solar power system at my location (with the default inputs) would generate an estimated 6,415 kWh per year.

6. Go back to the System Info page and adjust the azimuth angle up and down in increments of 1 until you find the angle(s) that generates the most solar energy at your location. After trying many different numbers, I found that 175-179° clockwise from true north are my optimal azimuth angles — any of them would generate an estimated 6,416 kWh per year.

7. Orient your panels toward your optimal azimuth angle using a true north compass app or magnetic declination calculator. To do so, find true north using one of the two methods described above and then adjust clockwise from true north by your azimuth angle.

As you can see from this example, the extra energy gleaned from this method can be minimal.

More Solar Calculators

Share This Article
Alex Beale
Alex Beale
Hi, I'm Alex. I’m a DIY solar power enthusiast on a journey to learn how to solar power anything. Footprint Hero is where I’m sharing what I learn – as well as the (many) mistakes I’m making along the way.