Kundali Dosha Calculator

Kundali Dosha Calculator provides structured analysis of Mangal, Shani, Kaal Sarp, Pitra, Kemadruma, Grahan and Papakartari influences using rule-based logic. Results show intensity levels, dominant doshas, marriage risk, career delay probability, and remedy confidence in a clean professional dashboard.

CRITICAL ALERT
DOSHA STATUS
INTENSITY: –% MAJOR: —
01 Mangal Dosha (Mars)
Mars Strength
Dignity based on Sign.
Sign
Dignity
Aspect Conflict
Impact on 7th, 8th, 12th.
7th H
8th H
Spouse Compatibility
Cancellation via matching.
RuleSame
RecMatch
02 Shani Dosha (Saturn)
Transit Phase
Sade Sati status relative to Moon.
Zone
Phase
Retrograde Modifier
Intensity multiplier.
Retro
Impact
Nakshatra Load
Karmic density on Moon.
Dist
Strain
03 Kaal Sarp & Nodes
True Kaal Sarp
Calculated planetary containment.
Bound
Valid
Dosha Type
Specific KSY Name.
Name
Rahu H
Pitra Dosha
Sun/9th Lord affliction status.
Sun-Ra
9th Ld
04 Yogas & Defects
Gaja Kesari / Grahan
Presence of major yogas.
Gaja
Grahan
Kemadruma Dosha
Mental isolation indicator.
2/12
Status
Papakartari
Lagna/Moon hemmed by malefics.
Lagna
Moon
05 Final Risk Analysis
Marriage Risk
Probability of marital discord.
Source
Level
Career Delay
Saturn/Sun blockage probability.
Block
Timing
Remedy Confidence
Effectiveness of suggested fix.
Match
Power

The Kundali Dosha Calculator is a digital analytical tool designed to compute specific planetary alignments and potential astrological defects (doshas) based on user-defined inputs. Unlike standard horoscope generators that rely on date of birth, this calculator operates on pre-determined house positions. It converts the input data—specifically the House numbers of nine planets and the Ascendant (Lagna)—into a quantified “Dosha Intensity” score and a set of categorical classifications.

The primary function of the Kundali Dosha Calculator is to execute a series of logical checks to identify five distinct astrological conditions: Mangal Dosha (Mars defect), Shani Dosha (Saturn’s transit impact), Kaal Sarp Yog (planetary containment), Pitra Dosha (Sun affliction), and specific planetary yogas like Kemadruma or Gaja Kesari. By processing the geometric relationships between the Lagna, Moon, and other celestial bodies, the tool mathematically determines the presence, cancellation status, and intensity of these combinations without requiring manual chart plotting.

Inputs Used by the Kundali Dosha Calculator

To perform accurate diagnostics, the Kundali Dosha Calculator requires specific integer inputs representing the placement of celestial bodies in a 12-house system.

  • Lagna (Ascendant): This input selects the rising sign, ranging from Aries (1) to Pisces (12). In the calculation logic, the Lagna serves as the reference point (House 1) for determining the zodiac sign of every other house. It is critical for calculating planetary dignity (e.g., whether Mars is in its own sign or exalted).
  • Planetary Positions (Sun through Rahu): The tool collects the house position (1 through 12) for the Sun (Surya), Moon (Chandra), Mars (Mangal), Mercury (Budh), Jupiter (Guru), Venus (Shukra), Saturn (Shani), and Rahu (North Node).
    • Note: The position of Ketu (South Node) is not a direct input. The code mathematically derives Ketu’s position as exactly 180 degrees (6 houses) away from Rahu. For example, if Rahu is in House 1, the code assigns Ketu to House 7.
  • Retrograde Status: This distinct input modifies the intensity calculations for Mars and Saturn. Users can select “None,” “Mars Retro,” “Saturn Retro,” or “Both.”
    • Calculation Impact: If Saturn is marked as Retrograde, the Kundali Dosha Calculator applies a 1.25x multiplier to the Shani Dosha score, mathematically increasing the calculated intensity.

How the Kundali Dosha Calculator Works

