Site & solar
Sun-path diagram generator
Plot the sun for a selected day and both solstices; export SVG, PNG and hourly data.
Loading the local tool…
What a sun path diagram shows
A sun path diagram is a polar chart that plots the sun's position across the sky for a given place and date, using two angles: altitude above the horizon and azimuth around the compass. This generator draws the path for any latitude, longitude and date you choose, together with the June 21 and December 21 solstice paths, which bound where the sun can ever be at that location.
Architects and designers use sun paths to orient buildings, place windows, size shading and check which parts of a site get winter sun. The diagram answers questions such as: where does the sun rise in midwinter, how high is it at noon in summer, and which facades see low evening sun?
Positions are calculated in your browser with the SunCalc library from UTC time, latitude and longitude. The result panel also reports sunrise, sunset, solar noon and day length for the date and both solstices, and you can mask neighbouring buildings or trees as obstructions to see how many hours of direct sun survive. Download the diagram as SVG or PNG, and the hourly altitude, azimuth and sun times as CSV.
How to use the sun-path diagram generator
- Pick a city from the built-in list of more than 100 cities, or choose Custom coordinates and type your own latitude and longitude. Positive latitude is north and positive longitude is east, so New York is 40.7128, −74.0060. The list is stored with the tool; nothing is looked up online.
- Choose the date to study. It is drawn as the dark curve. The amber curve is June 21 and the grey curve is December 21 of the same year.
- Check the UTC offset. For a city it is worked out for that date from its IANA time zone, so daylight saving is already included (New York in July shows −4). Edit the field to override it, or choose Use the time-zone offset to return to automatic.
- Switch the projection between equidistant (evenly spaced 30° and 60° rings) and stereographic (the sky-dome projection used on most printed sun-path charts).
- Add up to eight obstructions, each with a label, the azimuth band it covers (clockwise from north, wrapping past 360°) and its altitude. They are shaded on the diagram, blocked hours are drawn as hollow dots, and the result panel reports sunlit and blocked hours for the date.
- Read the result panel: sunrise, sunset, solar noon and day length in local clock time, with the same figures for both solstices under Sunrise & sunset at the solstices. On the diagram the center is the zenith, the outer ring is the horizon, and dots mark every two hours in local time.
- Open Hourly positions for altitude, azimuth and sky status at each hour, then download the diagram as SVG or PNG, or the sun times, obstructions and hourly data as a CSV.
Worked example
At the equator near the March equinox, the sun passes close to the zenith around solar noon.
How to read a sun path diagram
The chart is laid out like a site plan with north at the top, east on the right, south at the bottom and west on the left. The outer circle is the horizon (0° altitude) and the center is directly overhead (90°). A point halfway between them is 45° above the horizon.
Each curve is one day. In mid-northern latitudes the sun rises in the east, passes to the south and sets in the west. In the southern hemisphere it passes to the north, which is why the default Auckland diagram bows toward the top of the chart.
To find the sun at a given time, find that hour's dot on the curve. Its direction from the center is the azimuth, and its distance in from the outer ring is the altitude. The hourly table gives exact values.
The band between the amber June curve and the grey December curve is the part of the sky the sun crosses during the year. Sky outside that band never receives the sun at that latitude, which is useful when judging which openings can ever see direct sun.
Solar altitude and azimuth explained
Altitude is the sun's angle above the horizon, from 0° at sunrise and sunset to its maximum at solar noon. Azimuth is its compass direction, measured in this tool clockwise from true north: 90° is east, 180° is south and 270° is west. Some software measures azimuth from south instead, so check the convention before copying values between tools.
Altitude sets shadow length and how deep sun reaches into a room. Azimuth tells you which facade the sun is striking. Together they are the inputs to the shadow length and overhang calculator. For a longer primer, see solar altitude and azimuth explained.
Solstice and equinox sun angles by latitude
Noon altitude follows a simple rule: 90° minus the difference between your latitude and the sun's declination. Declination is about +23.44° at the June solstice, 0° at the equinoxes and −23.44° at the December solstice. At the equinoxes the sun rises close to due east and sets close to due west everywhere.
The table uses those geometric formulas for northern latitudes. It ignores atmospheric refraction, which lifts the apparent sun near the horizon and adds a few minutes of daylight, so treat the values as design approximations. Below 23.44°N the June noon sun passes north of overhead, so the 0° and 20° June values are measured toward the north. For the southern hemisphere, swap the June and December columns.
| Latitude | Noon altitude, June 21 | Noon altitude, equinox | Noon altitude, Dec 21 | Sunrise azimuth, June / Dec | Day length, June / Dec |
|---|---|---|---|---|---|
| 0° | 66.6° | 90.0° | 66.6° | 66.6° / 113.4° | 12 h 00 min / 12 h 00 min |
| 20°N | 86.6° | 70.0° | 46.6° | 65.0° / 115.0° | 13 h 13 min / 10 h 47 min |
| 25°N | 88.4° | 65.0° | 41.6° | 64.0° / 116.0° | 13 h 33 min / 10 h 27 min |
| 30°N | 83.4° | 60.0° | 36.6° | 62.7° / 117.3° | 13 h 56 min / 10 h 04 min |
| 35°N | 78.4° | 55.0° | 31.6° | 60.9° / 119.1° | 14 h 21 min / 9 h 39 min |
| 40°N | 73.4° | 50.0° | 26.6° | 58.7° / 121.3° | 14 h 51 min / 9 h 09 min |
| 45°N | 68.4° | 45.0° | 21.6° | 55.8° / 124.2° | 15 h 26 min / 8 h 34 min |
| 50°N | 63.4° | 40.0° | 16.6° | 51.8° / 128.2° | 16 h 09 min / 7 h 51 min |
| 55°N | 58.4° | 35.0° | 11.6° | 46.1° / 133.9° | 17 h 06 min / 6 h 54 min |
Worked example: New York sun path at the solstices
With New York selected (40.7128, −74.0060) and the offset overridden to UTC−5 for both dates, the tool's hourly positions show the sun peaking at about 72.7° on June 21 and about 25.8° on December 21. The difference, roughly 47°, is twice the 23.44° tilt of Earth's axis.
At 8:00 standard time on June 21 the sun is already 37.8° high and almost due east. At the same hour on December 21 it is only 5.9° high in the southeast. An east-facing room gets strong morning sun in summer and low, grazing sun in winter.
The UTC offset matters. Choose New York for June 21 and the offset becomes −4 automatically because daylight saving is in force, so solar noon lands near 12:59 on the clock; override it to −5 and the same instant reads 11:59. The table below uses UTC−5 for both dates so the June and December columns line up. City-specific figures are in sun path and solar angles for New York.
| Hour (UTC−5) | June 21 altitude | June 21 azimuth | Dec 21 altitude | Dec 21 azimuth |
|---|---|---|---|---|
| 8:00 | 37.8° | 90.2° | 5.9° | 128.1° |
| 10:00 | 59.8° | 115.9° | 20.6° | 152.1° |
| 12:00 | 72.7° | 181.5° | 25.8° | 181.4° |
| 14:00 | 59.2° | 245.3° | 19.5° | 210.5° |
| 16:00 | 37.0° | 270.5° | 4.2° | 233.9° |
Who it is for and when to use it
Orienting a building on its site
Check where the sun rises and sets at each solstice before fixing the plan orientation, the living spaces and the outdoor areas.
Placing and shading windows
Read altitude and azimuth for the hours a room is used, then size overhangs with the shadow and overhang calculator.
Planning solar panels and planting
See which directions get sun in winter and summer before choosing a roof plane for PV or a spot for a garden. For annual output, use the solar PV yield estimator.
Site analysis and presentations
Export a clean SVG or PNG sun path for a design statement, site analysis board or client report.
Method, formulas & assumptions
SunCalc computes solar altitude and azimuth from UTC instants, latitude and longitude. The polar chart maps zenith to the centre and the horizon to the outer ring.
Solar position engine: SunCalc 1.9.0.
Common mistakes to avoid
- Overriding a city's automatic UTC offset with standard time for a summer date. Every hour label shifts by one when daylight saving applies, so leave the offset on automatic unless you have a reason not to.
- Confusing true north with magnetic north. The diagram uses true north; a compass reading on site needs correcting for local magnetic declination.
- Entering west longitudes as positive. Locations in the Americas have negative longitude, and a sign error moves the site to the other side of the world.
- Assuming azimuth is measured from south. This tool measures clockwise from north, so due south is 180°.
- Treating the open-sky diagram as a shading study. Enter neighbouring buildings, trees or terrain as obstructions (an azimuth band and an altitude) before reading the sunlit hours; anything you do not enter is not modelled.
- Reading June and December the wrong way round in the southern hemisphere. In Auckland or Sydney the high summer path is the December curve.
Scope & limits
City presets derive the UTC offset, including daylight saving, from the time zone; custom coordinates need a fixed offset for the selected date. Obstructions are simple azimuth bands you enter; the diagram excludes terrain and detailed atmospheric effects.
Frequently asked questions
What is a sun path diagram?
A chart of the sun's positions across the sky for a place and date, plotted by altitude and azimuth. It shows where the sun rises and sets, how high it gets and which directions receive direct sun during the day.
How high is the sun at noon on the winter solstice?
In the northern hemisphere, about 90° minus your latitude minus 23.44°. At 40°N that is about 26.6°, and at 30°N about 36.6°.
Does the sun rise due east?
Only near the equinoxes. At 40°N it rises about 31° north of east (azimuth 58.7°) on June 21 and about 31° south of east (azimuth 121.3°) on December 21.
What is the difference between solar altitude and azimuth?
Altitude is the sun's angle above the horizon, from 0° to 90°. Azimuth is its compass bearing, measured here clockwise from true north, so 90° is east and 180° is south.
Why is solar noon not at 12:00?
Clock time is shared across a whole time zone, while solar noon depends on your longitude within it and on the equation of time, which shifts solar noon by up to about 16 minutes through the year. Daylight saving adds another hour.
Can I make a sun path diagram for the southern hemisphere?
Yes. Enter a negative latitude or choose a southern city such as Auckland or Sydney. The sun then passes to the north, and the December curve is the high summer path.
Which dates does the diagram show?
Your selected date as the dark curve, plus June 21 and December 21 of the same year as representative solstice dates. The actual solstice can fall a day either side.
Does the diagram account for buildings or terrain?
Only the obstructions you enter. Each one is a band of azimuth up to an altitude; it is shaded on the diagram and its hours are subtracted from the sunlit total. Detailed building shapes, reflections and atmospheric effects are not modelled.
Do I need an account to download the result?
No. All calculations, local file processing and exports on this page are free, without an account.
Where are my inputs stored?
The tool keeps inputs in this browser tab. It does not upload them or create a cloud copy. Save or download anything you want to keep before leaving the page. Standard site analytics may operate independently of the tool.
Further reading
- Sun path diagrams by city
- Solar altitude and azimuth explained
- Sun path and solar angles in New York
- Solar data by location
- All site & solar tools
- All free architecture & construction tools
- Harth resource library
In this category
Keep developing your project in Harth.
Bring your ideas, models and project research into one workspace. Downloaded results are yours to take with you.