Site & performance · Spain
Sun path diagram for Madrid
Solstice and equinox sun paths, sunrise, sunset and day length for Madrid, computed for 2026 in local clock time.
The generator preloads Madrid, works out the UTC offset for any date from its time zone, and lets you change the projection, add obstructions and export SVG, PNG or CSV. All calculations run in your browser.
Sunrise, sunset and day length in Madrid
Local clock times for 2026 from the SunCalc engine, using the standard −0.833° sunrise and sunset horizon. Solar noon is when the sun crosses the local meridian; noon altitude is its height above the horizon at that moment.
| Date | Clock | Sunrise | Sunset | Solar noon | Day length | Noon altitude |
|---|---|---|---|---|---|---|
| March 20 equinox | UTC+1 | 07:20 | 19:27 | 13:23 | 12 h 07 min | 49.4° |
| June 21 solstice | UTC+2 | 06:45 | 21:49 | 14:17 | 15 h 04 min | 73.0° |
| September 22 equinox | UTC+2 | 08:03 | 20:14 | 14:08 | 12 h 11 min | 50.0° |
| December 21 solstice | UTC+1 | 08:35 | 17:52 | 13:14 | 9 h 17 min | 26.1° |
Where Madrid sits and how its clock works
Madrid lies at 40.42° north, 3.70° west, in the northern hemisphere's temperate belt. Its clocks follow the Europe/Madrid time zone, UTC+1 in winter and UTC+2 while daylight saving is in force, and every time on this page is already in the local clock time for its date.
Sun angles through the year in Madrid
The sun is highest on June 21, reaching 73° above the horizon at solar noon (14:17 local time). On December 21 it climbs only to 26.1°. The 46.9° difference is twice the 23.44° tilt of Earth's axis. At the March and September equinoxes the noon sun stands at about 49.7°, which is 90° minus the latitude. At solar noon the sun is always to the south, so the south-facing side of a building is the sunny one all year.
Sunrise swings a long way along the horizon during the year. On June 21 the sun rises at azimuth 57.8° (north-east) and sets at 302.5° (north-west); on December 21 it rises at 120.9° and sets at 239.5°. At the equinoxes it rises close to due east and sets close to due west. That 63° swing is why an east-facing window in Madrid gets generous summer morning sun and much less in midwinter.
Day length, sunrise and sunset
Daylight runs from 15 h 04 min on June 21 to 9 h 17 min on December 21, a difference of 5 h 47 min. Sunrise moves between 06:45 and 08:35 across the year and sunset between 17:52 and 21:49 on the local clock, daylight saving included. Solar noon falls at 14:17 on June 21 and 13:14 on December 21, the shift coming mostly from the change of clock offset.
What this means for buildings in Madrid
For design, the south-facing facade collects the useful winter sun, which enters at only 26.1° at noon and reaches deep into a room, while a horizontal overhang sized for the 73° summer noon sun keeps that same glazing shaded in the warm months. East and west windows see low sun morning and evening in every season and are harder to shade with overhangs, so use fins, external blinds or deciduous planting there. The north-facing side gets only grazing sun near sunrise and sunset in summer.
Reading the diagram
The diagram uses the equidistant projection: the centre is the zenith, the outer ring is the horizon and the rings between mark 30° and 60° altitude, with north at the top and azimuth running clockwise. The dark curve is the September equinox, amber is June 21 and grey is December 21; the band between the amber and grey curves is the only part of the sky the sun ever occupies over Madrid, and dots mark every second clock hour. Open the generator to switch to a stereographic projection, choose any date, add up to eight obstructions and export the diagram as SVG or PNG, or the hourly data as CSV.