The Kundali Dosha Calculator processes the input data through a sequential algorithmic flow, evaluating each potential dosha independently before aggregating a final score.

Step 1: Mangal Dosha Calculation

The tool first checks the position of Mars relative to the Lagna.

  1. Detection: The code flags “Active” Mangal Dosha if Mars is placed in houses 1, 2, 4, 7, 8, or 12.
  2. Sign Determination: Using the formula (Lagna + MarsHouse - 2) % 12 + 1, the tool identifies the zodiac sign occupied by Mars.
  3. Dignity Check: It checks if Mars is “Exalted” (Sign 10/Capricorn), “Debilitated” (Sign 4/Cancer), or in its “Own Sign” (1/Aries or 8/Scorpio).
  4. Cancellation Logic: The calculator reduces the severity score if specific cancellation rules are met:
    • Mars is Exalted or in its Own Sign.
    • Mars is in House 2 and the Sign is Gemini (3) or Virgo (6).
  5. Scoring: An uncancelled Mangal Dosha contributes 100 points. A cancelled Dosha contributes 20 points.

Step 2: Shani Dosha (Sade Sati & Dhaiya)

The Kundali Dosha Calculator computes the distance of Saturn relative to the Moon using the formula: (SaturnHouse - MoonHouse + 12) % 12 + 1.

  1. Sade Sati: If Saturn is in the 12th, 1st, or 2nd house from the Moon, Sade Sati is marked “Active” (80 points).
    • Phase Identification: The tool labels the phase as “Rising” (12th from Moon), “Peak” (1st from Moon), or “Setting” (2nd from Moon).
  2. Dhaiya: If Saturn is in the 4th or 8th house from the Moon, Dhaiya is marked “Active” (60 points).
  3. Multiplier: The base score is multiplied by 1.25 if the Retrograde input includes Saturn.

Step 3: True Kaal Sarp Yog (KSY) Validator

This step verifies if all seven major planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn) are contained within the axis formed by Rahu and Ketu.

  1. Normalization: The code normalizes planetary positions so that Rahu acts as the start point (Index 1).
  2. Hemming Check: It counts how many planets fall on the “left” side (houses 2–6 relative to Rahu) versus the “right” side (houses 8–12 relative to Rahu).
  3. Validation: If planets exist on both sides of the axis, the condition is False. If all planets are on one side, KSY is True (50 points).
  4. Typology: The tool assigns a specific KSY name (e.g., Anant, Kulik) based strictly on Rahu’s house number (1 through 12).

Step 4: Pitra Dosha & Solar Yogas

The calculator evaluates the Sun’s condition:

  1. Conjunction: It checks if the Sun shares a house with Rahu, Saturn, or Ketu.
  2. 9th House Logic: It identifies the 9th House lord based on the Lagna sign.
  3. Classification:
    • “High” (40 points): Sun is afflicted AND Rahu/Ketu is in House 9.
    • “Medium”: Sun is afflicted but Nodes are not in House 9.

Step 5: Special Yogas (Gaja Kesari, Kemadruma, Grahan)

  • Gaja Kesari: Active if Jupiter is in a Kendra (1, 4, 7, 10) from the Moon.
  • Grahan Yoga: Active (30 points) if Sun or Moon conjuncts Rahu or Ketu.
  • Kemadruma Dosha: Checks the houses immediately surrounding the Moon (2nd and 12th from Moon).
    • If no planet (excluding Sun/Nodes) occupies these houses, Kemadruma is initially True.
    • Cancellation: The code cancels Kemadruma if Gaja Kesari is Active.
    • Scoring: Adds 40 points if Active and not cancelled.
  • Papakartari: Checks if the Lagna or Moon is “hemmed” by malefics (Saturn, Mars, Rahu, Ketu, Sun) in the adjacent 2nd and 12th houses.

Results and Metrics Explained

