Skip to content

Probability Calculator

Calculate probabilities for single events, combined events, conditional probability, and permutations/combinations with step-by-step formulas.

Enter values to see the result

How to Calculate Probability: Complete Guide with Formulas

Probability is the branch of mathematics that measures the likelihood of an event occurring. It ranges from 0 (impossible) to 1 (certain) and is fundamental to statistics, data science, gambling, insurance, weather forecasting, and everyday decision-making. Understanding probability helps you assess risk and make informed choices.

The basic formula for probability is P(E) = favorable outcomes / total outcomes. For example, the probability of rolling a 3 on a fair die is 1/6. When dealing with multiple events, you need to consider whether they are independent or dependent, and whether they are mutually exclusive.

For independent events, the probability of both occurring (A AND B) equals P(A) times P(B). For mutually exclusive events, the probability of either occurring (A OR B) equals P(A) plus P(B). Conditional probability P(A|B) measures the likelihood of A given that B has already occurred, calculated as P(A and B) / P(B).

Permutations and combinations are counting techniques used in probability. Permutations count arrangements where order matters: P(n,r) = n!/(n-r)!. Combinations count selections where order does not matter: C(n,r) = n!/(r!(n-r)!). These are essential for lottery odds, card games, and combinatorial problems.

FAQ

Share
SponsoredAd

Advanced computation with Wolfram Alpha Pro

Access powerful computational tools for math, science, and data analysis. Step-by-step solutions included.

FAQ

What is the difference between permutation and combination?+
Permutations count arrangements where order matters (ABC is different from CBA). Combinations count selections where order does not matter (ABC equals CBA). Use permutations for rankings or sequences, and combinations for groups or teams.
How do I calculate the probability of two independent events both happening?+
Multiply their individual probabilities: P(A and B) = P(A) × P(B). For example, the chance of flipping heads twice in a row is 0.5 × 0.5 = 0.25, or 25%.
What is conditional probability and when do I use it?+
Conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred. Use it when the outcome of one event affects the likelihood of another, such as drawing cards without replacement.
Can probability be greater than 1 or less than 0?+
No. Probability always ranges from 0 (impossible event) to 1 (certain event). If your calculation yields a value outside this range, there is an error in your inputs or assumptions.
Is my data stored or sent anywhere?+
No. All probability calculations run entirely in your browser using JavaScript. No data is sent to any server or stored anywhere.

Most Popular Tools