# Sunrise & Sunset Calculator

Calculate sunrise and sunset times for any location

> Canonical page: https://elysiatools.com/en/tools/sunrise-sunset-calculator

- **Category:** Astronomy

- **Keywords:** sunrise, sunset, sun, time, astronomy, daylight

## Overview

The Sunrise & Sunset Calculator provides precise solar timing data for any geographic coordinate on Earth. Simply input your latitude, longitude, and desired date to determine exactly when the sun will rise and set at your specific location.

## Inputs

- **Latitude** (number): Enter latitude (-90 to 90)
- **Longitude** (number): Enter longitude (-180 to 180)
- **Date** (date): Select date (leave empty for today)

## When to use

- Planning outdoor photography sessions during the golden hour.
- Scheduling travel or outdoor events based on available daylight.
- Determining optimal times for astronomical observations or stargazing.

## How it works

- Enter the latitude and longitude coordinates for your target location.
- Select the specific date you wish to calculate, or leave it blank for today's data.
- Click calculate to receive the exact sunrise and sunset times for that location.

## Use cases

- Photographers identifying the best light for landscape shots.
- Event planners coordinating outdoor weddings or gatherings.
- Travelers preparing itineraries for remote destinations.

## Frequently asked questions

### Is the calculation based on my current time zone?

The tool provides solar times based on the coordinates provided, typically normalized to UTC or local solar time.

### Can I calculate times for past dates?

Yes, you can input any historical date to retrieve the sunrise and sunset times for that specific day.

### How accurate are these calculations?

The calculator uses standard astronomical algorithms to provide high-precision solar timing based on your input coordinates.

### Do I need to provide a specific date?

No, if you leave the date field empty, the tool will automatically default to the current date.

### Can I use this for any location in the world?

Yes, the tool accepts any valid latitude between -90 and 90 and longitude between -180 and 180.

## Related tools

- [Constellation Finder](https://elysiatools.com/en/tools/constellation-finder): Find visible constellations and zodiac signs for any date
- [Solstice & Equinox Calculator](https://elysiatools.com/en/tools/solstice-equinox): Calculate solstices, equinoxes, and seasons for any year
- [Blue Hour Calculator](https://elysiatools.com/en/tools/blue-hour): Calculate blue hour times - the magical time before sunrise and after sunset with deep blue skies
- [Daylight Calculator](https://elysiatools.com/en/tools/daylight-calculator): Calculate daylight hours, sunrise, and sunset times for any location and date
- [Golden Hour Calculator](https://elysiatools.com/en/tools/golden-hour): Calculate golden hour times - the best time for photography with soft, warm light
- [Sun Position & Shadow Length Simulator](https://elysiatools.com/en/tools/sun-position-shadow-simulator): Compute the sun’s elevation and azimuth (NOAA algorithm) for any latitude, longitude, date and time, plus the length and direction of the shadow cast by an object of a given height, with sunrise/sunset and a full-day shadow curve
- [Telescope Field of View Calculator](https://elysiatools.com/en/tools/telescope-field-of-view-calculator): Compute telescope optics for visual astronomy: magnification, true field of view, focal ratio, exit pupil, limiting magnitude, Dawes/Rayleigh resolution and useful-magnification range. Enter aperture, telescope focal length, an eyepiece focal length and its AFOV (metric mm or imperial inches), pick a target (deep-sky, planetary, lunar or terrestrial), and get a scaled field-of-view overlay plus target-specific advice on exit pupil and framing.
- [ISS & Satellite Pass Tracker](https://elysiatools.com/en/tools/iss-satellite-pass-tracker): Predict ISS, Hubble, and representative Starlink passes for a chosen observing point and date

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Astronomy Tools](https://elysiatools.com/en/hubs/astronomy-utility): Explore 7 astronomy tools for utility workflows and compare closely related utilities quickly.
- [Astronomy Observation and Daylight Planning Tools](https://elysiatools.com/en/hubs/astronomy-observation-planning): Plan sunrise, sunset, golden hour, moon phases, eclipses, meteor showers, and planet visibility in one astronomy workflow hub.
- [Astronomical Coordinate, Sky Position, and Orbit Tools](https://elysiatools.com/en/hubs/astronomy-coordinate-position-workflows): Convert celestial coordinates, inspect planet and satellite positions, solve simple orbital geometry, and keep astronomical time references in one focused hub.