The Kundali Dosha Calculator outputs a dashboard of metrics derived from the summation of the logic steps above.

  • Intensity Percentage: This metric represents the cumulative severity of all detected doshas.
    • Formula: (Total Score / 350) * 100.
    • The total score is the sum of points from Mangal (0-100), Shani (0-100), KSY (0-50), Pitra (0-40), Kemadruma (0-40), and Grahan (0-30). The result is capped at 99%.
  • Dosha Status (Verdict): A text label assigned based on the Intensity Percentage thresholds defined in the code:
    • CHART CLEAR: < 15%
    • MINOR INFLUENCE: > 15%
    • MODERATE DOSHA: > 45%
    • HIGH INTENSITY: > 70%
    • CRITICAL DOSHA: > 90%
  • Major Dosha: Identifies the single largest contributor to the score. The code prioritizes logic in this order: Mangal (if > 50 points), Shani (if > 50 points), Kaal Sarp, then Kemadruma.
  • Aspect Conflict (7th/8th House): Within the Mangal Dosha section, this binary metric (“Check” or “–“) indicates that Mars is currently placed in a position that geometrically aspects the 7th (Partnership) or 8th (Longevity) houses, mathematically confirming the basis for the Mangal Dosha calculation.
  • Transit Phase: For Shani Dosha, this defines the exact geometric relationship between Saturn and the Moon. “Rising” mathematically indicates Saturn is in the house immediately preceding the Moon (House 12 relative to Moon), while “Peak” places them in the same house.

Interpreting the Calculation Output

The outputs provided by the Kundali Dosha Calculator are strictly numerical and categorical representations of the input data.

  • Numeric Values: A higher “Intensity” value indicates a higher summation of specific planetary conditions defined as “doshas” in the code. For example, a score of 85% implies that multiple high-value conditions (such as Uncancelled Mangal Dosha plus Sade Sati) are present simultaneously in the input configuration. A lower score (e.g., 10%) indicates that while minor alignments may exist, the high-weight conditions (like KSY or 100-point Mangal Dosha) are absent.
  • Valid vs. Invalid KSY: The “True Kaal Sarp” metric yields “True” only if the mathematical condition of containment is met. If even one planet falls outside the Rahu-Ketu axis (e.g., “Left” count > 0 AND “Right” count > 0), the result is “False.” This interpretation confirms that the planets are geometrically scattered rather than hemmed.
  • Cancellation Status: When the calculator displays “Cancelled” for Mangal Dosha or Kemadruma, it indicates that a specific mitigating variable (such as Dignity or a Kendra position) was detected in the code, reducing the numeric contribution of that factor to the total risk analysis, regardless of the initial placement.

Assumptions and Calculation Limits

The Kundali Dosha Calculator operates under specific constraints and fixed logic embedded in the source code.

  1. House System: The calculator assumes a whole-sign house system where one house equals one sign. Degree-based overlaps or Bhava Chalit logic are excluded.
  2. Ketu Calculation: The position of Ketu is fixed at exactly 180 degrees from Rahu. The code assumes Ketu is always (Rahu + 6), wrapping around the 12-house cycle. Independent entry for Ketu is not permitted.
  3. Planet List: The Kaal Sarp verification considers only the seven visible planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn). Uranus, Neptune, and Pluto are excluded from the containment check.
  4. Score Cap: The maximum possible denominator for the intensity score is fixed at 350. The logic creates a “ceiling” for the percentage calculation at 99%, meaning no result can mathematically exceed this value regardless of inputs.
  5. Fixed Weights: The point values for specific Doshas (e.g., 100 for Mangal, 80 for Sade Sati) are hardcoded constants. These are estimation values used for comparative analysis within the tool and do not vary based on planetary degrees.
  6. Kemadruma Exclusion: When checking for Kemadruma (vacant 2nd and 12th from Moon), the Sun, Rahu, and Ketu are explicitly excluded from the list of valid occupants. Only Mars, Mercury, Jupiter, Venus, and Saturn count as valid planets to break the isolation.

Estimation Disclaimer

The results generated by this tool are mathematical estimates based on whole-number house placements and pre-defined scoring weights. They represent a simplified diagnostics model and may differ from complex astrological calculations that utilize exact planetary degrees, nakshatra subdivisions, or varying ayanamsa systems.

Related Tools & Calculators: