Panchang Calculator

Tithi—
Nakshatra—
Yoga—
Karana—

How Panchang Calculator is calculated: Tithi from moon age (synodic month 29.53 days); nakshatra from moon longitude, Lahiri ayanamsa

What is a panchang calculator?

The panchang calculator gives the Hindu calendar details for any date: the tithi, the nakshatra, the yoga, and the karana. A panchang is the traditional five-part daily calendar used across India to choose good times for weddings, housewarmings, travel, and festivals. This calculator works it out from the date alone, using a simplified lunar calculation with the Lahiri ayanamsa, the standard most Indian panchangs use.

This tool is for families planning a ceremony, for priests and astrologers who need a quick reference, and for anyone curious about what tithi or nakshatra a birthday or anniversary falls on. It is also used by people checking the panchang each morning before starting something new. A sunrise sunset calculator is the natural companion, since the panchang day traditionally begins at sunrise.

The calculator takes a single date and turns them into the tithi, nakshatra, yoga, and karana for that date. The main result is shown first, with the supporting figures underneath, so you can see both the headline number and the working behind it.

Everything runs in your browser. Nothing you type is uploaded to a server, stored, or shared with anyone. You can use the calculator as many times as you like without signing up, and closing the page leaves nothing behind, because nothing was ever saved in the first place.

How a panchang calculator works

The calculation starts with the moon's age: the number of days since the last new moon, using a synodic month of 29.53 days. The tithi is the moon's age divided into 30 parts — each tithi is 12 degrees of separation between the sun and the moon. The moon's longitude is estimated from the sun's longitude plus the moon's daily motion of about 12.19 degrees, and dividing that longitude into 27 equal parts gives the nakshatra.

First, count the days from a known new moon (6 January 2000) to your date and take the remainder after dividing by 29.53 days — that is the moon's age. Divide the moon's age by the length of one tithi to get the tithi number, 1 to 30. Work out the sun's longitude from the day of the year, add the moon's movement, and divide the result into 27 parts for the nakshatra and the yoga.

There is no hidden magic behind the boxes. The same formula is applied to whatever numbers you type, and the same inputs always give the same output. If you change one input, only the parts of the answer that depend on it will move, which makes it easy to test a what-if.

The results update the moment you change a number. There is no submit button to hunt for and no page to reload. That instant feedback is what makes a calculator useful: you can try three or four scenarios in a minute and see which one works best for you.

The date explained

The date is the only input, and it matters more than it looks, because a tithi does not line up with the midnight-to-midnight day. A tithi lasts roughly 19 to 26 hours and can start in the afternoon, so a festival listed for one date may actually begin the previous evening. This calculator gives the tithi in force at the start of the date you enter.

If you are checking a festival or a muhurta, enter the date of the event itself, not the day before. And remember that this is a simplified calculation: the exact moment a tithi changes can differ by a few hours from a published panchang, so for a wedding or a housewarming, confirm the time with a detailed panchang.

The page defaults to 23 November 2026, a Monday. The calculator shows the tithi, nakshatra, yoga, and karana for that date as computed by the simplified method, labelled as an approximation.

The most common error with any calculator is a typing slip. A missing zero or an extra digit changes everything, so glance at your inputs before trusting the output. If a result looks surprising, re-enter the numbers one at a time and watch how each one moves the answer.

A worked example

Let us work through a real example with the page defaults, so you can check the maths yourself. With Date 2026-11-23,

The calculator counts the days from the new moon of 6 January 2000 to 23 November 2026, divides by the 29.53-day lunar month, and takes the remainder as the moon's age. That age gives the tithi, and the sun and moon longitudes derived from it give the nakshatra, yoga, and karana. The exact values for the default date are shown in the results above.

The calculator gives Tithi: Shukla Chaturdashi; Nakshatra: Rohini; Yoga: Sadhya; Karana: Garaja. Because the method is simplified, treat the result as a good everyday guide. If the tithi shown is close to a boundary — for example, a Purnima or Amavasya — check a published panchang for the exact changeover time.

Now try a second set of numbers and compare. With Date 2026-01-01, The result is Tithi: Shukla Trayodashi; Nakshatra: Ardra; Yoga: Vaidhriti; Karana: Kaulava. Changing the inputs this way is the fastest way to build a feel for how the tool behaves.

Why it matters

Families use the panchang to pick dates for weddings, engagements, housewarmings, and naming ceremonies, and to check whether a day is suitable for starting a business or a journey. Many people also check the tithi before observing a fast, since fasts like Ekadashi are tied to specific tithis.

