How the Vedic chart engine works
Last updated 16 November 2026
Your chart is calculated by an astronomy engine, not written by the AI. The AI only talks about the finished chart. This page explains exactly what is calculated and where the limits are.
Ask the astrologer about your own chart.
The short version
Vedic Astro Lab calculates planetary positions from NASA JPL's DE421 ephemeris using the open-source Skyfield library. It converts them to the sidereal zodiac with the Lahiri ayanamsa, assigns whole-sign houses, finds the nakshatra of each planet, and builds the Vimshottari dasha timeline. The same birth details always give the same chart.
What is calculated
- Sun, Moon, Mercury, Venus, Mars, Jupiter and Saturn: apparent positions from the DE421 ephemeris, with retrograde motion marked for the planets that can be retrograde.
- Rahu and Ketu: from the mean lunar node (not the true node), always shown as retrograde.
- Each position: sign, degree within the sign, nakshatra (one of 27) and pada (quarter).
Harmonic divisional charts (Vargas)
Along with the primary D1 Rashi chart, the engine calculates foundational classical harmonic divisional charts: D2 (Hora for wealth and liquid resources, dividing signs into two 15° halves), D9 (Navamsha for matrimonial harmony and planetary strength, dividing signs into nine 3°20' segments matching nakshatra padas), and D10 (Dashamsha for career milestones and professional authority, dividing signs into ten 3° segments). Higher subtle vargas (such as D16, D20, or D60) are not currently calculated.
Which system it uses
Vedic astrology (Jyotish) uses the sidereal zodiac, which is fixed to the stars. The tropical zodiac used in Western astrology is fixed to the seasons, so a person's Vedic Sun or Moon sign is often different from the Western one. Differences like this are normal, not an error.
Vedic Astro Lab uses the Lahiri ayanamsa (about 23.86 degrees at the year 2000, growing with precession) to convert tropical positions to sidereal ones, and whole-sign houses: the sign that rises is the first house, the next sign is the second house, and so on.
Rising sign and unknown birth time
The rising sign (lagna) needs the birth time and the birthplace. It is calculated from local sidereal time and the latitude of the birthplace. Houses depend on it.
If you do not know your birth time, the engine does not give a rising sign or houses. The chart is drawn for noon, but it also checks every hour of your birth day for every planet. If a planet changes sign or nakshatra during that day (the Moon about every two and a quarter days, the Sun about once a month, Mercury, Venus and Mars more often), Vedic Astro Lab says it is uncertain and shows the possible signs instead of guessing. It also allows for the engine's own accuracy of about 0.006 degrees, so a planet that close to a boundary is treated as uncertain.
Dasha (planetary periods)
The Vimshottari dasha is a 120-year cycle of nine planetary periods. It starts from the nakshatra of your Moon and how far the Moon had moved through it at birth. Each main period (mahadasha) is divided into sub-periods (antardasha). Years are counted as 365.25 days.
With an unknown birth time, the running period is stated only when it is the same for the whole birth day, and the dasha calculator shows the order of the planets but no dates.
Sade Sati is counted by sign: Saturn in the 12th, 1st or 2nd sign from the natal Moon sign, in the sidereal zodiac. Every entry, exit and return across a sign boundary is listed, because Saturn sometimes moves backwards across a boundary. The Manglik check does not give a verdict: it shows the house Mars occupies from the rising sign, the Moon sign and Venus, and which houses each documented convention counts.
If a birth time falls where the clocks changed (a time that happened twice, or never happened), the calculators ask which it was instead of choosing. The rising sign, and anything counted from it, is not shown for birthplaces beyond about 66 degrees north or south, where it cannot be calculated reliably.
Current transits
To talk about the present, the engine also calculates where Jupiter, Saturn, Rahu and Ketu are now, and which house they fall in counted from your Moon sign (and from your rising sign when it is known).
Panchang computational mathematics (The Five Limbs of Time)
Vedic Astro Lab calculates the classical five-fold calendar elements (Panchang) directly from topocentric ephemeris longitudes:
- Tithi (Lunar Day): Calculated as floor((Moon longitude - Sun longitude) / 12°) + 1. The 30 tithis (15 Shukla Paksha, 15 Krishna Paksha) follow the longitudinal separation of the luminaries. We apply the classical Udaya Tithi rule: the tithi prevailing at astronomical sunrise defines the observance for that solar day.
- Nakshatra (Lunar Mansion): Determined by dividing the Moon's sidereal longitude into 27 equal 13°20' segments, further split into four 3°20' padas (quarters).
- Yoga (Luni-Solar Combination): Calculated as floor((Sun longitude + Moon longitude) / 13°20') + 1, producing the 27 traditional yogas (Vishkambha through Vaidhriti).
- Karana (Half-Tithi): A 6° arc segment of Sun-Moon separation. There are 11 karanas (7 repeating movable karanas from Bava to Vishti, and 4 fixed karanas: Shakuni, Chatushpada, Naga, and Kintughna). Vishti karana is classified as Bhadra, during which auspicious works are traditionally deferred.
- Vara & Ahoratra (Solar Day): Counted from local astronomical sunrise to the subsequent sunrise, rather than midnight to midnight.
Topocentric horizon and sunrise physics
Sunrise is defined astronomically as the moment the upper limb of the solar disk appears on the observer's horizon, rather than the geometric center of the Sun. Our engine calculates this by applying standard atmospheric refraction (34 arc-minutes) and solar semi-diameter (16 arc-minutes), producing a 50 arc-minute total depression correction (zenith angle 90°50').
Because sunrise and horizon crossings depend on the observer's exact geographic coordinates (latitude, longitude, and elevation), Panchang and Muhurat timings are strictly topocentric and vary by city. We explicitly disclose city-specific timing offsets for major diaspora centers (e.g., New Delhi UTC+05:30, Mumbai, London, New York, Dubai, Singapore, and Sydney).
Muhurat Shastric rule engine and ethical boundaries
Auspicious timing windows (Shubh Muhurat) are evaluated using codified classical principles from authoritative texts (Muhurta Chintamani and Muhurta Ganapati). The rule engine systematically filters out planetary afflictions:
- Rahu Kaal: One-eighth of the daytime duration, dynamically computed from local sunrise to sunset based on the weekday ruler.
- Yamaganda and Gulikai Kaal: Traditional inauspicious sub-divisions computed topocentrically for each location.
- Bhadra (Vishti Karana): Prohibited periods for major life events (Griha Pravesh, Vivah, Namkaran).
- Eclipse Sutak: Eclipse contamination windows (12 hours prior to solar eclipses, 9 hours prior to lunar eclipses) where classical temples and rituals are paused.
Ethical Boundary: Muhurat calculations identify mathematically and scripturally aligned astronomical moments. They do not promise worldly success, guarantee outcome certainty, or replace practical decision-making.
What the AI does and does not do
The AI never calculates astrology. It receives a structured summary of your calculated chart and what you wrote in the conversation, and it explains and reflects. It is told to use only that information.
It does not receive your date of birth, email or exact birthplace. See the Privacy Policy for what is shared and why.
The automated chat and voice companion is powered by AI. It can make mistakes. Astrology here is a lens for reflection, not a prediction, and it does not give medical, legal or financial advice.
How we check the calculations
We compare the engine against Swiss Ephemeris, a widely used professional ephemeris, on random test births across 1935 to 2030 in cities on five continents. On the latest check, planet positions agreed within 0.006 degrees (about 20 arc-seconds), the rising sign within 0.03 degrees, and the Moon's nakshatra, the rising sign and the retrograde flags matched in every case. The check is repeated whenever the engine changes.
Agreement with another program shows the maths is right. It does not make the interpretation of a chart a fact.
Known limits
- Rahu and Ketu use the mean node, which can differ slightly from the true node some other tools use.
- The Lahiri ayanamsa is computed from a standard formula; other software may differ by a small fraction of a degree.
- The ephemeris covers roughly the years 1900 to 2050.
- Divisional charts are calculated for D1 (Rashi), D2 (Hora), D9 (Navamsha), and D10 (Dashamsha); higher subtle vargas (such as D16, D20, or D60) are not currently enabled.
- Birth times are converted with the time zone of the birthplace and read as universal time, the way most astrology software does; very old or unusual local time rules can cause errors.
- Dasha dates depend on the length of year used (365.25 days here). Software that uses another convention can show dates that differ by days or more.
- City names, coordinates and time zones in the place search come from GeoNames (geonames.org, licensed CC BY 4.0), with Open-Meteo as a backup for places it does not list.
Found something that looks wrong? Write to the address below and include the birth details you used. We will check it.
Want to explore your own birth chart?
Your calculated Vedic birth chart translated into plain-language insights on career, love, and wealth in My Life. 100% free.
Questions? Write to support@vedicastrolab.com.