NOAA Solar Position Calculator

Calculate solar azimuth, elevation, twilight, sunrise, sunset, shadows, panel incidence, and detailed astronomical values for any global location, date, and time accurately.

☀ NOAA/Meeus-style equations 🧭 True-north azimuth 📊 Time-series charts ⬇ CSV, JSON, and PDF

Solar position results

Saturday, October 24, 2026 · 08:21:24 PKT at 24.86070°, 67.00110°.

Daylight
Solar azimuth 115.4584° Clockwise from true north · ESE
Apparent elevation 22.1315° Includes enabled refraction correction
Geometric elevation 22.0921° Uncorrected center of the Sun
Solar zenith angle 67.9079° Angular distance from overhead
Solar declination -11.7283° South of the celestial equator
Equation of time 15.8011 min Apparent versus mean solar time
Solar hour angle -58.6986° Before local solar noon
True solar time 08:05:12 485.21 minutes after solar midnight
Relative air mass 2.6394 Kasten–Young approximation
Refraction correction 0.0395° 1,010.0 hPa · 10.0°C
Panel incidence 58.3080° Sun reaches the panel front
Shadow length 4.9176 m Toward 295.46° · WNW

Calculator inputs

Choose a location, local date, time zone, atmospheric settings, panel angle, shadow object, and time-series range.

1. Location

Presets fill latitude, longitude, and time zone.
The result engine converts everything internally.
North is positive. South is negative.
East is positive. West is negative.
Metres. Stored for reporting and horizon context.
Click the map to choose coordinates.Lat 24.8607°, Lon 67.0011°

2. Date, clock, and time zone

Handles daylight-saving transitions for the selected date.
Example: +05:00 or −04:00. Historical DST is not applied.

3. Atmosphere and refraction

hPa. Standard near sea level is about 1010 hPa.
Degrees Celsius.

4. Shadow and solar-panel tools

Degrees east-positive. This does not change true solar azimuth.
0° is horizontal. 90° is vertical.
Clockwise from true north.

5. Time-series settings

48 calculated rows

Sunrise, sunset, and twilight

Times use the selected local time zone. Event thresholds use the Sun’s center and standard astronomical definitions.

Normal
Astronomical dawn05:17 PKTSolar elevation −18°
Nautical dawn05:44 PKTSolar elevation −12°
Civil dawn06:11 PKTSolar elevation −6°
Sunrise06:34 PKT102.53° true
Solar noon12:16 PKTSun crosses the local meridian
Sunset17:57 PKT257.31° true
Civil dusk18:21 PKTSolar elevation −6°
Nautical dusk18:47 PKTSolar elevation −12°
Astronomical dusk19:14 PKTSolar elevation −18°
Day length11:23:10Sunrise through sunset
Morning blue hour06:11 PKT–06:20 PKTApproximately −6° through −4°
Morning golden hour06:20 PKT–07:05 PKTApproximately −4° through +6°
Evening golden hour17:26 PKT–18:12 PKTApproximately +6° through −4°
Evening blue hour18:12 PKT–18:21 PKTApproximately −4° through −6°
Current statusDaylightBased on apparent solar elevation

Solar visualisations

The compass uses true north. The daily charts use the generated time-series values shown below.

Compass and current Sun

Shadow geometry

Sun path: azimuth versus elevation

Sun pathCurrent SunHorizon

Solar elevation through time

Time-series results

48 rows from 2026-10-24 00:00 PKT through 2026-10-24 23:30 PKT.

