Probability Calculator
Calculate AND, OR, and conditional probabilities for two events, including Bayes' theorem.
Free Probability Calculator
Our free probability calculator handles AND, OR, and conditional probabilities instantly — including Bayes' theorem for reversing a conditional probability. Enter the probabilities of your two events, mark whether they're independent, or supply their joint probability directly, and get every related probability at once.
The joint (AND), the union (OR), and both conditional probabilities are computed together. A Venn diagram shows exactly how the events overlap, and every formula used is shown with your actual numbers substituted in.
Ideal for probability homework, exam prep, or quickly sanity-checking a calculation by hand. No sign-up, no downloads — just clear, accurate probability results.
About the Probability Calculator
How It Works & Methodology
The Probability Calculator computes every common probability relationship between two events from a small set of inputs: the joint (AND) probability, the union (OR) probability, and both conditional probabilities, including Bayes' theorem. An independent-events toggle auto-derives the joint probability when the events don't influence each other, and input consistency is checked so impossible combinations are flagged rather than silently accepted.
Features
AND / OR / conditional
All the standard two-event probability relationships computed at once.
Bayes' theorem
Reverses a conditional probability, with the theorem shown explicitly.
Independent-events toggle
Auto-derives P(A∩B) = P(A)×P(B) when events are independent.
Venn diagram
Visualizes exactly how the two events overlap.
Mathematical Basis & Practical Verification
The Probability Calculator is built on parametric and non-parametric probability distributions, hypothesis test statistics (Z, t, χ²), and descriptive quartile/dispersion formulas. Free probability calculator for AND, OR, and conditional probability plus Bayes' theorem, with a Venn diagram. The interface validates every input parameter in real time and surfaces intermediate steps alongside the final result.
All computations for the Probability Calculator follow the definitions established in NIST/SEMATECH e-Handbook of Statistical Methods (National Institute of Standards and Technology (NIST)) and ISO 3534-1: Statistics — Vocabulary and Symbols (International Organization for Standardization (ISO)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/probability-calculator.spec.ts, you can inspect boundary conditions, verify dimensional consistency across statistics units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Calculate population and sample standard deviation with full step-by-step working, plus mean, variance, and more from your data set.
Paste a data set and get all descriptive statistics plus a histogram.
Convert between a z-score and a percentile with a shaded bell curve.
Calculate a confidence interval for a mean (z or t interval) or proportion, with margin of error and critical value shown step by step.
Authoritative Sources & Standards
- NIST/SEMATECH e-Handbook of Statistical Methods — National Institute of Standards and Technology (NIST)
- ISO 3534-1: Statistics — Vocabulary and Symbols — International Organization for Standardization (ISO)
Frequently Asked Questions
What's the difference between AND and OR probability?
P(A AND B) is the chance both events happen; P(A OR B) is the chance at least one happens.
How do I calculate P(A OR B)?
Using P(A) + P(B) − P(A AND B), which avoids double-counting the overlap.
What is conditional probability?
The probability of one event occurring given that another has already occurred, written P(A|B).
What is Bayes' theorem used for?
Reversing a conditional probability — finding P(A|B) when you know P(B|A), P(A), and P(B).
What does "independent events" mean here?
If A and B are independent, knowing one occurred doesn't change the probability of the other, so P(A AND B) simply equals P(A) × P(B).
What if my inputs are inconsistent?
The calculator checks that your joint probability doesn't exceed either individual probability, and flags impossible combinations with an explanation.
Does it show a diagram?
Yes, a Venn diagram visualizes the overlap between your two events.
Does it show the formulas used?
Yes, every probability rule is shown with your specific numbers substituted in.