A browser-based tool for calculating the rising and setting times of stars
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
builders.js
calc.js
constants.js
index.html
main.css
main.js
screenshot.png
view.js

README.md

star-rise-and-set-times

Here is a browser-based tool for calculating the rising and setting times of stars. You can try it online here.

star rise and set calculator screenshot

The code is based on formulae from various sources with much credit to Barry Carter for his help and patience.

This tool does not take into account atmospheric refraction, which can affect rising/setting times by several minutes - if you need that kind of accuracy then see this page from the US Naval Observatory. The results have been checked against various other online tools, written by people far more competent than me, and they broadly agree, although each tool gives slightly different answers. It is probably safe to assume accuracy to within ±10 minutes.