Skip to content

Probability Calculator

Calculate probability of an event, odds, and combinations/permutations.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Probability Calculator

e.g., 0.5 for a coin flip, 1/6 ≈ 0.1667 for a die face.

📊
Enter your values and click Calculate

About

Probability is the mathematical framework for quantifying uncertainty. A probability is a number between 0 (impossible) and 1 (certain) that represents the long-run relative frequency of an event, or equivalently the strength of belief that the event will occur. The four most common probability calculations this calculator supports are: (1) the probability of a single event, (2) the joint and combined probabilities of two independent events, (3) the probability of at least one success in N independent trials, and (4) the complement (the probability that an event does NOT occur).

Two events are independent if knowing whether one occurred tells you nothing about whether the other occurred — formally, P(A | B) = P(A). For independent events, the joint probability P(A and B) is simply P(A) × P(B), and the combined probability P(A or B) is P(A) + P(B) − P(A and B). The subtraction is the inclusion-exclusion principle: simply adding P(A) + P(B) double-counts the cases where both occur. For dependent events (where knowing B changes your belief about A), the joint probability is P(A | B) × P(B), and the analysis requires Bayes' theorem — not handled by this calculator.

The "at least one" calculation is the key trick of probability: rather than summing the probabilities of getting exactly 1, exactly 2, … exactly N successes (which is tedious), compute the complement: P(at least one) = 1 − P(none) = 1 − (1 − p)^N. This is the famous "birthday problem" approach — the chance that at least two people in a room of 23 share a birthday is 50%, because the complement (everyone has a different birthday) is easier to compute. The same trick gives the probability of failure in redundant systems: a 99% reliable component fails 1% of the time, but ten of them in parallel fail (0.01)^10 = 10^−20 of the time.

How to Use

  1. Pick the Mode: Single event, Two independent events, At least one of N, or Complement.
  2. Enter the probability (or probabilities) as decimals between 0 and 1 (e.g., 0.5 for a coin flip, 0.1667 for one die face).
  3. For Two independent events, enter P(A) and P(B). The calculator shows P(A and B), P(A or B), and P(A|B).
  4. For At least one, enter P(each trial) and N. The calculator computes 1 − (1−p)^N.
  5. For Complement, enter P(event); the calculator returns P(not event) = 1 − P(event).

Formula

Single event:

P(event) is given directly.
P(not event) = 1 − P(event)

Two independent events:

P(A and B) = P(A) × P(B) (multiplication rule for independent events)
P(A or B) = P(A) + P(B) − P(A∩B) (inclusion-exclusion principle)
P(A | B) = P(A) (definition of independence)

At least one of N independent trials:

P(at least one) = 1 − P(none) = 1 − (1 − p)^N

Complement:

P(not event) = 1 − P(event)

Odds in favor = p / (1 − p), expressed as a ratio (e.g., 3 to 1 = 75% probability).

Worked Example

Example 1 — Single event: a fair coin flip:

  • P(heads) = 0.5
  • P(not heads) = 1 − 0.5 = 0.5
  • Odds in favor = 0.5 / 0.5 = 1 to 1 ("even money")

Example 2 — Two independent events: drawing two aces in a row (with replacement):

  • P(A) = P(ace on draw 1) = 4/52 = 0.0769
  • P(B) = P(ace on draw 2 | replaced) = 4/52 = 0.0769
  • P(A and B) = 0.0769² ≈ 0.0059 (about 0.59%)
  • P(A or B) = 0.0769 + 0.0769 − 0.0059 ≈ 0.1479 (about 14.79%)

Example 3 — At least one of N: rolling at least one 6 in 4 die rolls:

  • P(6 on a single roll) = 1/6 ≈ 0.1667
  • P(no 6 in 4 rolls) = (5/6)^4 ≈ 0.4823
  • P(at least one 6) = 1 − 0.4823 ≈ 0.5177 (about 51.77%)
  • Note: 4 × 1/6 = 0.667 would be wrong — that's the expected count, not the probability of at least one.

Example 4 — Complement: an event with P = 0.3:

  • P(not event) = 1 − 0.3 = 0.7 (70%)
  • Odds in favor of event = 0.3 / 0.7 ≈ 0.4286 to 1 (or 3 to 7)

Tips

  • Always use the complement trick for "at least one" problems — summing the exact-k probabilities is tedious and error-prone.
  • For mutually exclusive events (can't both occur), P(A or B) = P(A) + P(B) (no subtraction). For non-exclusive events, subtract P(A∩B) to avoid double-counting.
  • The "odds" of an event are different from its probability — odds of 3 to 1 means p = 3/(3+1) = 0.75 = 75% probability.
  • The birthday problem: with N people, P(at least two share a birthday) = 1 − (365/365 × 364/365 × ... × (365-N+1)/365). It crosses 50% at N=23 and 99% at N=57.
  • For rare events, P(at least one in N) ≈ N × p when N × p is small (< 0.1) — this is the "rare event approximation." Outside that range, use the exact formula.

Common Mistakes

  • Treating dependent events as independent — for cards drawn without replacement, P(2nd ace | 1st ace) ≠ P(ace), because the deck has changed.
  • Computing P(at least one in N) as N × p — this is the expected count of successes, NOT the probability of at least one. The exact formula is 1 − (1−p)^N, which is always ≤ 1.
  • Adding P(A) + P(B) for non-exclusive events without subtracting the intersection — double-counts the cases where both occur.
  • Confusing probability with odds — probability is p (a fraction 0–1), odds is p/(1−p) (a ratio that can exceed 1). A 75% probability has 3-to-1 odds in favor; the two numbers are different.
  • Assuming past outcomes affect future ones (the gambler's fallacy) — if a fair coin lands heads 10 times, the 11th flip is still 50/50. Independence means past results don't change future probabilities.

Frequently Asked Questions

What is the difference between probability and odds?
Probability is p (a fraction between 0 and 1, or equivalently a percentage). Odds is p / (1 − p), a ratio that can be greater than 1. A 75% probability corresponds to odds of 3-to-1 in favor (3 successes for every 1 failure). A 25% probability corresponds to odds of 1-to-3 in favor, or equivalently 3-to-1 against. The two are mathematically equivalent but used in different contexts — probability in statistics, odds in gambling and betting markets.
How do I compute P(at least one) for N independent trials?
Use the complement trick: P(at least one) = 1 − P(none) = 1 − (1 − p)^N. For example, with p = 0.5 (coin flip) and N = 3 trials, P(at least one head) = 1 − (1/2)^3 = 1 − 1/8 = 7/8 = 87.5%. Never use N × p — that&apos;s the expected count, not the probability of at least one.
When are two events independent?
Two events A and B are independent if knowing whether B occurred doesn&apos;t change your belief about A — formally, P(A | B) = P(A). Equivalently, P(A and B) = P(A) × P(B). Coin flips are independent (the 10th flip is 50/50 regardless of the previous 9). Card draws with replacement are independent; without replacement they are dependent (drawing an ace first changes the probability that the 2nd card is an ace from 4/52 to 3/51).
What is the birthday problem?
The probability that at least two people in a group of N share a birthday. With N = 23 people, the probability is about 50.7% — surprisingly high, because there are N × (N−1) / 2 = 253 pairs of people, each with a 1/365 chance of sharing a birthday. The complement trick applies: P(no shared birthday) = (365/365) × (364/365) × ... × ((365-N+1)/365). With N = 23, this complement is about 49.3%, so P(at least one shared birthday) = 50.7%.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Probability Calculator — Single, Multiple & Conditional Odds