Take the 2-minute tour ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

Is there an accurate algorithm / method to determine the precise time of day/night when the sun is X degrees above (or below) the horizon for a given latitude Y at date Z?

Is this the same question here? Reverse Sun position algorithm? I'm having a hard to plugging in specifics.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

First, you need to know the Right Ascension and Declination of the Sun on that day. Then there are some angular relations connecting all of these. Everything is available in the RASC Observer's Handbook. Another way would be to interpolate the table produced by this program provided by the US Naval Observatory: http://aa.usno.navy.mil/data/docs/AltAz.php Hope this helps!

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.