Home Discussion Forum How can i get formulas to calculate the Astrology chart, planet positions...

How can i get formulas to calculate the Astrology chart, planet positions in Natal Chart houses?

I know astrology and and i am a programmer too, want to create something but dont want to get into the astronomical formulas for my website, how can i get those formulas to create the chart (Kundli) or is there any website who provides the source code for calculating all the positions of planets in zodiac.


  1. I am not an astrologer or subscribe to the ‘belief’, however, you might like to download the freeware called ‘Skyglobe’ . It is very small but provides tonnes of info and you can see what the skies and planets will be doing for anytime in the future or past.
    I downloaded the ‘dos’ application, but seeing that you are a programmer, you might want to download the Windows version.
    It is great. There is also Stellarium but it is large and bogs down my system for some reason.

  2. I’m amazed that someone smart enough to be a programmer would also be stupid enough to waste their time on astrology! It’s just a silly pastime like teacup reading!

    • The ignorance of the ignorant judge what it is not known. The ignorance of the wise try to understand what could be learnt

  3. Hi,
    I have plans to write an open-source astrology library in Haskell (because frankly, the leading software sucks, are opaque, and does not do what I want it to do). I had come up to the same question. Here’s what I found so far:
    – Jet Propulsion Lab Horizon. It tracks and predicts many celestial bodies and accounts for perturbations, etc. However, you can only access it by HTTP requests or through Telnet.
    – libnova. This is a C library that is open-source. It uses VSOP87 which is the leading theory for calculating planetary motion.
    – pyephem – Python library. I would probably use this one if I weren’t planning on writing this in Haskell.
    You might want to check out this page for some of the differences:
    Looking at this, it is a relief not to have to write this stuff. These models can get very complicated, and the various astrology systems are themselves involved as well.
    Let me know if you want to chat sometime.


Please enter your comment!
Please enter your name here