Cast your Khavedamsa (D40), the fortieth divisional chart of Vedic astrology, from date, time, and place of birth. The tool computes your D40 Lagna with a birth-time-confidence check, every planet’s segment, deity, D40 sign and house, and renders the chart in North or South Indian style. Uses the sidereal Lahiri ayanamsa, the same engine as our Kundli, and the BPHS parity rule.
100% private - the D40 calculation runs entirely in your browser. No birth data sent anywhere.
Supports 1900 onwards for better calculation reliability.
Birth time is critical here: a D40 segment is 45 minutes of arc, so your D40 Lagna changes roughly every 3 minutes - only the D45's moves faster.
Free D45 (Akshavedamsa) chart from birth details. D45 Lagna with a birth-time-confidence check, per-planet placements with the BPHS deity triads, and North/South chart styles.
astrologyFree Trimsamsa (D30) chart from birth details. Parasara D30 with the planet-ruled segments, BPHS deities, a birth-time-confidence check, and North/South chart styles.
astrologyFree Janam Kundli with D1 and D9 charts, planetary positions, Vimshottari Dasha, and Mangal Dosha. Lahiri sidereal.
astrology| Chart / harmonic | D40 (Khavedamsa, also Chatvarimshamsa), the fortieth divisional chart |
|---|---|
| Division size | 40 equal segments of 0.75 deg (45 min of arc) per sign |
| Start-sign rule | By PARITY: odd signs from Aries, even signs from Libra - unique in this varga set |
| Presiding deities | Twelve (Vishnu through Varuna, BPHS Ch. 6, 30), repeating in ONE order for all signs - no reversal |
| Reachable signs | All twelve, across a whole chart |
| Classically read for | Auspicious and inauspicious effects (BPHS Ch. 7, 1-8) - the full phrase; narrower readings = later practice |
| D40 Lagna sensitivity | ~3 min of birth time per segment at Indian latitudes - only the D45's is finer |
| Same-sign geometry | 40 of 480 cells, unevenly spread - no one-in-forty rule |
| Nodes | Rahu/Ketu ALWAYS share one D40 sign and deity (six signs apart = same parity) |
| Inputs | Date, time, and place of birth |
| Engine | Meeus VSOP87 + Lahiri ayanamsa; Rahu/Ketu = mean node (same engine as Kundli) |
| Privacy | 100% client-side; no birth data leaves your browser |
The Khavedamsa - also spelled Khavedamsha, and called the Chatvarimshamsa in the same verse - is the fortieth harmonic, one of the sixteen divisional charts (Shodasavarga) described in the Brihat Parashara Hora Shastra. Where the birth chart (D1) maps the whole life, each varga re-reads the same positions at a finer resolution; at 45 minutes of arc per segment the D40 is second only to the Akshavedamsa (D45) shipped alongside it.
Like every varga, the D40 is a derived chart: it takes each planet’s exact sidereal longitude from the birth chart and re-maps it. Nothing new is observed in the sky. What makes the D40 unique in this set is that its starting sign is fixed by the natal sign’s parity - odd or even - where its neighbours (D16, D20 and the D45) all seed by modality.
Each sign is divided into forty segments of 45 minutes of arc. The verse rule: “For odd Rasis count from Mesh and for an even Rasi from Tula in respect of Khavedahsas.” The count then advances one sign per segment.
| Natal sign parity | Counting starts from |
|---|---|
| Odd sign (Aries, Gemini, Leo, Libra, Sagittarius, Aquarius) | Mesh (Aries) |
| Even sign (Taurus, Cancer, Virgo, Scorpio, Capricorn, Pisces) | Tula (Libra) |
The twelve presiding deities repeat across the forty segments in the same order for every sign - the verse states no odd/even reversal for this chart, unlike the D16, D20, D24, D27 and D60:
| Segment numbers | Deity (all signs) |
|---|---|
| 1, 13, 25, 37 | Vishnu |
| 2, 14, 26, 38 | Chandra |
| 3, 15, 27, 39 | Marichi |
| 4, 16, 28, 40 | Tvashta |
| 5, 17, 29 | Dhata |
| 6, 18, 30 | Shiva |
| 7, 19, 31 | Ravi |
| 8, 20, 32 | Yama |
| 9, 21, 33 | Yaksha |
| 10, 22, 34 | Gandharva |
| 11, 23, 35 | Kala |
| 12, 24, 36 | Varuna |
Worked example: a planet at 10 deg of Taurus is in an even sign, so counting starts from Libra. 10 divided by 0.75 falls in the fourteenth segment (index 13), and thirteen signs on from Libra - one full zodiac plus one - is Scorpio, so its D40 sign is Scorpio with deity Chandra (position 14 = position 2 of the second cycle). Each varga in the family carries its own rule: the Trimsamsa walks unequal planetary segments, the D45 counts from a modality-selected seed, and the D40 from this parity-selected one.
This is the property most often mistaken for a calculation error, so it is worth stating plainly. Rahu and Ketu are always exactly opposite, six signs apart - and six is even, so the two nodes always sit in signs of the same parity. They start their count from the same sign, sit at the same degree within their own signs, and land on the same segment number. The result is the same D40 sign - and, because the deity depends only on the segment number, the same deity - in every chart, all 480 sign-segment combinations. Verified exhaustively in this repository’s test suite.
The same arithmetic applies to any two bodies six signs apart at the same degree, and it is independent of the node model: mean node or true node, the co-location holds. In the birth chart the nodes remain opposite as usual.
The varga-use passage of the Brihat Parashara Hora Shastra (Ch. 7, 1-8) lists what each divisional chart is consulted for. Its wording for this chart is auspicious and inauspicious effects - the full phrase, both halves. That is the classical claim, and it is the only domain claim this page makes. Halving it to “auspicious effects” would change the claim, so we do not.
Modern practice commonly narrows the D40 to general auspiciousness. That reading is later practice, not the verse’s own wording, and we label it as such rather than presenting the two as one tradition. This tool computes the chart; it does not interpret it.
This version computes the D40 chart, houses (whole-sign from the D40 Lagna), the segment deities, and the birth-time-confidence checks. It does not interpret the chart, it does not read houses for auspicious or inauspicious outcomes, and it ships no predictions and no remedies.
The Khavedamsa - also called the Chatvarimshamsa - is the fortieth divisional chart (varga) of Vedic astrology. Each 30-deg sign is divided into forty segments of 45 minutes of arc (0.75 deg), and every planet is re-mapped to a new sign based on which segment it occupies. The classical varga-use verse in the Brihat Parashara Hora Shastra assigns this chart to auspicious and inauspicious effects. It is read alongside the birth chart (D1), not instead of it.
By Brihat Parashara Hora Shastra Ch. 6, 29: counting starts from Aries for a planet in an odd sign and from Libra for a planet in an even sign, then advances one sign per segment. The starting point depends only on the natal sign's parity - the D40 is the only chart in this micro-varga set seeded by parity rather than by modality, so all six odd signs share one mapping and all six even signs another. This tool applies the rule to each planet's exact sidereal longitude from the birth chart.
The Brihat Parashara Hora Shastra's varga-use verse assigns the Khavedamsa to auspicious and inauspicious effects - the full phrase, both halves. Those translated words are the classical claim, and they are all this page asserts. Popular practice narrows this to general auspiciousness; that is a later interpretive gloss on the same chart, and we name it as such rather than presenting it as the verse's own wording.
Because the rule forces it. The nodes are always exactly opposite, six signs apart - and six is an even number, so both nodes sit in signs of the same parity, get the same starting sign, and land on the same segment number. The result is the same D40 sign and the same deity, in every chart, whichever node model a calculator uses. In the birth chart they remain opposite as usual; it is only the D40 mapping that brings them together.
The Brihat Parashara Hora Shastra names twelve: Vishnu, Chandra, Marichi, Tvashta, Dhata, Shiva, Ravi, Yama, Yaksha, Gandharva, Kala and Varuna, repeating across the forty segments in the same order for every sign. Uniquely in this varga set, the verse states no odd/even reversal for the D40 - the order simply repeats. This tool shows the deity for each planet's segment; it attaches no predictive meaning to them, because the classical text assigns the names without interpretation.
A D40 segment is 45 minutes of arc, and the ascendant crosses one in roughly 3 minutes of clock time at Indian latitudes - only the D45's segments are finer. A birth time recorded to the nearest five or ten minutes is therefore not precise enough to fix the D40 Lagna. This tool reports how many minutes your entered time sits from the nearest D40 Lagna boundary, and flags any planet sitting within about 0.01 deg of a segment edge.
No, and it is not evenly distributed either. Because the count starts from a parity-fixed sign rather than from the natal sign, only 40 of the 480 sign-and-segment combinations map back to the natal sign - four segments for some signs and three for the rest. There is no tidy one-in-forty rule. The classical term vargottama refers to the D1/D9 correspondence, not the D40.
Both - use the North Indian (diamond) / South Indian (square) toggle above the chart; both draw the same D40 (Khavedamsa) placements. In the North Indian format the houses are fixed with the Lagna at the top and the signs rotate; in the South Indian format the signs are fixed in the grid and the ascendant is marked in its box. Pick whichever regional format is more familiar.
No. It computes the classical D40 chart and reports what traditional sources say the chart is consulted for - the varga-use verse assigns it to auspicious and inauspicious effects, and later practice narrows that in various ways. It makes no predictions about your life, it does not tell you what will happen to you, and it offers no remedies, gemstones, or rituals.
This page is the canonical surface for these terms: D40 chart, Khavedamsa, Khavedamsha, Chatvarimsamsa, and Chatvarimshamsa. They all refer to the fortieth divisional chart described above.