HinduLab Trust Notes

How HinduLab Calculates Panchang and Muhurat Timings

Every date and time on HinduLab's calendar pages is computed, for the city you choose, from the positions of the Sun and Moon. This page says how: the astronomy, the calendar rules, how a festival or vrat day is chosen, how the results are checked, and what has been corrected.

Last updated

Astronomy and Ayanamsa

  • Positions of the Sun and Moon come from Astronomy Engine, an open-source astronomy library, on the true ecliptic of date.
  • Sidereal longitudes use the Lahiri (Chitrapaksha) ayanamsa: 23°15′00.658″ on 21 March 1956 (the Indian Astronomical Ephemeris definition), carried forward with the IAU 2006 precession, plus nutation. On 6 November 2026 it is 24.2390°.
  • Sunrise and sunset are the moments the Sun's upper edge crosses the horizon, allowing for atmospheric refraction, at sea level: the city's altitude is not used, which can move them by a minute or two. Where the Sun does not rise or set (polar day or night), times are marked as estimates.

Location and Timezone Basis

Panchang and muhurat values depend on where you are. HinduLab uses the selected city's latitude, longitude and time zone (with its daylight-saving rules) for sunrise, sunset, tithi boundaries and every timing window, and shows every time in that city's time zone. “Today” is the city's own date. With no city selected, pages use New Delhi, India.

Panchang Elements

  • Tithi: each 12° of the Moon's lead over the Sun; 30 to a lunar month.
  • Nakshatra: the Moon's sidereal longitude in 27 parts of 13°20′.
  • Yoga: the sum of the Sun's and Moon's sidereal longitudes in 27 parts.
  • Karana: half a tithi.
  • Vara: the weekday, counted from sunrise.
  • Lunar month: new moon to new moon (amanta), named after the sidereal sign the Sun is in at the opening new moon. A month in which the Sun enters no new sign is Adhik. In purnimanta reckoning the dark fortnight takes the next month's name.

Muhurat Windows

Choghadiya, hora, Rahu Kaal, Gulika Kaal, Yamaganda and Abhijit Muhurat are fixed divisions of the day (sunrise to sunset) and the night (sunset to the next sunrise), so they move with each city's sunrise and sunset. A night muhurta is a fifteenth of the night.

How Festival and Vrat Dates Are Decided

A tithi rarely matches a calendar day: it can begin in the afternoon and end the next afternoon. So each observance names the part of the day in which its tithi must be current (its karmakala), and the date is the day whose karmakala the tithi covers in the selected city. The same tithi can therefore fall on different dates in New Delhi and New York.

  • At sunrise (udaya tithi): the daily panchang, Navratri and Ekadashi.
  • At Pradosh Kaal: Pradosham, Dhanteras, Naraka Chaturdashi, Diwali Lakshmi Puja, Holika Dahan.
  • At Nishita (midnight): Masik Shivaratri.
  • At moonrise: Sankashti Chaturthi, Karwa Chauth, Sakat Chauth.
  • Solar observances (the Sankrantis) fall on the date of the Sun's sidereal sign change; Makar Sankranti moves to the next day when the change comes after local sunset.
  • In a year with an Adhik month, a lunar festival is kept once, in the regular (nija) month, except Ganga Dussehra, which is kept in Adhik Jyeshtha.
  • Festivals that do not yet have a named rule in the engine are placed on the date in the middle of their tithi. These are the dates most likely to differ by a day from a printed panchang; confirm them with your tradition.

When a tithi touches its window on two days, the day with the larger share of the window wins, and the remaining ties follow DrikPanchang's published lists, as described under each rule below.

Tithi at Sunrise (Udaya Tithi)

The panchang day runs from one local sunrise to the next, and the day's tithi is the one current at sunrise. An observance kept by udaya tithi falls on the day at whose sunrise its tithi prevails. If the tithi holds at two sunrises, the first is taken; if it holds at none (a kshaya tithi, which starts after one sunrise and ends before the next), the day it begins.

Ekadashi

The general (Smarta) date is the day Ekadashi prevails at local sunrise; when it holds at two sunrises, the later day. A separate Vaishnava date is given when Dashami, or an Ekadashi that begins after sunrise, affects the pre-dawn window; it is then one day later. Parana (breaking the fast) is on Dwadashi after sunrise, after Hari Vasara (the first quarter of Dwadashi) has ended, and within the first third of the day.

Pradosh Kaal Rule

