Pinpoint the Sun’s height above your horizon fast. Use coordinates, date, timezone, and options easily. Export results to files and compare sample scenarios instantly.
The solar altitude (also called elevation) is computed from latitude φ,
solar declination δ, and hour angle H:
Altitude = asin( sinφ·sinδ + cosφ·cosδ·cosH )
Declination and the equation of time are derived from standard solar geometry using the Julian day. The hour angle comes from true solar time. Optional refraction adjusts altitude near the horizon.
| Location | Latitude (°) | Longitude (°) | Date | Time | TZ (h) | Altitude (°) | Azimuth (°) |
|---|---|---|---|---|---|---|---|
| Karachi, PK | 24.8607 | 67.0011 | 2026-03-21 | 12:00 | 5 | 63.65 | 157.5 |
| Greenwich, UK | 51.4769 | 0.0005 | 2026-06-21 | 13:00 | 2 | 59.55 | 151.2 |
| Quito, EC | -0.1807 | -78.4678 | 2026-12-21 | 12:00 | -5 | 66.57 | 173 |
Sun altitude is the angle between the Sun and your horizon. 0° sits on the horizon, 90° is overhead, and negative values place the Sun below the horizon. The angle helps explain daylight strength and shadow length quickly.
Latitude and longitude define location. Date and local time define the moment. The timezone offset connects your clock to UTC, and daylight saving matches seasonal clock shifts. Accurate inputs matter because the Sun moves about 15° each hour.
Near the equator, noon altitude can approach 90° near equinox. Around 30° latitude, summer noon is often high, while winter noon is much lower. At higher latitudes, winter noon can be very low, producing long shadows and weaker heating.
Solar declination is the Sun’s north–south tilt in the sky. It varies from about +23.44° near June 21 to roughly -23.44° near December 21, passing close to 0° at the equinoxes. This swing drives most seasonal altitude differences.
Hour angle measures how far the Sun is from local solar noon. The calculator adjusts clock time using longitude and the equation of time. The equation of time can reach about ±16 minutes, so the Sun’s peak altitude may not occur exactly at 12:00 on your clock.
Refraction bends sunlight upward, making the Sun appear slightly higher than its geometric position. Near the horizon, the apparent lift can be near 0.5°. Enable refraction when planning visibility close to sunrise and sunset.
A shadow estimate is shadow ≈ height / tan(altitude). Low altitudes create long shadows and softer light.
High altitudes shorten shadows and increase heating. Compare multiple times to build a daily altitude curve.
Download the latest calculation for reporting or spreadsheets. Exports include altitude, corrected altitude, zenith, azimuth, declination, and equation of time. Re-run for different times to create a series you can study later.
Zenith is measured down from overhead, while altitude is measured up from the horizon. They add to 90° in geometric terms, so altitude = 90° − zenith.
Solar declination shifts between about +23.44° and −23.44° across seasons. That changes the Sun’s daily arc, so the maximum altitude rises in summer and falls in winter.
Azimuth is the compass direction of the Sun, measured clockwise from north. Near 90° is east, 180° is south, and 270° is west, depending on time and hemisphere.
Enable it for visual observations and planning near sunrise or sunset. Disable it if you want a purely geometric position or if atmospheric effects are handled elsewhere in your workflow.
Very important. A one-hour offset error shifts the Sun by about 15° in hour angle, which can noticeably change altitude and azimuth for the same coordinates.
Yes. Select radians to convert angular outputs to rad. The equation of time remains in minutes, so keep units consistent when comparing or post-processing results.
Negative altitude means the Sun is below your horizon. Twilight categories correspond to specific negative angles, so values below 0° help describe darkness levels and sky brightness.
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.