Skip to content
Calcipedia
Probability Calculator instructional illustration

Probability Calculator

Compare event probability rules and count sample spaces with combinations, permutations, nCr, nPr, and factorial breakdowns.

Last updated

Compare probability rules without rewriting the algebra Switch between single-event, complement, joint, union, and conditional probability workflows. Probability inputs accept decimals, percentages, or fractions such as 0.25, 25%, or 1/4.

Scenario presets

Chance of rolling one chosen value on a fair six-sided die.

Probability mode

Scope notes

This calculator focuses on classical, joint, union, conditional, and counting-based probability setup. For repeated-trial models such as binomial or Poisson probabilities, use the dedicated probability-distribution calculators instead.

Single-event probability

16.67%

With 1 favorable outcomes out of 6 equally likely outcomes, the event probability is 16.67%.

Decimal probability
0.17
One-in form
1 in 6
Complement
83.33%
Odds against
0.83 to 0.17

Comparison sheet

Favorable outcomes

Successful outcomes counted directly.

1

Total outcomes

Sample-space size for equally likely outcomes.

6

Event probability P(A)

Headline result for the current mode.

16.67%

Complement P(not A)

The probability on the other side of certainty.

83.33%

Formula

P(A) = favorable outcomes / total outcomes

Classical probability for equally likely outcomes.

Assumption

Assumes equally likely outcomes in the sample space.

How to interpret the result Use this mode when you can count favorable outcomes and total equally likely outcomes directly.

Counting outcomes

Combinations, permutations, and factorials for probability setup

Use this nCr and nPr calculator when a probability problem starts by asking how many outcomes are possible. Combinations count unordered selections, permutations count ordered arrangements, and factorial terms show the repeated orderings that connect the two.

Counting examples

nCr and nPr

52C5 = 2,598,960

Choosing 5 items from 52 gives 311,875,200 ordered arrangements and 2,598,960 unordered groups.

Combinations nCr
2,598,960

7 digits

Permutations nPr
311,875,200

9 digits

Factorial term r!
120

The number of orderings inside each selected group.

Symmetry partner
52C47

nCr equals nC(n-r).

How to read the two counts

The permutation total is larger because each 52 choose 5 group can be reordered in 120 different ways.

For these inputs, nPr ÷ nCr = 5! = 120. Each unordered group appears that many times in the permutation count.

Combination symmetry still holds: 52 choose 5 = 52 choose 47.

Formula breakdown

P(52,5) = 52! / (52 − 5)! = 52! / 47! = 311,875,200

C(52,5) = 52! / (5! × 47!) = 2,598,960

Factorial terms: 52! = 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000, 5! = 120, and (52 - 5)! = 258,623,241,511,168,180,642,964,355,153,611,979,969,197,632,389,120,000,000,000.

Exact integer output

nCr exact

2,598,960

nPr exact

311,875,200

← All Probability calculators

Probability

Probability calculator: event rules, combinations, permutations, and factorials

A probability calculator helps you move between the most common probability questions without reworking the algebra each time. Use it to find a single-event chance, a complement, a joint or union probability, a conditional probability, or the combinations, permutations, and factorial counts needed to build the sample space first.

What this probability calculator helps you compare

Probability questions often look similar on the surface but use different rules underneath. Sometimes you are counting favorable outcomes from a clearly defined sample space. Sometimes you want the complement because it is easier to describe what does not happen. In other situations you need the overlap between two events, or you need to update the answer after learning that one event has already occurred.

This page brings those workflows together in one place. The single-event and complement modes are useful when outcomes are equally likely, such as cards, dice, or raffle tickets. The both-events, at-least-one, and conditional modes are more useful when you already know or can estimate event probabilities and need the correct rule for intersections, unions, or event dependence.

How the probability formulas change by question type

The classical rule for a single event is straightforward: divide favorable outcomes by total outcomes. The complement rule then says the chance of not getting that event is 1 minus the event probability. Those two formulas cover a large share of classroom and everyday probability problems because many questions are easiest to solve by counting outcomes or by subtracting from certainty.

Two-event questions are where users often make mistakes. If you want the chance that both events occur and the events are independent, multiply their probabilities. If you want the chance that at least one occurs, add the separate probabilities and subtract the overlap once. If one event changes the meaning of the other, use conditional probability instead: divide the overlap by the event you already know has occurred. This is why P(A|B) and P(B|A) are usually different even when they involve the same two events.

P(A) = favorable outcomes / total outcomes

Classical probability when the sample-space outcomes are equally likely.

P(not A) = 1 - P(A)

Complement rule. This is the specific relationship the calculator applies when building the result.

P(A and B) = P(A) x P(B)

Joint probability when A and B are independent.

P(A or B) = P(A) + P(B) - P(A and B)

General union rule for the probability of at least one event.

P(A|B) = P(A and B) / P(B)

Conditional probability of A after B has occurred.

Counting outcomes before calculating probability

Many probability problems start with a counting question: how many outcomes are possible before you can divide favorable outcomes by total outcomes? That is why this probability calculator now includes a combinations and permutations section. It can work as an nCr calculator, an nPr calculator, and a factorial calculator for distinct items chosen without repetition.

Use combinations when order does not matter. A 5-card poker hand is counted with 52 choose 5 because the hand is the same no matter which order the cards were dealt. Use permutations when order matters. First, second, and third place in a 10-runner race are counted with 10P3 because each ordering creates a different result.

C(n, r) = n! / (r! x (n - r)!)

