DataToolsLab
Date & Time Tools

Sunrise / Sunset Calculator

Estimate sunrise and sunset times for any location and date.

Loading tool…

What is Sunrise?

A sunrise/sunset estimator based on the standard NOAA solar calculations — no API calls, all math runs locally.

How it works

The tool computes the sun's declination and the hour angle at the horizon using the date and coordinates, then converts to local time via the location's UTC offset.

  1. Enter your input. Type or paste your input into the field above — the tool responds instantly.
  2. Review the result. Output updates live as you type. Everything runs entirely in your browser.
  3. Copy or download. Use the Copy button to grab the result, or Download to save it as a file.

Examples

Golden-hour planning

Enter a city and date to get sunrise, sunset, and daylight duration — the basis for scheduling outdoor shoots or travel itineraries.

Common mistakes

Confusing location with timezone

Sun times depend on latitude and longitude, not just the timezone label — two cities an hour apart in the same zone have different sun times.

Frequently asked questions

How are the times computed?

From solar-position algorithms using the location's coordinates, date, and timezone — no external weather service involved.

Does it account for elevation?

Times assume sea-level horizon. In mountainous terrain actual visible times can differ by minutes.

Can I compare two locations?

Check both separately, or use the Timezone Converter to compare the resulting clock times across zones.

Online