← Developer tools

Vimshottari dasha balance calculator

POST /v1/dasha/vimshottari opens with birth_balance - the lord and the years left of the first mahadasha. That number depends on one input only, the Moon's sidereal longitude. Enter it to see how the balance and every following period are derived.

Free · runs in your browser · no API key needed · updated

Moon's sidereal longitude (Lahiri)
Moon's nakshatra
20. Purva Ashadha
First mahadasha
Venus
Nakshatra elapsed
54.0493%
remaining_years
9.190143670
Balance in days
3356.700
Balance, Y M D
9 y 2 m 8.57 d
Moon
260° 32′ 23.7″
Cycle ends
129.1901 y after birth
Mahadasha sequence from birth
#LordyearsFrom (years after birth)To
1Venusbalance9.1901440.00009.1901
2Sun69.190115.1901
3Moon1015.190125.1901
4Mars725.190132.1901
5Rahu1832.190150.1901
6Jupiter1650.190166.1901
7Saturn1966.190185.1901
8Mercury1785.1901102.1901
9Ketu7102.1901109.1901
10Venus20109.1901129.1901

The API lists these ten periods in mahadasha[], with ISO start / end instants computed as birth + years × 365.25 days.

The calculation

dasha/vimshottari.ts, in short

ts
const NAK = 360 / 27;
const i = Math.floor(moon / NAK) % 27;            // Moon's nakshatra, 0-based
const lord = ORDER[i % 9];                        // Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury
const elapsed = (moon - i * NAK) / NAK;           // fraction of the nakshatra traversed
const balanceYears = (1 - elapsed) * YEARS[lord]; // birth_balance.remaining_years
// then the next nine lords in order, each for its full YEARS[lord]
// end = start + years × 365.25 days (no rounding)

The engine lists ten periods: the partial first one and then nine full ones - the last of which is the first lord again, now for its full length. A year is 365.25 days; nothing is rounded to months or days. The Vimshottari guide covers the sub-periods, which split each period by the same 120-year proportions.

Worked example, matched to the recorded response

  • Moon 260.539904220° (the sample birth's Lahiri Moon) → Purva Ashadha, lord Venus (20 years).
  • Elapsed 7.20657° of 13.33333° = 54.0493%, so 45.9507% of Venus's 20 years remains.
  • 9.190143669857733 years = 3,356.70 days, about 9 y 2 m 8.6 d.
  • From the birth instant 1993-07-04T03:57:11Z, Venus ends 2002-09-11T20:45:08.875Z; then Sun 6, Moon 10, Mars 7, Rahu 18, Jupiter 16, Saturn 19, Mercury 17, Ketu 7 and Venus 20.

Those are exactly the birth_balance.remaining_years and first end the recorded POST /v1/dasha/vimshottari response carries. On 6,086 test longitudes the tool's balance, lords, lengths and end instants equal the engine's to the last bit.

Years, months and days

The API never returns a Y/M/D balance - it returns decimal years and ISO-8601 start / end instants. The tool's Y/M/D line is for reading only: whole years, then months of one twelfth of 365.25 days (30.4375 days), then the remaining days. Almanacs that use 360-day or 365.2425-day years print slightly different figures; for the instants, trust end.

Common mistakes

  • Using the KP Moon. The KP longitude is 5.81′ higher; for the sample birth that moves the balance from 9.1901 to 9.0377 years. Vimshottari uses the Lahiri Moon from POST /v1/charts/birth.
  • Starting from the elapsed part. The balance is what is left of the nakshatra, 1 - elapsed, times the lord's years.
  • Expecting nine periods. The response has ten, so it covers the full 120 years after the partial first period.
  • Recomputing dates with a different year length. Over 120 years, 365.2425 instead of 365.25 days moves an end date by almost a day.

FAQ

Why does a tiny change in the Moon move the balance so much?
The Moon covers a 13°20′ nakshatra in about a day, and the balance scales the whole period: for Venus, one arc-minute of Moon is 0.025 years, about 9 days.
Does the time of birth enter anywhere else?
Only as the start instant the periods are added to. The balance itself depends on the Moon's longitude alone.
Where are the antardashas?
In each period's antardasha array (levels 2 to 5 go deeper). Look up the period running on a date with POST /v1/dasha/lookup.