# 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.

Source: https://astronode.dev/tools/vimshottari-balance-calculator · Updated: 2026-12-04

The interactive tool runs in the browser at https://astronode.dev/tools/vimshottari-balance-calculator; this file is its explanation.

## 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](https://astronode.dev/guides/vimshottari-dasha-calculation) 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`](https://astronode.dev/capabilities/vedic/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`](https://astronode.dev/capabilities/vedic/dasha-lookup).

## Related endpoints

- [`POST /v1/dasha/vimshottari`](https://astronode.dev/capabilities/vedic/dasha-vimshottari) - Vimshottari Dasha API
- [`POST /v1/dasha/lookup`](https://astronode.dev/capabilities/vedic/dasha-lookup) - Current Dasha Lookup API
- [`POST /v1/charts/birth`](https://astronode.dev/capabilities/vedic/charts-birth) - Birth Chart (Kundli) API
