Probability Calculator Free | Events, Odds & nCr Online

🔢 Math & Numbers Free Forever

Probability Calculator: Events, Odds & Combinations

Calculate basic event probability, combined AND/OR probability for two events, and combinations or permutations (nCr / nPr), all instantly in your browser.

Favorable Outcomes
Total Possible Outcomes
About This Tool

How this probability calculator handles single events, combined events, and counting problems

Probability questions generally fall into three families: how likely is one thing to happen, how do two probabilities combine, and how many ways can you arrange or choose items from a group. This tool treats each as its own mode with its own formula, rather than forcing every question through one generic calculation, since the correct math genuinely differs between them.

Everything computes client side. The combinations and permutations mode uses JavaScript’s BigInt type for factorials, so results stay exact rather than drifting into floating point rounding once numbers get large.

Mode 1: single-event probability

Step 1 Set up the ratio Classical probability is favorable outcomes divided by total possible outcomes: P = favorable / total. Rolling a 4 on a six-sided die is 1 favorable outcome out of 6 total, so P = 1/6.
Step 2 Derive the complement The probability of the event not happening is always 1 minus the probability of it happening. This is the complement rule, and it holds for any event without exception.
Step 3 Convert to odds Odds for an event are the ratio of favorable to unfavorable outcomes, not favorable to total, which is a common point of confusion. 1/6 probability becomes odds of 1 to 5, not 1 to 6.

Mode 2: combined events, AND and OR

For two events A and B, the tool applies different rules depending on whether you mark them independent or mutually exclusive. Independent events, like two separate coin flips, use multiplication for AND and inclusion exclusion for OR. Mutually exclusive events, ones that literally cannot both happen, like rolling a 2 and a 5 on the same single die roll, skip the AND calculation entirely, since it is always zero.

// independent events pAnd = pa * pb; pOr = pa + pb – pAnd; // inclusion-exclusion, avoids double counting // mutually exclusive events pAnd = 0; pOr = pa + pb;

The subtraction in the independent-OR formula matters more than it looks. Simply adding P(A) and P(B) double counts the overlap where both events occur simultaneously. Subtracting P(A and B) removes that double count exactly once, which is the inclusion exclusion principle in its simplest two set form.

Mode 3: combinations and permutations

FormulaMeaningOrder matters?
nPr = n! / (n−r)!PermutationsYes
nCr = n! / (r! × (n−r)!)CombinationsNo
// exact factorials using BigInt function factorial(n) { var result = 1n; for (var i = 2n; i <= BigInt(n); i++) result *= i; return result; } var nPr = nFact / nrFact; var nCr = nFact / (rFact * nrFact);
Worked example: choosing 3 from 5. nCr with n=5, r=3: 5! / (3! × 2!) = 120 / (6 × 2) = 10. There are 10 distinct groups of 3 you can form from 5 items when order doesn’t matter, say picking 3 toppings from 5 available. nPr for the same numbers is 5! / 2! = 60, since arranging 3 chosen items in a specific order, like awarding gold, silver, and bronze from 5 racers, gives 6 times more possibilities than just picking who is on the podium.
Simplified fraction display

Single-event results are shown as a reduced fraction alongside the percentage, using the same GCD-based simplification found across this site’s other math tools, so 50/200 displays as 1/4.

Sanity check on mutually exclusive inputs

If you mark two events mutually exclusive but their probabilities sum past 1, the tool flags it, since two genuinely mutually exclusive events can never have probabilities that add past certainty.

Complement rule Inclusion-exclusion Exact BigInt factorials

Questions probability answers

Working out odds in a card or dice game, estimating the chance of two independent risks both occurring in a project plan, calculating lottery or raffle odds using combinations, figuring out how many possible arrangements exist for a schedule or seating chart, and checking basic statistics homework involving compound probability. Anywhere uncertainty needs to be quantified as a number between 0 and 1, or counted as a number of possible arrangements, one of these three modes covers it.

Common Questions

FAQ: Probability Calculator

Divide the number of favorable outcomes by the total number of possible outcomes: P(event) = favorable ÷ total. For example, the probability of rolling a 4 on a standard six-sided die is 1 favorable outcome divided by 6 total outcomes, or about 16.67%.

Independent events don’t affect each other’s probability, like flipping a coin twice, the first flip’s result has no bearing on the second. Mutually exclusive events cannot both happen at the same time, like a single coin flip landing on both heads and tails simultaneously. These are opposite concepts and use different formulas, so mixing them up is a very common probability mistake.

By definition, mutually exclusive events cannot occur together, so the probability of both happening simultaneously is always zero. This is different from independent events, where P(A and B) equals P(A) × P(B), which is generally greater than zero unless one of the individual probabilities is zero.

A combination counts selections where order doesn’t matter (choosing 3 toppings for a pizza, regardless of the order you name them), while a permutation counts arrangements where order does matter (assigning gold, silver, and bronze medals to 3 of 10 racers). Permutations are always greater than or equal to combinations for the same n and r, since every combination can typically be arranged in multiple orders.

Odds for an event are expressed as the ratio of favorable outcomes to unfavorable outcomes (not favorable to total, which is probability), so odds of 1:5 mean 1 favorable outcome for every 5 unfavorable ones. Odds against simply flips that ratio. Odds and probability describe the same underlying likelihood but are conventionally expressed differently, especially in betting contexts.

No, valid probabilities are always between 0 and 1 inclusive (or 0% to 100%), a probability of 0 means the event is impossible and 1 means it’s certain. If a calculation produces a value outside that range, it usually indicates invalid inputs, like probabilities for mutually exclusive events that don’t actually sum to something sensible.

Privacy Overview

Cookies let this site remember your preferences and show us which tools people actually use. Full detail sits in our Privacy Policy.