SunSchedule

Sun Altitude and Azimuth Calculator

Estimate the Sun’s angle above the horizon (altitude) and compass direction (azimuth) for entered coordinates and a specified date and time with a UTC offset.

YOUR DETAILS

Set your values

Results update as you type. Calculations stay in your browser.

AT A GLANCE

Your results

—
—

Enter latitude and longitude in decimal degrees. Supported latitude values range from -90 to 90 degrees, and longitude values range from -180 to 180 degrees. Use positive latitude for north and negative for south; positive longitude for east and negative for west.

Enter a date and time including seconds and an explicit UTC offset, such as 2026-06-21T12:00:00+00:00. The UTC offset belongs to the clock time you enter. For example, 2026-06-21T13:00:00+01:00 and 2026-06-21T12:00:00+00:00 represent the same instant.

When entering local clock time, use the offset applicable at your location on that date, including daylight saving time where relevant. The calculator does not infer your location or time zone.

Altitude measures the Sun’s angle above the horizon: positive values are above it, zero is on it, and negative values are below it. A negative altitude is a valid result, not a calculation failure.

Azimuth measures compass direction clockwise from north, from 0° up to but excluding 360°: 0° is north, 90° is east, 180° is south and 270° is west.

As an illustrative example, an altitude of 30° and an azimuth of 90° means the Sun is 30° above the horizon toward the east. These example angles are not calculated results for the coordinates or time you entered.

For daily event times, visit Sunrise and sunset times. For shadow measurements, use the Sun shadow length and direction calculator.

Results use the registered solar-position calculation for the coordinates and instant you enter. Treat them as estimates: the supplied calculation contract provides no numerical accuracy guarantee or stated atmospheric-refraction correction. Two decimal places describe display rounding, not guaranteed accuracy. No terrain, building, weather or observer-height information is supplied, so these angles do not establish whether the Sun is visible from your actual viewpoint. Missing or invalid inputs must be corrected before interpreting a result; an unavailable result must not be treated as zero.