Local time UTC time Azimuth Elevation Geometric Zenith Air mass Declination Eq. time Hour angle Panel incidence Status
2026-10-24 00:00:00 PKT 2026-10-23 19:00:00 UTC 343.0961° -76.1985° -76.1999° 166.1999° −1 -11.6070° 15.7544 min 175.9397° 162.7746° Night
2026-10-24 00:30:00 PKT 2026-10-23 19:30:00 UTC 14.4328° -76.3575° -76.3589° 166.3589° −1 -11.6143° 15.7572 min -176.5596° 162.9016° Night
2026-10-24 01:00:00 PKT 2026-10-23 20:00:00 UTC 40.0035° -73.1881° -73.1898° 163.1898° −1 -11.6216° 15.7601 min -169.0589° 160.0158° Night
2026-10-24 01:30:00 PKT 2026-10-23 20:30:00 UTC 56.1592° -68.0940° -68.0963° 158.0963° −1 -11.6288° 15.7629 min -161.5582° 155.1456° Night
2026-10-24 02:00:00 PKT 2026-10-23 21:00:00 UTC 66.3912° -62.1172° -62.1202° 152.1202° −1 -11.6361° 15.7657 min -154.0575° 149.2193° Night
2026-10-24 02:30:00 PKT 2026-10-23 21:30:00 UTC 73.4431° -55.7243° -55.7282° 145.7282° −1 -11.6434° 15.7685 min -146.5568° 142.7378° Night
2026-10-24 03:00:00 PKT 2026-10-23 22:00:00 UTC 78.7395° -49.1196° -49.1246° 139.1246° −1 -11.6506° 15.7713 min -139.0561° 135.9458° Night
2026-10-24 03:30:00 PKT 2026-10-23 22:30:00 UTC 83.0156° -42.4020° -42.4083° 132.4083° −1 -11.6579° 15.7742 min -131.5554° 128.9676° Night
2026-10-24 04:00:00 PKT 2026-10-23 23:00:00 UTC 86.6773° -35.6257° -35.6337° 125.6337° −1 -11.6651° 15.7770 min -124.0547° 121.8707° Night
2026-10-24 04:30:00 PKT 2026-10-23 23:30:00 UTC 89.9681° -28.8241° -28.8346° 118.8346° −1 -11.6724° 15.7797 min -116.5540° 114.6941° Night
2026-10-24 05:00:00 PKT 2026-10-24 00:00:00 UTC 93.0474° -22.0207° -22.0349° 112.0349° −1 -11.6796° 15.7825 min -109.0533° 107.4616° Night
2026-10-24 05:30:00 PKT 2026-10-24 00:30:00 UTC 96.0297° -15.2331° -15.2542° 105.2542° −1 -11.6869° 15.7853 min -101.5526° 100.1874° Astronomical twilight
2026-10-24 06:00:00 PKT 2026-10-24 01:00:00 UTC 99.0061° -8.4721° -8.5107° 98.5107° −1 -11.6941° 15.7881 min -94.0519° 92.8760° Nautical twilight
2026-10-24 06:30:00 PKT 2026-10-24 01:30:00 UTC 102.0572° -1.6420° -1.8233° 91.8233° −1 -11.7014° 15.7909 min -86.5512° 85.4352° Civil twilight
2026-10-24 07:00:00 PKT 2026-10-24 02:00:00 UTC 105.2625° 4.9514° 4.7863° 85.2137° 10.3887 -11.7086° 15.7936 min -79.0505° 78.1192° Daylight
2026-10-24 07:30:00 PKT 2026-10-24 02:30:00 UTC 108.7071° 11.3700° 11.2916° 78.7084° 4.9544 -11.7159° 15.7964 min -71.5498° 70.8556° Daylight
2026-10-24 08:00:00 PKT 2026-10-24 03:00:00 UTC 112.4895° 17.7088° 17.6587° 72.3413° 3.2572 -11.7231° 15.7992 min -64.0491° 63.5369° Daylight
2026-10-24 08:30:00 PKT 2026-10-24 03:30:00 UTC 116.7280° 23.8793° 23.8430° 66.1570° 2.4585 -11.7304° 15.8019 min -56.5484° 56.2062° Daylight
2026-10-24 09:00:00 PKT 2026-10-24 04:00:00 UTC 121.5690° 29.8122° 29.7841° 60.2159° 2.0056 -11.7376° 15.8047 min -49.0477° 48.8774° Daylight
2026-10-24 09:30:00 PKT 2026-10-24 04:30:00 UTC 127.1924° 35.4215° 35.3988° 54.6012° 1.7220 -11.7449° 15.8074 min -41.5470° 41.5618° Daylight
2026-10-24 10:00:00 PKT 2026-10-24 05:00:00 UTC 133.8117° 40.5916° 40.5728° 49.4272° 1.5347 -11.7521° 15.8102 min -34.0464° 34.2752° Daylight
2026-10-24 10:30:00 PKT 2026-10-24 05:30:00 UTC 141.6549° 45.1667° 45.1507° 44.8493° 1.4085 -11.7594° 15.8129 min -26.5457° 27.0473° Daylight
2026-10-24 11:00:00 PKT 2026-10-24 06:00:00 UTC 150.9057° 48.9444° 48.9304° 41.0696° 1.3249 -11.7666° 15.8156 min -19.0450° 19.9476° Daylight
2026-10-24 11:30:00 PKT 2026-10-24 06:30:00 UTC 161.5837° 51.6862° 51.6734° 38.3266° 1.2734 -11.7738° 15.8183 min -11.5443° 13.1908° Daylight
2026-10-24 12:00:00 PKT 2026-10-24 07:00:00 UTC 173.3909° 53.1586° 53.1465° 36.8535° 1.2485 -11.7811° 15.8211 min -4.0436° 7.7409° Daylight
2026-10-24 12:30:00 PKT 2026-10-24 07:30:00 UTC 185.6547° 53.2082° 53.1961° 36.8039° 1.2477 -11.7883° 15.8238 min 3.4570° 7.4646° Daylight
2026-10-24 13:00:00 PKT 2026-10-24 08:00:00 UTC 197.5176° 51.8295° 51.8168° 38.1832° 1.2709 -11.7955° 15.8265 min 10.9577° 12.7039° Daylight
2026-10-24 13:30:00 PKT 2026-10-24 08:30:00 UTC 208.2853° 49.1675° 49.1535° 40.8465° 1.3204 -11.8028° 15.8292 min 18.4584° 19.4133° Daylight
2026-10-24 14:00:00 PKT 2026-10-24 09:00:00 UTC 217.6336° 45.4526° 45.4367° 44.5633° 1.4016 -11.8100° 15.8319 min 25.9591° 26.4967° Daylight
2026-10-24 14:30:00 PKT 2026-10-24 09:30:00 UTC 225.5654° 40.9249° 40.9063° 49.0937° 1.5244 -11.8172° 15.8346 min 33.4597° 33.7168° Daylight
2026-10-24 15:00:00 PKT 2026-10-24 10:00:00 UTC 232.2574° 35.7897° 35.7674° 54.2326° 1.7067 -11.8245° 15.8373 min 40.9604° 40.9985° Daylight
2026-10-24 15:30:00 PKT 2026-10-24 10:30:00 UTC 237.9370° 30.2061° 30.1784° 59.8216° 1.9820 -11.8317° 15.8399 min 48.4611° 48.3104° Daylight
2026-10-24 16:00:00 PKT 2026-10-24 11:00:00 UTC 242.8195° 24.2920° 24.2564° 65.7436° 2.4196 -11.8389° 15.8426 min 55.9618° 55.6361° Daylight
2026-10-24 16:30:00 PKT 2026-10-24 11:30:00 UTC 247.0871° 18.1349° 18.0860° 71.9140° 3.1847 -11.8461° 15.8453 min 63.4624° 62.9640° Daylight
2026-10-24 17:00:00 PKT 2026-10-24 12:00:00 UTC 250.8881° 11.8047° 11.7291° 78.2709° 4.7827 -11.8534° 15.8480 min 70.9631° 70.2806° Daylight
2026-10-24 17:30:00 PKT 2026-10-24 12:30:00 UTC 254.3422° 5.3858° 5.2311° 84.7689° 9.6899 -11.8606° 15.8506 min 78.4638° 77.5471° Daylight
2026-10-24 18:00:00 PKT 2026-10-24 13:00:00 UTC 257.5485° -1.1329° -1.3735° 91.3735° −1 -11.8678° 15.8533 min 85.9644° 84.7982° Civil twilight
2026-10-24 18:30:00 PKT 2026-10-24 13:30:00 UTC 260.5924° -8.0174° -8.0581° 98.0581° −1 -11.8750° 15.8559 min 93.4651° 92.2843° Nautical twilight
2026-10-24 19:00:00 PKT 2026-10-24 14:00:00 UTC 263.5528° -14.7790° -14.8008° 104.8008° −1 -11.8822° 15.8586 min 100.9657° 99.5919° Astronomical twilight
2026-10-24 19:30:00 PKT 2026-10-24 14:30:00 UTC 266.5089° -21.5683° -21.5828° 111.5828° −1 -11.8895° 15.8612 min 108.4664° 106.8606° Night
2026-10-24 20:00:00 PKT 2026-10-24 15:00:00 UTC 269.5494° -28.3756° -28.3863° 118.3863° −1 -11.8967° 15.8638 min 115.9671° 114.0867° Night
2026-10-24 20:30:00 PKT 2026-10-24 15:30:00 UTC 272.7847° -35.1841° -35.1923° 125.1923° −1 -11.9039° 15.8665 min 123.4677° 121.2560° Night
2026-10-24 21:00:00 PKT 2026-10-24 16:00:00 UTC 276.3668° -41.9718° -41.9782° 131.9782° −1 -11.9111° 15.8691 min 130.9684° 128.3447° Night
2026-10-24 21:30:00 PKT 2026-10-24 16:30:00 UTC 280.5274° -48.7074° -48.7124° 138.7124° −1 -11.9183° 15.8717 min 138.4690° 135.3140° Night
2026-10-24 22:00:00 PKT 2026-10-24 17:00:00 UTC 285.6508° -55.3409° -55.3448° 145.3448° −1 -11.9255° 15.8743 min 145.9697° 142.0976° Night
2026-10-24 22:30:00 PKT 2026-10-24 17:30:00 UTC 292.4327° -61.7816° -61.7847° 151.7847° −1 -11.9327° 15.8769 min 153.4703° 148.5742° Night
2026-10-24 23:00:00 PKT 2026-10-24 18:00:00 UTC 302.2316° -67.8432° -67.8455° 157.8455° −1 -11.9399° 15.8795 min 160.9710° 154.5082° Night
2026-10-24 23:30:00 PKT 2026-10-24 18:30:00 UTC 317.7405° -73.0956° -73.0974° 163.0974° −1 -11.9471° 15.8821 min 168.4716° 159.4242° Night