The number of unordered selections of r items from n distinct items, also called n choose r or nCr.

P(n, r) = n! / (n - r)!

The number of ordered arrangements of r items chosen from n distinct items, also called nPr.

nPr = nCr x r!

Each unordered group can be arranged in r! different orders.

Worked examples: die rolls, overlapping events, and conditional probability

Suppose you want the probability of rolling a 6 on a fair die. There is 1 favorable outcome out of 6, so the single-event probability is 1/6, or about 16.67%. The complement, not rolling a 6, is 5/6, or about 83.33%. This is the cleanest kind of probability problem because the outcomes are equally likely and easy to count.

Now suppose a survey says 36% of people own a dog, 30% own a cat, and 14% own both. The probability of owning a dog or a cat is not 36% + 30% = 66%, because the overlap would be double-counted. The correct union probability is 36% + 30% - 14% = 52%. That result is useful because it also lets you break the situation into only-dog, only-cat, both, and neither segments.

For a conditional example, imagine drawing one card from a standard deck and asking for the probability that it is red given that it is a face card. There are 12 face cards total and 6 of them are red, so P(red|face card) = 6/12 = 0.5. That does not mean P(face card|red) is also 0.5. Among the 26 red cards, only 6 are face cards, so P(face card|red) = 6/26, or about 23.08%. The direction of the condition changes the denominator and often changes the answer materially.

Worked examples: 52 choose 5 and 10P3

For combinations, the classic example is 52 choose 5. A poker hand is an unordered group, so C(52,5) = 2,598,960. If you counted the same five cards in every possible order, you would be answering a different question and the count would inflate to P(52,5) = 311,875,200.

For permutations, imagine 10 runners competing for first, second, and third place. The order matters, so P(10,3) = 10 x 9 x 8 = 720. If the same 10 people were being chosen for a 3-person committee, the order would not matter and C(10,3) = 120. The factorial term 3! = 6 explains the difference: each committee of three can be ordered six ways.

How to interpret probability, percentages, odds, and one-in language

Probability itself is usually written as a decimal between 0 and 1. Many users prefer a percentage because it is easier to compare quickly, and some prefer a one-in form because it makes rare events easier to visualize. A probability of 0.2 can be described as 20% or roughly 1 in 5. The underlying chance is the same; only the presentation changes.

Odds are related to probability but are not identical. Probability compares favorable outcomes with all outcomes. Odds compare favorable outcomes with unfavorable outcomes. That is why a probability of 1/6 corresponds to odds of 1 to 5, not 1 to 6. This page reports both the probability and supporting interpretations so you can choose the format that makes the result easiest to explain or compare.

When to use a distribution calculator instead

This page covers event probability rules and counting setup. It does not replace a binomial distribution calculator, normal distribution calculator, Poisson distribution calculator, or broader probability distribution calculator. Those pages answer model-specific questions such as the probability of exactly 4 successes in 10 trials, a normal value falling below a cutoff, or a count process producing a given number of events.

The practical split is simple: use this page when you are choosing the right event rule or counting the sample space. Use a distribution calculator when the problem already names a distribution, has repeated trials, includes a mean and standard deviation, or asks for a cumulative probability under a statistical model.

Frequently asked questions

What is the difference between probability and odds?

Probability compares favorable outcomes with all possible outcomes, so it always falls between 0 and 1. Odds compare favorable outcomes with unfavorable outcomes instead. If an event has probability 1/6, the odds in favor are 1 to 5 because there is 1 favorable outcome and 5 unfavorable outcomes. People often use the terms loosely, but in math and statistics they are not interchangeable.

When should I use AND vs OR probability?

Use AND probability when you need both events to occur together, which means you are looking for an intersection like P(A and B). Use OR probability when you need at least one of the events to occur, which means you are looking for a union like P(A or B). The OR formula is not just simple addition unless the events are mutually exclusive, because any overlap must be subtracted once.

What is conditional probability and why is P(A|B) different from P(B|A)?

Conditional probability asks for the chance of one event after you already know another event has happened. The formula changes the denominator, so the direction matters. P(A|B) divides the overlap by P(B), while P(B|A) divides the same overlap by P(A). Unless P(A) and P(B) are identical, those two answers will usually differ.

What does n choose r mean?

n choose r is another name for the combination count C(n,r). It means the number of ways to choose r items from n distinct items when order does not matter. It is also called nCr or a binomial coefficient.

Is a combination the same as a permutation?

No. A permutation counts ordered arrangements, while a combination counts unordered selections. Swapping the order changes a permutation but not a combination.

Why is nCr smaller than nPr?

Every unordered group of r items can be arranged in r! different orders. The permutation count includes all of those orderings, while the combination count collapses them into one group. The two values match only when r is 0 or 1.

What is C(52,5)?

C(52,5) equals 2,598,960. That is the number of distinct 5-card poker hands from a standard 52-card deck when order does not matter.

What is P(10,3)?

P(10,3) equals 720. It counts ordered arrangements of 3 places chosen from 10 distinct people or items.

Does this calculator allow repetition?

The combinations and permutations section assumes distinct items chosen without repetition, so r cannot be greater than n. Problems with replacement, repeated letters, or repeated identical objects need a different counting model.

When should I use a probability distribution calculator instead?

Use a distribution calculator when the problem names a model such as binomial, normal, or Poisson, or when it asks for exact, at-most, at-least, or cumulative probabilities across repeated trials or a statistical distribution.

Guides

Featured in articles

Step-by-step guides that use this calculator to solve real problems.

Also in Probability

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.