A panchang needs two numbers for every moment: where the Sun is and where the Moon is. The Sūrya Siddhānta finds them with revolution counts, epicycles and a sine table. A modern ephemeris finds them by numerical integration of the solar system. Both feed the same definitions of tithi and nakshatra, so the rules stay canonical while the calculation changes.
Key takeaways
- A tithi is a 12° gap between Moon and Sun, and a nakshatra is a 13°20′ slice of the zodiac. These definitions do not change with the method.
- The Sūrya Siddhānta builds a true position from a mean position plus manda and śīghra corrections. A modern ephemeris computes the position directly from gravity and observation.
- The text's mean motions are close to modern values for the Sun and Moon (a gap of minutes per year for the Sun) and weaker for Saturn (about 6.5 days per orbit).
- A 1° error in the Moon's longitude moves a tithi boundary by about 2 hours. That is why the choice of method shows up in panchang timings.
What does a panchang need from astronomy?
A panchang has five limbs: tithi, vāra (weekday), nakshatra, yoga and karaṇa. Three of them come straight from two longitudes.
- Tithi is the Moon's longitude minus the Sun's, in steps of 12°. Thirty tithis fill 360°.
- Nakshatra is the Moon's position along the sidereal zodiac, in steps of 13°20′. Twenty-seven nakshatras fill 360°.
- Yoga is the Sun's longitude plus the Moon's, in steps of 13°20′.
Karaṇa is half a tithi, and the weekday follows sunrise. So the quality of a panchang depends on the quality of two longitudes, plus the sunrise for the city. The question in the title is how each method produces those longitudes.
How does the Sūrya Siddhānta find a planet's position?
The text works in two stages: a mean position, then corrections that turn it into a true position.
Stage 1: the mean position from revolutions in a Mahāyuga
The Sūrya Siddhānta gives the number of revolutions each body makes in a Mahāyuga of 4,320,000 years. The Sun makes 4,320,000 and the Moon makes 57,753,336. The starry sphere turns 1,582,237,828 times against the Sun's 4,320,000, so the Mahāyuga holds 1,577,917,828 civil days (Indian Journal of History of Science, vol. 60).
To find a mean place, the text says to multiply the elapsed days by the planet's revolutions, divide by the civil days in the cycle, and read the remainder as signs, degrees and minutes (Sūrya Siddhānta I.51–55). In modern terms, it is one multiplication and one division.
Stage 2: the manda and śīghra corrections
A mean planet moves at a steady rate, and a real planet does not. The text corrects for this with two epicycles. The manda epicycle is small and models the slow change of speed along an orbit. The śīghra epicycle is large and models the planet's apparent motion as seen from Earth. The Sun and Moon need only the manda correction. The five star-planets need both, applied in a fixed four-step order: half the śīghra, half the manda, the whole manda, then the whole śīghra (Narayanan, IJHS 54.4, 2019).
Two features set the method apart from its Greek and Islamic counterparts. The Indian epicycle changes size as it moves, which is why it is called a pulsating epicycle. And the text does not use a modern sine. It uses a table of 24 Rsines for a circle of radius 3438, one every 3°45′, and interpolates between entries. The radius 3438 is the number of arc minutes in a radian, rounded.
How does a modern ephemeris find the same position?
A modern ephemeris starts from the laws of gravity, not from a cycle of revolutions. The Jet Propulsion Laboratory's development ephemerides (the DE series) integrate the motion of the Sun, Moon and planets together, and fit the result to radar, laser-ranging and spacecraft tracking data. The output is a position for any date, with no epicycle and no table lookup.
Mihira calculates on the phone with the Swiss Ephemeris and tests its results against NASA JPL Horizons data (DE441). Horizons is the reference, and the phone does not call it. One more step matters for a panchang. An ephemeris reports positions against the equinox, which drifts. A panchang uses the sidereal zodiac, fixed to the stars, so the software subtracts an ayanamsa. Where the tradition chooses a different ayanamsa, the nakshatra and rāśi boundaries move with it.
How close are the two methods?
The mean motions are the place to compare, because every other correction is applied on top of them. Divide the Mahāyuga's civil days by a body's revolutions to get its orbital period, as the IJHS study does. The table shows the result next to modern values.
| Body | Revolutions per Mahāyuga | Sūrya Siddhānta period (days) | Modern period (days) |
|---|---|---|---|
| Sun (sidereal year) | 4,320,000 | 365.2588 | 365.2564 |
| Moon (sidereal month) | 57,753,336 | 27.3217 | 27.3217 |
| Mars | 2,296,832 | 686.998 | 686.980 |
| Jupiter | 364,220 | 4,332.32 | 4,332.59 |
| Saturn | 146,568 | 10,765.77 | 10,759.22 |
The Sūrya Siddhānta column is my own division of 1,577,917,828 days by each revolution count. The modern column uses the NASA planetary fact sheet for the planets and the standard sidereal year and month for the Sun and Moon.
The Moon matches to four decimals, and the Sun's year is longer than the modern value by about 0.0024 day, or roughly 3.5 minutes. Saturn is the outlier at about 6.5 days per orbit. The same IJHS study also finds that the planetary mean motions are heliocentric: Mars at 687 days is the period around the Sun, a value no one can read directly from Earth, because Earth is moving too. The text is geocentric in its model and heliocentric in its constants.
What does the difference do to a tithi time?
This is the part that reaches a family calendar. Take a tithi boundary, the moment the Moon is exactly 12° times n ahead of the Sun.
So an almanac needs the Moon's longitude to a small fraction of a degree to give a tithi time to within minutes. For the Moon, the manda correction carries most of the work. Its size and the coarseness of the 3°45′ sine table decide how far the computed longitude can stray from the actual sky. A modern ephemeris does not carry that interpolation error. Where a tithi runs across sunrise, that gap can change which day a festival falls on.
Does a modern ephemeris break with the canonical principles?
No, because the canon is mostly about definitions and decisions, not about how to get a longitude. Three things stay the same whichever method you use.
- The unit definitions: 12° for a tithi, 13°20′ for a nakshatra, 30° for a sign.
- The decision rules, such as which tithi counts at sunrise for a vrat, or how Ekadashi parana is timed. These come from śruti, smṛti and the nibandhas, in that order of authority.
- The reference frame: sidereal, with the ayanamsa named.
What changes is the source of the two longitudes. Some traditional almanacs still compute with the text's own constants and corrections. Others use observed or ephemeris-based positions. Both are legitimate traditions, and they can disagree by a few minutes on a boundary and by a day on a festival. When they differ, a good panchang says which one it followed. For how Mihira orders its rule sources, see which source decides a panchang rule.
What does Mihira do?
Mihira is an iPhone panchang for the city where you live. It calculates tithi, nakshatra, sunrise and the day's Good, Avoid and Neutral windows on the phone, with the Swiss Ephemeris, and tests its numbers against JPL Horizons (DE441). Each rule shows the text it comes from. Where traditions differ, it shows the common date first, names the tradition and notes the alternative. Mihira is in free beta, and the App Store submission is in review.
FAQ
Is the Sūrya Siddhānta still used to make panchangs?
Yes, some traditional almanacs still compute from the Sūrya Siddhānta's constants and corrections, while others use modern ephemeris positions. The two can differ by minutes on a tithi boundary, and sometimes by a day on a festival.
Which is more accurate, the Sūrya Siddhānta or a modern ephemeris?
A modern ephemeris matches the observed sky more closely, because it is fitted to current measurements. The Sūrya Siddhānta's mean motions are close for the Sun and Moon, but its true positions rely on epicycles and a coarse sine table, so errors build up over time.
Why do two panchangs give different tithi times?
They differ when they compute longitudes by different methods, use different ayanamsas, or calculate for different cities. A 1° difference in the Moon's longitude shifts a tithi boundary by about 2 hours, by the estimate above.
What is an ayanamsa and why does a panchang need one?
An ayanamsa is the angle between the equinox-based zodiac that an ephemeris reports and the star-fixed sidereal zodiac that a panchang uses. The software subtracts it from each tropical longitude, so a different ayanamsa moves nakshatra and sign boundaries.
To see tithi and nakshatra times for your city, with the rule and source behind each, visit mihira.app.