Example data

Load a seasonal location example, then calculate its solar position.

LocationLatitudeLongitudeDateTime zoneAction
Boulder, USA40.0150° N105.2705° WJune 21America/Denver
London, UK51.5074° N0.1278° WMarch 20Europe/London
Karachi, Pakistan24.8607° N67.0011° EDecember 21Asia/Karachi
Sydney, Australia33.8688° S151.2093° ESeptember 22Australia/Sydney
Tromsø, Norway69.6492° N18.9553° EJune 21Europe/Oslo

Formula used

The engine follows the familiar NOAA worksheet sequence derived from Meeus-style solar geometry.

Convert local time to UTC.
UTC = local date and time − applicable time-zone offset
Calculate Julian day and century.
T = (JD − 2451545.0) / 36525
Find solar orbital terms.
L₀, M, e, equation of center, true longitude, and apparent longitude
Calculate solar declination.
δ = asin(sin ε · sin λ)
Calculate equation of time.
E = 4 · degrees(y sin 2L₀ − 2e sin M + 4ey sin M cos 2L₀ − ½y² sin 4L₀ − 1.25e² sin 2M)
Calculate true solar time.
TST = local minutes + E + 4 · longitude − 60 · UTC offset
Calculate solar hour angle.
H = TST / 4 − 180°
Calculate zenith and elevation.
cos Z = sin φ sin δ + cos φ cos δ cos H; elevation = 90° − Z
Calculate true-north azimuth.
Az = atan2(sin H, cos H sin φ − tan δ cos φ) + 180°
Apply atmospheric refraction.
apparent elevation = geometric elevation + pressure-and-temperature-adjusted correction
Calculate shadows and panel incidence.
shadow = height / tan elevation; cos θ = cos Z cos β + sin Z sin β cos(Az − γ)
Current intermediate values
Julian day2,461,337.63986111
Julian century0.2681078675
Geometric mean longitude212.55610994°
Geometric mean anomaly10,009.15770489°
Earth orbit eccentricity0.0166973544
Sun equation of center-1.81957157°
True solar longitude210.73653837°
Apparent solar longitude210.73348781°
Earth–Sun distance0.99477225 AU
Mean obliquity23.43580459°
Corrected obliquity23.43793892°
Cosine of zenith0.3760958561

