# Equation for calculating the Sun's position

SunPosition Calculator calculates the Sun's postion based on the location and time. What is the equation used for such a calculation?

-
I gave an outline of that calculation in [the unusual sundial question]physics.stackexchange.com/q/24901) – Andrew Jul 10 '11 at 23:33