Probability Calculator
Calculate event probability, combinations, permutations, and conditional probability.
Multiple Trials
Combinations & Permutations
Two Independent Events
How to Use This Probability Calculator
- Single event probability: Enter the number of favorable outcomes and total possible outcomes. The calculator instantly shows the probability as a fraction, decimal, and percentage.
- Multiple trials: Set the number of trials to see the probability of at least one success, all successes, or zero successes over repeated independent trials.
- Combinations and permutations: Enter n (total items) and r (items to choose). C(n,r) gives unordered selections; P(n,r) gives ordered arrangements.
- Two events: Enter the probability of each event to calculate joint probability (both happening), union probability (either happening), and complements.
Understanding Probability
Probability measures 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 has an equal chance of happening or not happening. Probability is fundamental to statistics, risk assessment, gambling, insurance, weather forecasting, and countless other fields.
The Basic Probability Formula
The probability of a simple event is: P(E) = favorable outcomes / total possible outcomes. For a fair six-sided die, the probability of rolling a 4 is 1/6 because there is 1 favorable outcome (the 4) out of 6 equally likely outcomes.
Combinations vs Permutations
Both count ways to select items from a larger set, but they differ in whether order matters. Combinations (C(n,r) = n! / (r!(n-r)!)) count unordered selections: choosing 3 cards from a deck of 52 gives C(52,3) = 22,100 possible hands. Permutations (P(n,r) = n! / (n-r)!) count ordered arrangements: the number of ways to arrange 3 books on a shelf from 10 books is P(10,3) = 720.
The Complement Rule
The probability of at least one success in repeated trials is most easily calculated using the complement: P(at least one) = 1 - P(none). For example, the chance of getting at least one head in 3 coin flips is 1 - (0.5)^3 = 0.875 or 87.5%. This is much simpler than calculating P(exactly 1) + P(exactly 2) + P(exactly 3) separately.
Independent vs Dependent Events
Two events are independent if one does not affect the other. Coin flips are independent: the result of the first flip has no effect on the second. For independent events, P(A and B) = P(A) x P(B). Dependent events affect each other: drawing cards without replacement changes the remaining probabilities after each draw.