Astrologers use the nakshatra and yoga for birth charts and muhurta selection. The nakshatra a person is born under is one of the first things checked in a horoscope. A date difference calculator helps alongside it, for example when counting the days between two festivals or between a birth date and today.

Festival dates are the other big use. Diwali, Holi, Raksha Bandhan, and Janmashtami all follow the lunar calendar, so their Gregorian dates move every year. Checking the tithi for a date explains why a festival falls when it does, and helps plan travel and leave around it. An add days calculator helps count forward to a festival from today.

Remember that this calculator gives an estimate based on the numbers you enter. Real-world figures depend on the exact rules, rates, and conditions that apply to you, so treat the result as a starting point for a decision, not the decision itself. When money or an exam is on the line, check the official source before you act.

panchang calculator vs sunrise sunset calculator

The panchang calculator and the sunrise sunset calculator both describe a day, but from different angles. The panchang gives the lunar calendar — tithi, nakshatra, yoga, karana — which governs festivals and muhurtas. The sunrise sunset calculator gives the solar times, which govern the start of the panchang day itself.

In practice the two are used together. A muhurta is usually quoted as a time window on a given tithi, and the sunrise time tells you when that day begins. If the sunrise is at 6:30 am and the good time is two hours after sunrise, you need both tools to get the clock time.

Neither tool is better in general; they answer different questions. Use this calculator when you want the tithi, nakshatra, yoga, or karana for a date, and use the other when you want the sunrise and sunset times for a place and date. Many people run both and compare the answers before deciding.

This calculator is free to use, with no account and no limit on how often you run it. That matters when you are comparing options, because a real comparison takes several runs: the same figures with a different rate, a different tenure, or a different starting point.

Common mistakes

The first mistake is treating the panchang as exact to the minute. This simplified calculation can be off by a few hours at tithi boundaries. For an important ceremony, always confirm with a detailed published panchang.

The second mistake is reading the tithi for the wrong day. Because a tithi can start in the afternoon, the tithi at midnight may not be the tithi at noon. Check which part of the day your event falls in.

The third mistake is mixing up the paksha. Shukla Paksha is the bright half leading to Purnima, and Krishna Paksha is the dark half leading to Amavasya. The same tithi name, like Ekadashi, appears in both halves and means a different day.

The most common error with any calculator is a typing slip. A missing zero or an extra digit changes everything, so glance at your inputs before trusting the output. If a result looks surprising, re-enter the numbers one at a time and watch how each one moves the answer.

How to use this panchang calculator

Pick a date from the calendar. The tithi, nakshatra, yoga, and karana appear instantly. Try the days around a festival to see how the tithi changes, and use the links above to check sunrise times or count the days to the event. A time ago calculator shows how long it has been since a past date on the same calendar.

The results appear as soon as the numbers are in. If you want to compare two options, note the first result down, change the inputs, and compare. There is no history saved, so a pen and paper, or a screenshot, is the way to keep a comparison.

Everything runs in your browser. Nothing you type is uploaded to a server, stored, or shared with anyone. You can use the calculator as many times as you like without signing up, and closing the page leaves nothing behind, because nothing was ever saved in the first place.

This panchang is computed with a simplified lunar method using the Lahiri ayanamsa and is labelled an approximation. For important muhurtas, cross-check with a published panchang such as Drik Panchang.

Frequently Asked Questions

A panchang is the traditional Hindu calendar for a day. It lists five elements: the tithi (lunar day), the nakshatra (the moon's constellation), the yoga (a combination of the sun and moon positions), the karana (half of a tithi), and the vara (weekday). Families use it to pick good times for ceremonies, travel, and new beginnings.

It is an approximation. This calculator uses a simplified lunar calculation with the Lahiri ayanamsa, the standard used by most Indian panchangs. It is accurate enough for everyday use, but for an important muhurta, cross-check with a published panchang such as Drik Panchang, since the exact tithi boundary can shift by a few hours.

A tithi is a lunar day — the time it takes for the moon to move 12 degrees away from the sun. There are 30 tithis in a lunar month: 15 in the bright half (Shukla Paksha), ending in Purnima, and 15 in the dark half (Krishna Paksha), ending in Amavasya. Each tithi lasts roughly 19 to 26 hours.

Nakshatra is the constellation the moon is in — one of 27 divisions of the sky, each about 13.33 degrees wide. Yoga is a combination of the sun's and moon's longitudes, also divided into 27. Both are used in muhurta, but they measure different things: nakshatra tracks the moon alone, yoga tracks the sun and moon together.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.