Sunrise & Sunset Calculator — Any Date, Any Place

NOAA solar math for any place and date — sunrise to golden hour.

Quick answer: Calculate sunrise, solar noon, sunset, day length and golden hour for any coordinates and date with NOAA math — fully offline, in your browser.

How to use

  1. Enter latitude and longitude, or press Use my location.
  2. Pick the date (defaults to today).
  3. Press Calculate for sunrise, solar noon, sunset and day length.
  4. Note the golden-hour windows for photo planning.

General information only — not medical, financial or legal advice. Figures cross-checked against public official sources (IRS / HMRC / NHS / WHO guidance); content last reviewed September 2026. For decisions that matter, confirm with a licensed professional in your country.

About this tool

Behind this page sit the same NOAA solar equations photographers and sailors trust: Julian day, solar declination, the equation of time and the sunrise hour angle corrected for atmospheric refraction. Give it a latitude, longitude and date — type them, or press the geolocate button and approve the permission prompt — and it returns sunrise, solar noon, sunset, total day length and the golden-hour windows when light turns honey-colored and photos turn magical. Because every calculation runs locally in JavaScript, the tool works offline once loaded and never sends your location anywhere; the browser's geolocation API only fills the input fields, with a plain-English message if permission is declined. Polar edge cases are handled honestly: where the sun refuses to rise or set, the page says exactly that.

FAQ

How accurate are the times?
Within about a minute for most locations — the page uses the standard NOAA algorithm including atmospheric refraction. Local terrain and horizon can shift what you actually see.
Does it handle time zones?
Yes — results render in your device's local time zone, including daylight-saving offsets, via the browser's own clock.
What is golden hour?
The window when the sun sits below about 6° altitude, morning and evening, when light is soft and warm — the photographer's favorite minutes of the day.
Why coordinates instead of a city name?
Geocoding needs an internet service; keeping the math coordinate-only means the tool works fully offline and your location never leaves the page.
What about polar regions?
When the sun never rises or never sets on your date, the tool says so plainly instead of printing impossible times.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.