How to use this calculator

Follow these steps for a reliable, reproducible solar-position report.

  1. Enter decimal coordinates or switch to degrees, minutes, and seconds.
  2. Confirm the longitude sign convention shown beside the field.
  3. Select an IANA time zone for automatic daylight-saving handling.
  4. Enter the local date and clock time for the observation.
  5. Keep standard atmospheric settings, or enter local pressure and temperature.
  6. Enter an object height when shadow length is required.
  7. Enter panel tilt and azimuth for incidence-angle analysis.
  8. Choose a time-series range and interval for charts and exported data.
  9. Select Calculate. Review azimuth, elevation, twilight, and warning messages.
  10. Download CSV, JSON, or PDF for records and further analysis.
Direction convention: Solar azimuth is measured clockwise from true north. Magnetic compass readings may require a local declination adjustment.

Accuracy and limitations

Solar geometry is predictable, but observed horizons and atmospheric conditions vary.

Understanding solar position calculations

Solar position connects astronomical time, geography, atmospheric optics, and practical design decisions.

What solar azimuth means

Solar azimuth describes the Sun’s horizontal direction. Zero degrees points toward true north. Ninety degrees points east. One hundred eighty degrees points south. Two hundred seventy degrees points west. The value turns clockwise around the observer. A magnetic compass may show another direction. Local magnetic declination causes that difference.

