Calculation Type
Single Event Probability
P(A) = Favorable Outcomes / Total Outcomes
1 favorable outcomes out of 6 total possibilities.
Common Probability Examples
Probability Formulas
Basic Probability
P(A) = favorable / total
Complement
P(not A) = 1 - P(A)
AND (Independent)
P(A and B) = P(A) × P(B)
OR
P(A or B) = P(A) + P(B) - P(A∩B)
?How Do You Calculate Probability?
Probability measures how likely an event is to occur, ranging from 0 (impossible) to 1 (certain). Basic formula: P(A) = favorable outcomes / total outcomes. For multiple independent events: P(A and B) = P(A) x P(B). For either event: P(A or B) = P(A) + P(B) - P(A and B). Odds represent the ratio of success to failure.
Try These Examples
Click an example to load sample data
Practice Probability Problems
Test your understanding of probability
Practice with 4 problems to test your understanding.
Your Results
Results are also pinned to the bottom of your screen.Result
Probability
0.1667
16.67%
What is Probability?
Probability is the mathematical study of chance and uncertainty. It measures the likelihood of an event occurring as a number between 0 and 1 (or 0% to 100%). Probability theory is fundamental to statistics, data science, insurance, weather forecasting, and scientific research involving uncertainty.
Key Facts About Probability
- Probability ranges from 0 (impossible) to 1 (certain), or 0% to 100%
- P(Event) = Number of favorable outcomes / Total number of outcomes
- P(A and B) = P(A) x P(B) for independent events
- P(A or B) = P(A) + P(B) - P(A and B) (addition rule)
- Odds = Probability / (1 - Probability), e.g., 25% probability = 1:3 odds
- Complementary probability: P(not A) = 1 - P(A)
- Conditional probability: P(A|B) = P(A and B) / P(B)
- Expected value = Sum of (outcome x probability) for all outcomes
Quick Answer
Probability measures how likely an event is to occur, ranging from 0 (impossible) to 1 (certain). Basic formula: P(A) = favorable outcomes / total outcomes. For multiple independent events: P(A and B) = P(A) x P(B). For either event: P(A or B) = P(A) + P(B) - P(A and B). Odds represent the ratio of success to failure.
Frequently Asked Questions
What is probability?
Probability measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). It's calculated as the number of favorable outcomes divided by the total number of possible outcomes. A probability of 0.5 means a 50% chance.
What are independent vs dependent events?
Independent events don't affect each other's probability (like coin flips). For independent events, P(A and B) = P(A) × P(B). Dependent events influence each other (like drawing cards without replacement). Dependent events require conditional probability.
What is the complement of a probability?
The complement of event A is "not A" - all outcomes where A doesn't occur. P(not A) = 1 - P(A). If there's a 30% chance of rain, there's a 70% chance of no rain. Complements always sum to 1 (100%).
What is the binomial distribution?
The binomial distribution models the probability of getting exactly k successes in n independent trials, each with probability p of success. Formula: P(X=k) = C(n,k) × p^k × (1-p)^(n-k). Example: probability of getting 3 heads in 5 coin flips.
How do I calculate P(A or B)?
For mutually exclusive events (can't both happen): P(A or B) = P(A) + P(B). For non-mutually exclusive events: P(A or B) = P(A) + P(B) - P(A and B). The subtraction avoids counting the overlap twice.
What are odds vs probability?
Probability is favorable/total outcomes. Odds compare favorable to unfavorable outcomes. If probability is 1/4 (25%), odds are 1:3 (1 favorable to 3 unfavorable). To convert: odds a:b means probability = a/(a+b).
Last updated: 2026-01-15
How this works
Computes probabilities for discrete events using standard combinatorial formulas: P(A) = favorable/total. For dependent events, conditional probability P(A|B) = P(A∩B)/P(B). Binomial and normal distribution support included.
Sources
- [1]NIST Digital Library of Mathematical FunctionsAcademicdlmf.nist.govAccessed Apr 21, 2026

Full-stack software engineer specializing in embedded systems, web architecture, and AI/ML. Founder of Practical Web Tools. Built the gesture-controlled drone IP acquired by KD Interactive (Aura Drone, sold on Amazon).