Calculation methodology
SUTRA calculates Vedic (sidereal) chart placements with the Swiss Ephemeris through the sweph-wasm package. It uses Lahiri ayanamsa and whole-sign houses, while local-time handling depends on whether a tool asks for an IANA timezone or a UTC offset.
Planetary positions
The calculation engine initializes Swiss Ephemeris through sweph-wasm, sets sidereal mode with SE_SIDM_LAHIRI, and calls swe_calc_ut for planetary positions at Universal Time. The sidereal flag applies the Lahiri ayanamsa used by the chart and nakshatra calculations.
Ascendant and whole-sign houses
The engine calculates the ascendant from the birth time and coordinates, requests the Swiss Ephemeris house system W, and converts the ascendant to Lahiri sidereal longitude. The ascendant's sign becomes the first house; each following complete sign becomes the next house.
Festival sunrise and sunset
Festival muhurat calculations call the Swiss Ephemeris rise/set routine with SE_CALC_RISE and SE_CALC_SET. The current implementation uses the apparent upper limb of the Sun, standard refraction, sea-level coordinates, a temperature input of 15°C, and the city coordinates stored for each published festival page.
Those solar events form the local night used by the Diwali and Dhanteras windows. Festival traditions and local panchangs can use different conventions, so the published pages ask readers to check local observance.
Timezones and UTC conversion
The nakshatra finder accepts an IANA timezone and uses Luxon to convert the entered local birth time to UTC with the rules for that date. Festival pages also use Luxon and each city's IANA timezone to establish the local day and display local times.
The compatibility calculator takes a birthplace for each person, looks up the IANA timezone from its coordinates, and uses Luxon to convert the local birth time to UTC with that date's rules. Other chart calculations use a numeric UTC offset supplied or resolved for the relevant birth time. Because these inputs represent different interfaces, users should enter the timezone or offset that applied at the event date, including daylight-saving rules where relevant.
Compatibility (Ashtakoota) tables and sources
The compatibility calculator scores the eight Ashtakoota (Guna Milan) kootas out of 36 from each person's Lahiri sidereal Moon sign and nakshatra. Tables are directional: Person 1 is read as the groom and Person 2 as the bride. The source of each table:
- Varna (1), Tara (3), Graha Maitri (5), Bhakoot (7) and Nadi (8): Daivajna Rama's Muhurta Chintamani, vivaha prakarana (v. 21–34), as transcribed with page references at thetelugucalendar.com/marriage-matching/method; Nemichandra Shastri's Bharatiya Jyotish gives the same tables.
- Gana (6): Muhurta Chintamani v. 29–30, bride's gana as the row and groom's gana as the column. Deva bride: Deva groom 6, Manushya groom 5, Rakshasa groom 1. Manushya bride: 6, 6, 0. Rakshasa bride: 0, 0, 6. So a Rakshasa groom with a Deva bride scores 1, and a Deva groom with a Rakshasa bride scores 0. Some calculators use this chart transposed.
- Vashya (2): the common five-group chart (Chatushpada, Manava, Jalachara, Vanachara, Keeta) with Dhanu and Makara split by half-sign, as published at sahitavivahamatching.com and theastrova.com. Muhurta Chintamani and Bharatiya Jyotish use different Vashya classes.
- Yoni (4): the 14×14 animal chart implemented in the Maitreya astrology software (saravali.github.io/astrology/koota_yoni.html), bride as the row and groom as the column, including its two asymmetric cells. The seven great-enemy pairs score 0.
- Manglik (Mangal Dosha): Mars in the 1st, 2nd, 4th, 7th, 8th or 12th house, counted whole-sign from the Lagna (the primary result) and separately from the Moon. The verse quoted in the Piyushadhara commentary on Muhurta Chintamani (lagne vyaye cha patale jamitre chashtame kuje) lists 1, 4, 7, 8 and 12; the version B. V. Raman quotes in Muhurtha (1948) lists the 2nd instead of the 1st. SUTRA uses the widely used six-house list that combines both. Cancellation (parihara) rules are not applied, and the Manglik check does not change the 36-point total.
Why other sites can show a different total: kundli matching sites use different versions of the Yoni table and of other tables such as Vashya and Gana (some swap bride and groom), so the same two birth charts can score 1–2 points apart. Different birth times or places can also move the Moon into another nakshatra. Dosha exceptions (parihara) are not added to the total.
Scope and disclaimer
The calculation code produces positions and time windows; AI does not perform those calculations and is used only to write interpretations. Nakshatras, houses, muhurats, compatibility themes, and written readings belong to astrological and festival traditions; their interpretations are offered for entertainment and personal reflection, not as a guarantee of outcomes or professional advice.
See your Vedic chart and Dasha timing
SUTRA Pro includes your Vedic chart, daily transits, the full Vimshottari Dasha timeline, and the Pro Dasha reading.
See plansSutra Founder Lifetime is $49 once for the first 50 people, then $69.
Related pages
Try the nakshatra and pada calculator, read the Vedic vs Western astrology guide, or review the local timing notes on the Diwali 2026 hub.
Frequently asked questions
Which zodiac and ayanamsa does SUTRA use?
SUTRA calculates sidereal positions and sets the Swiss Ephemeris sidereal mode to Lahiri ayanamsa (SE_SIDM_LAHIRI).
How are houses calculated?
The chart engine requests the Swiss Ephemeris whole-sign house system with the code W, then assigns each complete zodiac sign as one house from the ascendant sign.
How does SUTRA handle local time?
Tools that request an IANA timezone use Luxon to convert local time to UTC and apply the zone rules for that date. Other calculation forms use the UTC offset supplied or resolved for the birth time.
Why can SUTRA's compatibility score differ from other kundli matching sites?
SUTRA scores the eight Ashtakoota kootas out of 36 using Muhurta Chintamani tables for Varna, Tara, Graha Maitri, Gana, Bhakoot and Nadi, a common half-sign Vashya chart and the Maitreya 14×14 Yoni chart. Sites use different versions of the Yoni, Vashya and Gana tables (some transpose bride and groom), so the same pair can differ by 1–2 points.