Tested tool guide
Tested browser tools
Checked August 16, 2026
What Sunrise & Sunset Calculator does, with a checked example
Every sunrise and sunset time is a geometry problem with a fixed answer: for the date and coordinates you enter, the tool places the Sun in the sky and reports when its center crosses 0.833 degrees below the horizon - the standard definition that folds in the solar disk's radius and atmospheric refraction. The calculation is pure solar-position math and runs entirely in the browser, so it works offline and your location never leaves the page. The surprise: on the equinox, daylight is not 12 hours and solar noon is not 12:00. Timezone offsets, the equation of time, and the horizon correction shift both.
Worked example
A concrete input and expected output from the current implementation.
Input
Location: New York, NY (40.71 N, 74.01 W). Date: March 20, 2026
->
Expected output
Sunrise 6:59 AM, sunset 7:07 PM (EDT). Daylight: 12 h 7 m. Golden hour: from sunrise to about 7:36 AM, and from about 6:31 PM to sunset.
The Sun's declination on this equinox date is about -0.19 degrees, so its center crosses the standard -0.833-degree horizon at 10:59:56 UTC (6:59:56 AM EDT), with sunset 12 h 7 m later at 23:07:24 UTC; the disk-plus-refraction offset adds about 9 minutes over the geometric 12-hour day, and the 6-degree altitude mark comes 36 minutes after sunrise and 36 minutes before sunset. Some tools start golden hour earlier, when the Sun is 4 degrees below the horizon, which moves the morning start to about 6:43 AM.