Solar Panel Direction and Angle Calculator by ZIP Code

Enter a US ZIP code to see which way your solar panels should face, what that direction reads on a compass, and the tilt angle that collects the most sunlight over a year. The tool works in your browser and does not store anything you type.

How to Use the Results

  1. Direction. In the continental US, Alaska, Hawaii and Puerto Rico, fixed solar panels collect the most energy when they face true south, the direction of the geographic South Pole (Energy Education). Azimuth 180° is the same direction written as a compass bearing.
  2. Compass reading. A magnetic compass does not point to true north. Stand where the panels will go, hold the compass flat, and turn until it shows the number in the middle card. That is true south for your ZIP code.
  3. Tilt. Set the panels at an angle close to your latitude, measured from horizontal. For a roof installation, the roof pitch usually decides the tilt; the next sections show how much that matters.

Why True South Is Not the Same as Magnetic South

Magnetic declination is the angle between magnetic north and true (geographic) north at a given place, and it changes with both location and time (NOAA NCEI). Across the US it is large enough to matter. According to the World Magnetic Model 2025, at the end of 2026 declination is about 12.5° west in New York City and about 15° east in Seattle. If you simply followed the compass needle south, panels in those cities would point 12–15° off target.

West declination means the compass reading for true south is higher than 180°, and east declination means it is lower. The tool does this arithmetic for you.

What Tilt Angle Is Best

The standard rule is to tilt fixed panels at an angle equal to your latitude to get the most energy over a full year (Energy Education). Real sites often do best a little flatter than that, because diffuse light on cloudy days comes from the whole sky: EnergySage gives the example of San Diego, at 33° latitude, where the ideal tilt is about 30° (EnergySage). The same source notes that the US Department of Energy considers 15° to 40° a good range for south-facing panels, and that steeper tilts of 45° to 60° favor winter production.

So treat the tilt in the result as a target, not an exact requirement. A ground mount or adjustable rack can match it; a roof at 25° or 35° is still a good place for panels.

What If Your Roof Faces East or West

A roof that does not face south can still work. EnergySage estimates that an ideal east-west installation loses only 10% to 15% of annual production compared with south-facing panels, and a typical rooftop with less-than-ideal angles loses about 20% (EnergySage). North-facing roofs are rarely worth using.

To see how your own roof compares, enter its real azimuth and tilt in NREL’s free PVWatts calculator. It estimates monthly and yearly output for any address from local weather data.

How This Tool Works

  • Location. Each ZIP code is matched to the center of its ZIP Code Tabulation Area (ZCTA) from the US Census Bureau. ZIP codes that are not ZCTAs (for example, PO box-only codes) use the average of their three-digit area. Large rural ZIP codes can span a degree of latitude or more, which changes the tilt by about one degree.
  • Declination. Calculated with the World Magnetic Model 2025, produced by the US National Geospatial-Intelligence Agency and the UK Defence Geographic Centre and distributed by NOAA (NOAA NCEI), for late 2026. Declination drifts slowly, and we update the data every year. For a single exact point, use NOAA’s declination calculator.
  • Limits. The tool does not know about shade from trees or nearby buildings, local magnetic interference (metal roofs, cars, power lines), or your utility’s rates. Hold the compass away from metal when you take a reading.

For the next steps in planning a system, see how to calculate the number of solar panels for your house, compare flexible and rigid solar panels, or read what an off-grid solar system costs.

Frequently Asked Questions

Which direction should solar panels face in the US?

True south, which is the direction of the geographic South Pole. Because a magnetic compass points to magnetic north, the compass reading for true south differs from 180° by the local magnetic declination. Enter your ZIP code above to get the exact reading.

Is the best solar panel angle equal to my latitude?

Latitude is a good starting point for the best year-round tilt of fixed panels. In practice, a few degrees flatter often performs as well or slightly better, and a roof pitch between 15° and 40° works well for south-facing panels.

Do solar panels work if my roof faces east or west?

Yes. An east- or west-facing array typically produces about 10% to 20% less energy per year than a south-facing one, according to EnergySage. Many homeowners still find the savings worthwhile.

Comments are closed.