Probability Calculator — 8 Types
Select a calculation type, fill in the values, and get the answer with complete step-by-step working
Favourable / Total
P(not A)
P(A or B)
P(A and B)
P(A|B)
Updated belief
nCk × pᵏ(1-p)ⁿ⁻ᵏ
Combinations & Perms
Result Summary
More Useful Results
Visual Breakdown
Step-by-Step Working
What Is Probability? A Complete Guide
From the basic definition to the rules that govern chance, uncertainty, and statistics
Probability is a numerical measure of how likely an event is to occur, expressed as a number between 0 (impossible) and 1 (certain). A probability of 0.5 means the event is equally likely to happen or not happen — like a fair coin flip. A probability of 0.9 means the event is very likely. Written as a percentage, 0.9 = 90%.
The formal study of probability began in the 17th century when mathematicians Blaise Pascal and Pierre de Fermat corresponded about gambling problems. Today, probability underpins statistics, machine learning, finance, insurance, medical research, physics, and everyday decisions. Every weather forecast, every clinical trial result, every spam filter, and every credit score relies on probability.
1. P(A) ≥ 0 for any event A — probabilities are non-negative.
2. P(S) = 1 — the probability of the entire sample space S is 1.
3. For mutually exclusive events A and B: P(A ∪ B) = P(A) + P(B).
All of probability theory follows logically from these three axioms.
Medical Diagnosis
Doctors use Bayes' theorem to calculate the actual probability that a positive test result means a disease is present — accounting for false positive rates and disease prevalence.
Weather Forecasting
"70% chance of rain" is a probability. Meteorologists use probability models trained on decades of atmospheric data to quantify uncertainty in weather predictions.
Finance & Insurance
Actuaries use probability distributions to price insurance premiums. Portfolio managers use probability to model asset returns and calculate Value at Risk (VaR).
Machine Learning
Probabilistic classifiers like Naïve Bayes, logistic regression, and neural network softmax outputs all return probabilities. Language models predict the most probable next word.
Games & Gambling
Casinos design games using precisely calculated probabilities to ensure a house edge. Understanding probability is the foundation of any winning poker or blackjack strategy.
Quantum Physics
In quantum mechanics, probabilities are not just useful approximations — they are fundamental. A particle genuinely has no definite position until measured; only a probability wave.
Types of Probability — In Depth
Understanding theoretical, experimental, and subjective probability with examples
Theoretical (Classical) Probability applies when all outcomes are equally likely. P(A) = number of favourable outcomes ÷ total possible outcomes. Rolling a fair die: P(4) = 1/6 ≈ 0.1667. Drawing an ace from a standard deck: P(ace) = 4/52 = 1/13 ≈ 0.077.
Experimental (Empirical) Probability is based on actual observed data. If you flipped a coin 1,000 times and got 487 heads, the empirical probability of heads = 487/1000 = 0.487. As the number of trials grows, empirical probability converges to theoretical probability — this is the Law of Large Numbers.
Subjective Probability reflects personal belief or expert judgment, not a repeatable experiment. "I believe there's a 70% chance my team wins tomorrow." A doctor saying "I give this patient a 30% chance of recovery." These are still useful probabilities — they can be refined using Bayes' theorem as new evidence emerges.
Complete Probability Formula Reference
All 8 probability types covered in this calculator — formulas, descriptions, and examples
| Type | Formula | When to Use | Example |
|---|---|---|---|
| Basic P(A) | P(A) = f / n | All outcomes equally likely | P(head) = 1/2 = 0.5 |
| Complement | P(A') = 1 − P(A) | Probability of "not A" | P(not 6) = 1 − 1/6 = 5/6 |
| Addition Rule | P(A∪B) = P(A)+P(B)−P(A∩B) | A or B (or both) | P(heart or ace) = 13/52 + 4/52 − 1/52 |
| Multiplication (Indep.) | P(A∩B) = P(A)×P(B) | Both A and B, independent | P(HH) = 0.5 × 0.5 = 0.25 |
| Multiplication (Dep.) | P(A∩B) = P(A)×P(B|A) | Both A and B, dependent | Drawing 2 aces without replacement |
| Conditional P(A|B) | P(A|B) = P(A∩B)/P(B) | Probability of A given B occurred | P(ace | face-up card is red) = ? |
| Bayes' Theorem | P(A|B) = P(B|A)×P(A) / P(B) | Update prior belief with evidence | Positive test → actually sick? |
| Binomial P(X=k) | C(n,k) × pᵏ × (1−p)ⁿ⁻ᵏ | k successes in n trials | 3 heads in 10 coin flips |
| Combinations nCr | n! / (r! × (n−r)!) | Choose r from n, order doesn't matter | C(52,5) = 2,598,960 poker hands |
| Permutations nPr | n! / (n−r)! | Arrange r from n, order matters | P(10,3) = 720 ways |
Bayes' Theorem — The Most Powerful Rule in Probability
How to update your beliefs with evidence — the foundation of rational reasoning
Bayes' theorem, published posthumously in 1763 by Reverend Thomas Bayes, describes how to rationally update a probability estimate when new evidence arrives. The formula is:
Classic medical example: A disease affects 1% of the population. A test for it has 90% sensitivity (P(positive|disease) = 0.90) and 5% false positive rate (P(positive|no disease) = 0.05). If you test positive, what is the actual probability you have the disease?
Most people say "90%" — they focus on the test accuracy and ignore the base rate. Using Bayes: P(disease|positive) = (0.90 × 0.01) / [(0.90×0.01) + (0.05×0.99)] = 0.009 / 0.0585 ≈ 15.4%. Despite a 90% accurate test, a positive result means only a ~15% chance of actually having the disease. This is called the base rate fallacy.
Binomial Distribution — Complete Guide
When to use it, the formula, mean & variance, and worked examples
The binomial distribution models the number of successes in a fixed number of independent trials, where each trial has the same probability p of success. Four conditions must hold: (1) fixed number of trials n, (2) each trial is independent, (3) each trial is success/failure, (4) probability p is constant.
Examples where binomial applies: number of heads in 10 coin flips, number of defective items in a batch of 50, number of patients who recover out of 30 given a treatment, number of free throws made in 20 attempts.
Worked example: A fair coin is flipped 10 times. What is P(exactly 3 heads)?
n=10, k=3, p=0.5. P(X=3) = C(10,3) × 0.5³ × 0.5⁷ = 120 × 0.125 × 0.0078 = 0.1172 (11.72%)
Frequently Asked Questions About Probability
Answers to the most common probability questions, from basics to Bayes