What solar elevation means

Solar elevation measures height above the horizon. Positive values place the Sun above the astronomical horizon. Negative values place its center below that horizon. Ninety degrees means the Sun is directly overhead. Elevation changes throughout each day. It also changes across seasons and latitudes.

Geometric and apparent elevation

Geometric elevation ignores atmospheric bending. Apparent elevation includes a refraction estimate. Refraction matters most near sunrise and sunset. Dense air bends light toward the observer. The Sun can therefore appear visible while its geometric center remains below the horizon. Pressure and temperature influence the correction.

Why time zones matter

Solar equations need a precise UTC instant. Local clock time alone is insufficient. The selected time zone supplies the applicable UTC offset. IANA time zones also represent daylight-saving changes. Manual offsets remain useful for unusual cases. They should be checked carefully for historical dates.

Solar noon and clock noon

Solar noon occurs when the Sun crosses the local meridian. It rarely matches twelve o’clock exactly. Longitude within the time zone shifts solar noon. The equation of time adds a seasonal shift. Civil clock rules create another difference. Solar noon usually gives the day’s highest elevation.

Twilight stages

Civil twilight extends to six degrees below the horizon. Nautical twilight extends to twelve degrees. Astronomical twilight extends to eighteen degrees. Sky brightness depends on weather and light pollution. These thresholds still provide useful planning references. They help photographers, observers, sailors, and outdoor workers.

Shadow calculations

A vertical object casts a longer shadow when elevation is low. Shadow length equals object height divided by the tangent of elevation. The shadow points opposite the Sun’s azimuth. Below-horizon results have no direct sunlight shadow. Terrain slope can change the measured ground length.

Solar panel incidence

Panel incidence is the angle between sunlight and the panel normal. Zero degrees represents perpendicular sunlight. Larger angles reduce direct-beam exposure. A back-facing panel has a negative incidence cosine. Real energy also depends on irradiance, clouds, temperature, shading, wiring, and equipment efficiency.

Time-series analysis

A single instant answers one positioning question. A time series reveals the daily path. It supports facade studies, photography schedules, shading checks, and tracking simulations. Smaller intervals improve chart detail. Larger intervals keep long reports manageable. Exported rows support further analysis in other software.

Frequently asked questions

These answers explain common inputs, conventions, and result differences.

Is this an official NOAA calculator?

No. It is an independent educational implementation of publicly documented NOAA/Meeus-style equations. It does not provide NOAA certification.

Why does my compass disagree with azimuth?

The calculator reports true-north azimuth. A compass points toward magnetic north. Local magnetic declination can create several degrees of difference.

Why is sunrise different from an observed sunrise?

Terrain, buildings, clouds, pressure, temperature, and horizon height affect visibility. Astronomical calculations usually assume a level horizon and standard refraction.

What does a negative elevation mean?

The Sun’s center is below the astronomical horizon. Values between zero and minus eighteen degrees may represent twilight.

Should I use apparent or geometric elevation?

Use apparent elevation for near-horizon visual planning. Use geometric elevation for pure astronomical geometry and some engineering workflows.

Can this estimate solar-panel electricity?

No. It calculates orientation geometry. Energy production also needs irradiance, weather, shading, module efficiency, temperature, inverter, and system-loss data.

What air-mass value appears below the horizon?

The table exports minus one when air mass is unavailable. The result card shows a dash for clearer presentation.

Why can polar sunrise or sunset be missing?

High latitudes can experience continuous daylight or darkness. The selected altitude threshold may never be crossed on that date.

Related Calculators

Average Calculator StatisticsGeometric Mean CalculatorInter Quartile Range CalculatorLower Quartile CalculatorMaximum CalculatorMean Calculator StatisticsMedian Calculator StatisticsMidhinge Calculator StatisticsMid Range Calculator StatisticsMinimum Calculator Statistics

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.