Probability calculator
Open Probability calculator on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.
Tool capabilities
{
"id": "probability-calculator",
"category": "calculators",
"built": true,
"requirements": "Enter probabilities from 0 to 100%. The supplied intersection must satisfy the Fréchet bounds. Independence is used only when explicitly selected. Conditional probabilities with a zero denominator are undefined, not zero.",
"implementation": {
"fields": [
{
"key": "a",
"label": "Probability of A (%)",
"value": 30,
"type": "number",
"min": 0,
"max": 100,
"step": "any"
},
{
"key": "b",
"label": "Probability of B (%)",
"value": 40,
"type": "number",
"min": 0,
"max": 100,
"step": "any"
},
{
"key": "method",
"label": "Relationship between events",
"value": "Assume independence",
"type": "select",
"values": [
"Assume independence",
"Supply intersection"
]
},
{
"key": "intersection",
"label": "Probability of both A and B (%)",
"value": 12,
"type": "number",
"min": 0,
"max": 100,
"step": "any",
"showWhen": {
"method": [
"Supply intersection"
]
}
}
],
"note": "Calculate complements, unions, intersections and conditional probabilities. Independence is an explicit assumption. A conditional probability is undefined if its conditioning event has probability zero.",
"input": false,
"live": true,
"presentation": "metrics",
"background": false,
"inputMaxLength": 1000000,
"inputErrorCode": "STAT_SIZE",
"experience": {
"automatic": true,
"single": false,
"inputMaxLength": 1000000,
"inputMode": "text",
"label": "Your text",
"placeholder": "Type or paste your input…",
"help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
"helpParts": [
"Change the input or settings to update your result.",
"Results update as you type.",
"Up to 1,000,000 characters."
],
"action": null
},
"mode": "automatic",
"interactive": false
},
"execution": "Browser interface",
"api": null,
"browser_agent": {
"supported": true,
"name": "run_current_tool",
"discovery": "WebMCP on the human page in a supporting browser",
"verification": "See audit/API-AUDIT.md; availability is not verification"
}
}Page guide
Calculate intersections, unions, complements and conditional probabilities for two events.
How to use Probability calculator
- Enter the observations or summary values.
- Choose the method and check its assumptions.
- Review the result and download the calculation.
Useful next steps
Choose the model before reading the result
Calculate intersections, unions, complements and conditional probabilities for two events.
Check the assumptions
Enter probabilities from 0 to 100%. The supplied intersection must satisfy the Fréchet bounds. Independence is used only when explicitly selected. Conditional probabilities with a zero denominator are undefined, not zero.
Keep the calculation
Download the JSON for unrounded results and settings, CSV for the table, and the separate assumptions note. The calculation runs in your browser.