← Developer tools

Divisional chart (varga) sign calculator

POST /v1/charts/varga returns only a sign and a house for each planet. When one looks wrong, you need the rule that produced it. Enter the planet's sidereal longitude to see its part and sign in every division the engine implements, side by side with the rule for that division.

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

Sidereal longitude (Lahiri)

Sagittarius 20° 32′ 23.7″: an odd, dual, fire sign - the three facts the rules below branch on.

Sign of the longitude in each divisional chart
DivisionPartSignRule (engine, BPHS ch. 4)
D1 Rashi1 / 1SagittariusThe sign itself
D2 Hora2 / 2CancerOdd sign: Leo then Cancer; even: Cancer then Leo
D3 Drekkana3 / 3Leo10° parts: the sign, its 5th, its 9th
D4 Chaturthamsaengine only, not served3 / 4Gemini7°30′ parts: the sign, its 4th, 7th, 10th
D7 Saptamsa5 / 7AriesOdd: count from the sign; even: from its 7th
D9 Navamsa7 / 9LibraMovable: from the sign; fixed: its 9th; dual: its 5th
D10 Dasamsa7 / 10GeminiOdd: count from the sign; even: from its 9th
D12 Dwadasamsa9 / 12Leo2°30′ parts counted from the sign
D16 Shodasamsa11 / 16LibraMovable: Aries; fixed: Leo; dual: Sagittarius
D20 Vimshamsa14 / 20VirgoMovable: Aries; fixed: Sagittarius; dual: Leo
D24 Chaturvimsamsa17 / 24SagittariusOdd: count from Leo; even: from Cancer
D27 Bhamsa19 / 27LibraFire: Aries; earth: Cancer; air: Libra; water: Capricorn
D30 Trimsamsa4 / 5GeminiUnequal 5/5/8/7/5° regions (reversed in even signs)
D40 Khavedamsa28 / 40CancerOdd: count from Aries; even: from Libra
D45 Akshavedamsa31 / 45GeminiMovable: Aries; fixed: Leo; dual: Sagittarius
D60 Shashtiamsa42 / 60Taurus0°30′ parts counted from the sign

Sixteen rules, not one formula

Each division cuts a sign into N parts; the rule decides where counting starts, and that depends on the sign. Until May 2026 the engine used one continuous formula for every division, which was right for some and wrong for fixed and dual signs in D9 and for eleven other vargas. It now has a separate rule per division, and so does this tool:

What each rule branches on
Branches onDivisions
Nothing: count from the sign itselfD1, D3 (5th and 9th), D4 (4th, 7th, 10th), D12, D60
Odd or even signD2, D7, D10, D24, D40, and the unequal D30
Movable, fixed or dualD9, D16, D20, D45
ElementD27 (fire Aries, earth Cancer, air Libra, water Capricorn)

D30 is the only unequal one: odd signs split 5/5/8/7/5° (Aries, Aquarius, Sagittarius, Gemini, Libra), even signs 5/7/8/5/5° (Taurus, Virgo, Pisces, Capricorn, Scorpio). Part sizes and names are in the divisional charts reference; the per-rule reasoning, with the D27 tradition choice, is in the divisional chart guide.

Which divisions the API serves

POST /v1/charts/varga accepts division 2, 3, 7, 9, 10, 12, 16, 20, 24, 27, 30, 40, 45 or 60 (or all: true for those 14) and answers 400 for anything else. D1 is the birth chart itself. D4 has a rule in the engine but no route, so it is marked "engine only" in the table above. The finer D150 Nadiamsa has its own endpoint, POST /v1/nadi/amsha.

Worked example from the recorded D9

The playground's D9 request for the sample birth returned Sun Pisces, Moon Libra, Mars Cancer and ascendant Gemini. From the birth chart's longitudes:

Sample birth, D9, recomputed
PointSidereal longitudeSign typePart of 9D9
Sun78.4260° (Gemini 18.43°)dual: start at its 5th, Libra6Pisces
Moon260.5399° (Sagittarius 20.54°)dual: start at Aries7Libra
Mars132.5443° (Leo 12.54°)fixed: start at its 9th, Aries4Cancer
Ascendant129.9358° (Leo 9.94°)fixed: start at Aries3Gemini

The same Moon in the other divisions: D2 Cancer, D3 Leo, D4 Gemini, D7 Aries, D10 Gemini, D12 Leo, D16 Libra, D20 Virgo, D24 Sagittarius, D27 Libra, D30 Gemini, D40 Cancer, D45 Gemini, D60 Taurus. The tool's default input is that Moon.

Common mistakes

  • Using one formula for every division. (sign + part) % 12 - the engine's own rule before May 2026 - is wrong for fixed and dual signs in D9 and for D3, D7, D10, D16, D20, D24, D27, D30, D40, D45 and D60.
  • Testing on exact part edges. The engine divides in floating point, and 368 of the 3,060 exact edges (such as Aries 3°20′ in D9) land in the earlier part. The tool reproduces that arithmetic, so it answers as the API would; real ephemeris values are almost never exactly on an edge.
  • Expecting degrees in a varga. The API returns sign and house only, with houses counted whole-sign from the varga's own ascendant.
  • Using a tropical or KP longitude. The engine projects Lahiri sidereal positions.

FAQ

Why is D4 not in POST /v1/charts/varga?
The engine has the Chaturthamsa rule, but the route's list of divisions does not include 4, so a request for it returns 400. The tool shows it for completeness.
How sensitive are the high divisions to birth time?
A D60 part is 0°30′ and a D45 part 0°40′. An ascendant moves on average a degree every four minutes, so a couple of minutes of birth-time error can change those signs.
Is this checked against the engine?
Yes: all 16 divisions on 6,086 longitudes - every part edge and a 1e-7° hair either side, plus 200 random values - give exactly the engine's sign.