Pradosh Kaal is the first fifth of the night: from local sunset for one fifth of the time until the next sunrise (three of the night's fifteen muhurtas). For New Delhi on 8 November 2026 that is 5:31 to 8:09 PM, the same window DrikPanchang gives.

  • Pradosham: the day Trayodashi is current during Pradosh Kaal. If it touches two evenings, the evening it covers more of; if it covers both completely, the later; if neither, the day it holds at sunrise.
  • Diwali Lakshmi Puja, Dhanteras, Naraka Chaturdashi: the evening the tithi covers Pradosh Kaal; when it covers two, the later evening if the tithi lasts at least one ghati (24 minutes) into its Pradosh, otherwise the earlier.
  • Holika Dahan: the evening Phalguna Purnima covers Pradosh Kaal, moving to the next evening only when Bhadra (the first half of Purnima) runs past Nishita and Purnima still covers at least 3.5 of the next day's four prahars. Holi is the following day.

Nishita Kaal Rule

Nishita is the eighth of the night's fifteen muhurtas, from 7/15 to 8/15 of the way from sunset to the next sunrise: about local midnight. The daily Nishita Muhurta uses the same window.

Masik Shivaratri falls on the night Krishna Chaturdashi is current at Nishita. If it touches Nishita on two nights, the night it covers more of; if both completely, the earlier; if neither, the day it holds at sunrise.

Moonrise Rule

The moonrise of a panchang day is the first moonrise after local sunrise and before the next sunrise. A day with no moonrise in that span has none; it does not borrow the next day's.

Sankashti Chaturthi, Karwa Chauth and Sakat Chauth fall on the day Krishna Chaturthi is current at moonrise. If it is current at moonrise on two days, the earlier; if on neither, the day it holds at sunrise. The fast is traditionally broken after sighting the moon.

How the Results Are Checked

The calculation service has automated tests against values transcribed from DrikPanchang: sunrise, sunset, tithi, nakshatra and yoga for a sample day in New Delhi; Abhijit Muhurta, Brahma Muhurta and Rahu Kaal for New Delhi and New York (Rahu Kaal also for London); festival dates for New Delhi and New York; the Pradosham, Masik Shivaratri and Sankashti lists for New Delhi, New York and Sydney in 2026 and 2027 (149, 75 and 75 dates, all matching), then checked unchanged against London and Los Angeles 2026 (49, 24 and 26 dates, all matching). Ekadashi dates for New Delhi, 2026 and 2027, are frozen in a regression test, after the 2026 dates were compared with DrikPanchang's list; that comparison is not stored in the tests. Any change that moves one of the values above fails.

Known differences remain. Makar Sankranti 2027 is computed at 9:17 PM in New Delhi against DrikPanchang's 9:14 PM. Moon-driven end times can differ by a few minutes from almanacs that use another ephemeris, and regional calendars can keep the same observance on another day.

Vrats, Festivals and Tradition

Vrat and festival pages pair these computed dates with editorial guidance on how the day is kept. Because family, regional and sampradaya practice differs, they describe common household practice, note Smarta and Vaishnava differences where they matter, and link back to the city-aware tools for exact local times. Follow your own tradition or temple where it differs.

The source library lists the texts and references the guides draw on, and how health cautions are handled.

Corrections Log

Fixes that changed a date or time the site shows, newest first. To report an error, email info@hindulab.com with the page, the city and what you expected.

  • : The Lahiri ayanamsa is now computed exactly rather than by a linear approximation, which had made the Sun’s sign changes (Sankrantis) about 7 to 10 minutes early.
  • : Lunar months, and Adhik months, are now computed from new moons and the Sun’s sidereal sign. The library used before gave wrong Adhik months (it called June 2026’s regular Jyeshtha “Adhik Ashadha” for New York) and has been removed.
  • : Pradosham, Masik Shivaratri and Sankashti are dated by their observance time (Pradosh Kaal, Nishita, moonrise) instead of the tithi at sunrise. Before, Pradosham matched DrikPanchang on 11 of 25 New Delhi dates in 2026 and Masik Shivaratri on 3 of 12.
  • : Holika Dahan is dated on the evening Phalguna Purnima covers Pradosh Kaal, and Holi the day after; New Delhi 2026 had shown both a day early.
  • : Karwa Chauth and Sakat Chauth are dated by Chaturthi at moonrise; Karwa Chauth had been a day late for New Delhi in 2027.
  • : Makar Sankranti moves to the next day when the Sun enters Makara after local sunset (New Delhi 2027: 15 January, not 14).
  • : In a year with an Adhik month, each lunar festival now appears once: in the regular month, except Ganga Dussehra, which is kept in Adhik Jyeshtha. In 2026 Ganga Dussehra, Narada Jayanti and Vat Savitri had each appeared twice.
  • : The monthly calendar labels each day with the tithi and nakshatra current at the city’s sunrise; west of UTC it had shown a tithi that had already ended.

Explore more