Use our solar panel azimuth angle calculator to the find the best direction to face your solar panels.
Solar Panel Azimuth Angle Calculator
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
City | State | Zip Code | Best Solar Panel Direction in 2022 (clockwise from magnetic north) | Magnetic Declination in 2022 |
---|---|---|---|---|
Anaheim | CA | 92804 | 168.5° | 11.5° |
Antioch | TN | 37013 | 184.1° | -4.1° |
Bell | CA | 90201 | 168.4° | 11.6° |
Bronx | NY | 10467 | 192.7° | -12.7° |
Bronx | NY | 10456 | 192.7° | -12.7° |
Brooklyn | NY | 11211 | 192.7° | -12.7° |
Brooklyn | NY | 11208 | 192.7° | -12.7° |
Brooklyn | NY | 11236 | 192.7° | -12.7° |
Brooklyn | NY | 11226 | 192.6° | -12.6° |
Brooklyn | NY | 11234 | 192.7° | -12.7° |
Brooklyn | NY | 11220 | 192.6° | -12.6° |
Brooklyn | NY | 11214 | 192.6° | -12.6° |
Brooklyn | NY | 11207 | 192.7° | -12.7° |
Brownsville | TX | 78521 | 176.9° | 3.1° |
Chicago | IL | 60629 | 184.0° | -4.0° |
Chicago | IL | 60618 | 184.0° | -4.0° |
Chicago | IL | 60632 | 184.0° | -4.0° |
Chino | CA | 91710 | 168.5° | 11.5° |
Corona | NY | 11368 | 192.7° | -12.7° |
Cypress | TX | 77433 | 177.8° | 2.2° |
El Paso | TX | 79936 | 172.4° | 7.6° |
Elmhurst | NY | 11373 | 192.7° | -12.7° |
Fontana | CA | 92335 | 168.6° | 11.4° |
Fontana | CA | 92336 | 168.5° | 11.5° |
Frisco | TX | 75034 | 177.1° | 2.9° |
Grand Prairie | TX | 75052 | 177.0° | 3.0° |
Hawthorne | CA | 90250 | 168.4° | 11.6° |
Houston | TX | 77084 | 177.8° | 2.2° |
Katy | TX | 77449 | 177.8° | 2.2° |
Katy | TX | 77494 | 177.7° | 2.3° |
Lakewood | NJ | 08701 | 192.4° | -12.4° |
Lawrenceville | GA | 30043 | 174.3° | 5.7° |
Long Beach | CA | 90805 | 168.4° | 11.6° |
Los Angeles | CA | 90011 | 168.4° | 11.6° |
Los Angeles | CA | 90044 | 168.4° | 11.6° |
McKinney | TX | 75070 | 177.3° | 2.7° |
New York City | NY | 10025 | 192.7° | -12.7° |
Norwalk | CA | 90650 | 168.5° | 11.5° |
Pacoima | CA | 91331 | 168.3° | 11.7° |
Pearland | TX | 77584 | 178.0° | 2.0° |
Pflugerville | TX | 78660 | 176.7° | 3.3° |
Pittsburg | CA | 94565 | 166.9° | 13.1° |
Ridgewood | NY | 11385 | 192.7° | -12.7° |
Riverside | CA | 92503 | 168.6° | 11.4° |
San Juan | PR | 00926 | 193.5° | -13.5° |
South Gate | CA | 90280 | 168.4° | 11.6° |
Staten Island | NY | 10314 | 192.5° | -12.5° |
Sugar Land | TX | 77479 | 177.9° | 2.1° |
Sylmar | CA | 91342 | 168.3° | 11.7° |
Westminster | CA | 92683 | 168.5° | 11.5° |
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 location’s 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 Azimuth Angle
Besides our solar panel azimuth 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 azimuth angle 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.