Bhakoot Dosha Calculator evaluates lunar sign distance, planetary friendship, and cancellation rules to determine Bhakoot Dosha impact. Results show dosha status, severity, domain risks, and marriage acceptability using deterministic Shastra-based logic for clear, reliable compatibility assessment now.
The Bhakoot Dosha Calculator is a web-based computational tool designed to process two specific astrological variables—the Moon Sign of a boy and the Moon Sign of a girl—to determine their geometric alignment within the zodiac. The calculator utilizes a predefined algorithm to assess the angular distance between these two signs, identifies specific relational axes (such as 6-8 or 2-12), and references a planetary friendship matrix to calculate a compatibility score.
The primary function of the Bhakoot Dosha Calculator is to convert user selections into a quantitative “Score” (ranging from 0 to 7) and a qualitative “Verdict” (Pass, Conditional Pass, or Fail). It systematically evaluates the presence of “Dosha” (an astrological geometric conflict) and subsequently checks for specific algorithmic exceptions known as “Cancellations.” The tool outputs 15 distinct data points across five categories: Dosha Core, Planetary Authority, Impact Domains, Cancellation Validation, and a Final Verdict.
Inputs Used by the Bhakoot Dosha Calculator
The algorithm relies exclusively on two input fields. No other astronomical data (such as degrees, Nakshatras, or planetary positions other than the Moon Sign) is processed by the code.
1. Boy’s Moon Sign (Rashi)
- Data Type: Integer (Mapped to String)
- Range: 1 to 12
- Definition: This input selects the zodiac sign occupied by the Moon at the time of the boy’s birth. The Bhakoot Dosha Calculator maps these integers to specific signs and planetary lords as follows:
- 1: Aries (Mars)
- 2: Taurus (Venus)
- 3: Gemini (Mercury)
- 4: Cancer (Moon)
- 5: Leo (Sun)
- 6: Virgo (Mercury)
- 7: Libra (Venus)
- 8: Scorpio (Mars)
- 9: Sagittarius (Jupiter)
- 10: Capricorn (Saturn)
- 11: Aquarius (Saturn)
- 12: Pisces (Jupiter)
2. Girl’s Moon Sign (Rashi)
- Data Type: Integer (Mapped to String)
- Range: 1 to 12
- Definition: This input serves the identical function as the Boy’s input but represents the girl’s data. It utilizes the same 1 through 12 integer mapping to determine the associated Element (Fire, Earth, Air, Water) and Planetary Lord used in the internal logic.
How the Bhakoot Dosha Calculator Works
The internal processing of the Bhakoot Dosha Calculator follows a linear execution path defined in the calcBhakoot() function. The calculation sequence is as follows:
Step 1: Geometric Distance Calculation
The code first calculates the distance between the girl’s sign and the boy’s sign using the modulo operator. The formula used is: diff = (girl - boy + 12) % 12
This results in a generic integer representing the number of signs the girl is away from the boy.
Step 2: Axis Classification
Based on the diff value, the Bhakoot Dosha Calculator assigns a specific “Axis” string and sets the initial isDosha boolean flag.
- 1-1 Axis: If
diffis 0. - 1-7 Axis: If
diffis 6. - 3-11 Axis: If
diffis 2 or 10. - 4-10 Axis: If
diffis 3 or 9. - 2-12 (Dwirdwadash) Axis: If
diffis 1 or 11. The code setsisDosha = trueandseverity = "Moderate". - 5-9 (Navam-Pancham) Axis: If
diffis 4 or 8. The code setsisDosha = trueandseverity = "Severe". - 6-8 (Shadashtak) Axis: If
diffis 5 or 7. The code setsisDosha = trueandseverity = "Severe".
Step 3: Planetary Friendship Analysis
The tool retrieves the “Lord” (ruler) of the Boy’s sign and the Girl’s sign. It then queries the friendshipMatrix object. This matrix contains hardcoded values (1, 0, -1) representing the relationship between the seven visible planets. The code calculates a total score by summing the relationship value of Lord A to Lord B and Lord B to Lord A.
- Best Friend: Total ≥ 2
- Friend: Total = 1
- Neutral: Total = 0
- Enemy: Total = -1
- Bitter Enemy: Total < -1
Step 4: Cancellation Logic
If isDosha is true, the Bhakoot Dosha Calculator runs validation checks to see if the Dosha can be mathematically cancelled.
- Same Lord Rule: If the Boy’s Lord equals the Girl’s Lord (e.g., Aries and Scorpio are both ruled by Mars), the Dosha is cancelled.
- Maitri Friendship Rule: If the calculated relationship class is “Best Friend,” “Friend,” or “Identity,” the Dosha is cancelled.
- Neutrality: If the relationship is “Neutral,” the cancellation type is set to “Partial.”
Step 5: Scoring and Verdict Assignment
The final output is determined by the combination of Dosha presence and Cancellation status:
- Pass (Score 7): No Dosha is detected (e.g., 3-11 or 4-10 axis).
- Conditional Pass (Score 5): Dosha is detected (
isDosha = true), but a valid cancellation is found. - Fail (Score 0): Dosha is detected, and no valid cancellation criteria are met.
Results and Metrics Explained
The Bhakoot Dosha Calculator displays results across a grid of 15 metrics. Below is the mathematical definition for each output field.
Dosha Core Metrics
- Bhakoot Axis Type: Displays the geometric relationship derived from the
diffcalculation (e.g., “6-8 (Shadashtak)”). - Dosha Presence: A binary output. It displays “Present” if the axis is 2-12, 5-9, or 6-8. It displays “Absent” for all other axes.
- Dosha Severity Grade: A categorical variable assigned by the code. “Severe” applies to 6-8 and 5-9 axes. “Moderate” applies to the 2-12 axis. “None” applies when no Dosha is present.
Planetary Authority Metrics
- Rashi Lords: Identifies the ruling planet for both input signs (e.g., Sun for Leo, Saturn for Capricorn).
- Lord Relationship Class: The text label resulting from the
getRelationfunction (e.g., “Bitter Enemy” or “Best Friend”). - Natural/Group: This reflects the
isFriendlyboolean. If the relationship score is positive, this metric indicates a “Good” bond; otherwise, it indicates “Bad.”
Dosha Impact Domains
The Bhakoot Dosha Calculator assigns impact levels (“High”, “Medium”, “Low”) to three specific domains based on the axis type.
- Health Impact Index: Set to “High” if the axis is 6-8 (Shadashtak). Set to “Medium” if the axis is 2-12. Otherwise “Low.”
- Wealth Impact Index: Set to “High” if the axis is 2-12 (Dwirdwadash). Otherwise “Low” (unless modified by cancellation).
- Family Stability Index: Set to “High” if the axis is 5-9 (Navam-Pancham). Set to “Medium” if the axis is 6-8.
Note: If a cancellation is valid, the code programmatically downgrades “High” risks to “Medium.”
Cancellation Validation
- Same Lord Cancellation Rule: Displays “True” if
rB.l === rG.l. This occurs in pairings like Aries-Scorpio (Mars) or Taurus-Libra (Venus). - Mutual Friendship Rule: Displays “True” if the calculated planetary relationship is strictly friendly or identical.
- Cancellation Status: The final determination of the exception logic, displaying “Valid Cancellation,” “Partial,” “Not Valid,” or “Not Required.”
Interpreting the Calculation Output
The numeric and categorical outputs provided by the Bhakoot Dosha Calculator represent specific logic states within the code.
The Score (0 to 7)
The “Score” is the final quantitative value assigned to the Bhakoot Koota.
- 7/7: Indicates the
diffcalculation resulted in 0, 2, 3, 6, 9, or 10. The code interprets this as optimal geometric alignment. - 5/7: Indicates a Dosha was initially flagged, but the
isCancelledvariable was set to true via the Same Lord or Friendship check. The code applies a fixed penalty of 2 points. - 0/7: Indicates the geometric alignment fell into a prohibited category (1, 4, 5, 7, 8, 11) and failed all subsequent boolean checks for friendship or lordship equality.
The Radar Chart
The visual chart renders four axes: Health, Wealth, Family, and Harmony.
- In a “Pass” scenario: All values are set to 90.
- In a “Fail” scenario: Specific axes are penalized mathematically based on the Dosha type. For example, a 6-8 axis reduces the “Health” data point to 20 while keeping “Harmony” at 60.
- In a “Conditional Pass” scenario: The code sets a flat value of 70 across all axes, representing the mathematical mitigation of the risk.
Assumptions and Calculation Limits
The Bhakoot Dosha Calculator operates under specific constraints defined by its programming:
- Exclusion of Nakshatras: The code inputs allow only for Rashi (Sign) selection. It does not account for Nakshatra-based Bhakoot variations which might offer different results in traditional systems.
- Fixed Friendship Matrix: The calculator uses a static
friendshipMatrixobject. It does not calculate “Tatkalik Maitri” (Temporary Friendship) based on planetary positions in a specific chart. - Binary Logic for Elements: Elements (Fire, Earth, Air, Water) are displayed for informational purposes but do not independently alter the numerical score or the
isDoshaboolean flag. - Specific Axis Definitions: The code strictly defines the 1-7 axis as non-Dosha (Pass). Some variations of Bhakoot logic may interpret this differently, but this calculator hardcodes
diff === 6as a safe state.
Estimation Disclaimer
The results generated by this tool are based on a fixed algorithmic interpretation of astrological rules. These figures are mathematical estimates derived from the specific inputs provided and may not reflect the complexity of a full astrological reading.
Related Tools & Calculators:
- Twin Flame Love Calculator
- Mahadasha Antardasha Calculator
- Mangal Dosha Calculator
- Name Numerology Calculator
- Challenge Number Calculator
- Sun Number Calculator
- Date of Birth Compatibility Calculator
- Full Name Numerology Calculator
- Nakshatra Calculator
- Kundali Dosha Calculator
- Karmic Soulmate Twin Flame Calculator
- Gay Zodiac Compatibility Calculator
- Love Hate Calculator
- Personal Year Number Calculator
- Lucky Number Calculator
- Twin Flame Life Path Number Calculator
- Soul Tie Calculator
- Zodiac Compatibility Calculator
- Bhakoot Dosha Calculator
- Destiny Number Calculator
- Yogas in Horoscope Calculator