Sunrise & Sunset Calculator (by Latitude and Longitude)
Estimate sunrise, sunset, solar noon and daylight length for any point on Earth from its latitude, longitude and date. Includes coordinate presets for major cities.
Input
Enter a latitude, longitude and date to estimate that location's sunrise, sunset, solar noon and length of daylight. Use positive values for north latitude and east longitude, and negative values for south latitude and west longitude.
Selecting a city auto-fills the latitude and longitude (optional)
Result
Daylight hours (estimate)
14h 34m
Sunrise
04:27
Solar noon (sun at midday)
11:44
Sunset
19:01
Calculation details
| Daylight hours | 14h 34m |
| Solar altitude at noon | 77.7° |
| Solar declination | 23.4° |
An estimate using a standard atmospheric refraction value (0.833° below the horizon). It does not account for elevation, terrain or weather conditions.
How it works
- Enter a latitude, longitude, date and standard time (time zone) to calculate that location's sunrise, sunset and solar noon times, along with the length of daylight between them. Use positive values for north latitude and east longitude, and negative values for south latitude and west longitude.
- The calculation uses an astronomical approximation based on solar declination and hour angle: it derives the declination and equation of time from the day of the year, then computes the sunrise hour angle for the given latitude. Atmospheric refraction at the horizon is treated with a standard value, taking the moment the sun's center reaches 0.833° below the horizon as sunrise and sunset.
- Solar noon (the moment the sun is due south and at its highest) is derived from the difference between the location's longitude and the reference meridian of its standard time, together with the equation of time. The solar altitude at noon and the solar declination are also shown as reference values.
- At high latitudes there can be a 'midnight sun' in summer, when the sun never sets all day, and a 'polar night' in winter, when the sun never rises. In those cases no sunrise or sunset is shown and the condition is indicated instead.
- Elevation, surrounding terrain and same-day weather (refraction changes due to temperature or pressure) are not taken into account, so the result is only an estimate. Errors of a few minutes can occur.
- Use it as a guide for farm work, photography, astronomy or planning sunlight exposure for a home. If you need official sunrise and sunset times for navigation, aviation or other official purposes, refer to published values from authorities such as a national observatory.
Related calculators
Incandescent to LED Savings
EnvironmentQuickly estimate how much you can save on yearly electricity and CO2 by replacing incandescent bulbs with LED or fluorescent lamps, based on wattage, hours of use, and the number of bulbs.
Open calculator →Car-to-Bicycle Commute Savings
EnvironmentEstimate how much fuel money and CO2 you can save each year, and how many calories you'll burn, by replacing your car commute with a bicycle.
Open calculator →Appliance Replacement Savings
EnvironmentEstimate the annual electricity savings, CO2 reduction, and payback period when you replace an old appliance with an energy-efficient model, straight from the power consumption.
Open calculator →Air Conditioner (Cooling) Electricity Cost & CO2
EnvironmentEstimate the electricity cost and CO2 emissions of running an AC in cooling mode from its power draw (W), hours, and days. You can also pick by room size.
Open calculator →