How to use the sunrise sunset calculator
This sunrise sunset calculator gives you approximate times for when the sun rises and sets at a given location on a given date. Enter the date, latitude (-90 to 90, positive for north), and longitude (-180 to 180, positive for east), then click "Get times." The result shows sunrise and sunset in a simple time format. The calculation uses a simplified astronomical model, so times are approximate; for precise times (e.g. for navigation or legal use), use specialized astronomical tools or APIs. Results are in local solar time for the coordinates you enter.
Sunrise and sunset times depend on your location and the time of year. Latitude affects how long the day is and how early or late the sun rises and sets; longitude affects the clock time of those events. Day length is longest around the summer solstice and shortest around the winter solstice. This tool is useful for planning outdoor activities, photography (e.g. golden hour), travel, or understanding how much daylight you have. You can look up coordinates for a city or use your device's location (e.g. 40.7128, -74.0060 for New York City).
The calculator runs entirely in your browser. There is no sign-up, no download, and no delay. It is designed to be mobile-friendly: the two-column layout stacks on small screens, and the inputs are easy to use. Bookmark this page for quick access whenever you need approximate sunrise and sunset times for any date and place.
This free sunrise sunset calculator provides fast, easy-to-read results on any device. For exact times, consider an astronomical almanac or a service that accounts for atmospheric refraction and precise location.