# How can I calculate the position or path of the Sun for a given time and location?

*I'm trying to figure out how to calculate the location of the sun in the sky (angle above horizon) for a certain date & time of day. For the city & state I live in I know the time of sun rise on a given date. Is there someplace I can get the calculation to figure this out myself or a web site that can do this for me?*

The U.S. Naval Observatory has an online tool to tabulate the position of the Sun (or Moon) during one day. The angle above the horizon is the altitude, and the angle around the horizon, measured clockwise from due north, is called the azimuth.

If you are a glutton for punishment, you can calculate it yourself.

*Update by Lynn (March 11, 2003):* One reader e-mailed us and suggested the Approximate Astronomical Positions site, which will calculate positions of the Sun, Moon, and planets. It also gives equations for many calculations and has links to sites explaining many of the calculations. This is another good place to look if you want to calculate things yourself.

# Still Curious?

**Get More 'Curious?' with Our New PODCAST:**

- Podcast? Subscribe? Tell me about the Ask an Astronomer Podcast
- Subscribe to our Podcast | Listen to our current Episode
- Cool! But I can't now. Send me a quick reminder now for later.

**Related questions:**

- How is the time of sunrise calculated?
- How does the position of Moonrise and Moonset change?
- Which way does the sun travel in the southern hemisphere?

**More questions about Timekeeping:** Previous | Next

**More questions about The Sun:** Previous | Next

# How to ask a question:

If you have a follow-up question concerning the above subject, submit it here. If you have a question about another area of astronomy, find the topic you're interested in from the archive on our site menu, or go here for help.

Main Page | About Us | For Teachers | Astronomy Links | Ask a Question | View a Random Question | Our Podcast

Table 'curious.Referrers' doesn't existTable 'curious.Referrers' doesn't existURL: http://curious.astro.cornell.edu/question.php?number=147

This page has been accessed *58215* times since August 9, 2002.

Last modified: *February 3, 2006 11:57:14 AM*

Ask an Astronomer is hosted by the Astronomy Department at Cornell University and is produced with PHP and MySQL.

**Warning: Your browser is misbehaving! This page
might look ugly.** (Details)