Sunrise and Sunset Calculator
Free sunrise and sunset calculator — get sunrise, sunset and twilight times for any date and location using a standard solar algorithm. No signup.
What you enter in this tool and its results may be saved and used to improve AI Walay tools. Please don't enter passwords or private personal details.
About the Sunrise and Sunset Calculator
This free sunrise and sunset calculator computes the times of sunrise, sunset and the twilight phases for any date and location. Enter a latitude and longitude, or use your browser's location, and it applies a standard solar-position algorithm to give you accurate times.
It is useful for photographers planning the golden hour, travellers, gardeners, and anyone scheduling around daylight.
How to Use the Sunrise and Sunset Calculator
- 1Enter a date, or keep today's date.
- 2Provide your latitude and longitude, or use your location.
- 3Calculate the sunrise, sunset and twilight schedule.
- 4Copy the times or adjust the date and location.
Frequently Asked Questions
How accurate are the times?
The tool uses a well-established solar-position algorithm that is accurate to about a minute for most locations. Local terrain, altitude and atmospheric refraction can cause small differences.
What is civil, nautical and astronomical twilight?
They mark how far the sun is below the horizon: civil twilight (up to 6°) still has usable light, nautical (up to 12°) is darker, and astronomical (up to 18°) is nearly full night.
Can it use my current location?
Yes. With your permission it can read your device's location to fill in the coordinates automatically, or you can type any latitude and longitude manually.
Cite this tool
Using this tool in a paper, report or project? Copy a ready-made citation.
AI Walay. (2026). Sunrise and Sunset Calculator [Online tool]. AIWalay Tools. https://aiwalay.pk/tools/date-time/sunrise-and-sunset-calculator/