Select Calculation Type

Basic
P = favorable/total
A AND B
Joint probability
A OR B
Union of events
🔀
P(A|B)
Conditional prob.
Complement
P(not A)
Binomial
n trials, k successes
Probability
-
-
0 (Impossible)0.51 (Certain)

Dice Roll Simulator

Coin Flip Calculator

🃏 Card Draw Probability

🔢 Combinations & Permutations

🔡 Permutations with Repetition

Factorial Calculator

Probability Formulas

Basic Probability

P(A) = favorable outcomes / total outcomes

Range: 0 ≤ P(A) ≤ 1
P(impossible) = 0
P(certain) = 1
P(A) + P(not A) = 1

AND (Intersection)

Independent events: P(A∩B) = P(A) × P(B)
Dependent events: P(A∩B) = P(A) × P(B|A)

Example: P(head AND 6) = 0.5 × (1/6) = 1/12

OR (Union)

P(A∪B) = P(A) + P(B) − P(A∩B)

Mutually exclusive: P(A∪B) = P(A) + P(B)

Example: P(Heart OR Face card)
= 13/52 + 12/52 − 3/52 = 22/52 ≈ 42.3%

Conditional Probability

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

Read as: "Probability of A given B has occurred"

Bayes' Theorem:
P(A|B) = P(B|A) × P(A) / P(B)

Combinations & Permutations

Combination (order doesn't matter):
C(n,r) = n! / (r! × (n−r)!)

Permutation (order matters):
P(n,r) = n! / (n−r)!

With repetition: nʳ arrangements

Binomial Distribution

P(X=k) = C(n,k) × pᵏ × (1−p)ⁿ⁻ᵏ

Where: n = trials, k = successes, p = prob success

Mean = n×p
Std Dev = √(n×p×(1-p))

Example: P(exactly 3 heads in 10 flips)
= C(10,3) × 0.5³ × 0.5⁷
= 120 × 0.125 × 0.0078125 = 11.72%

Frequently Asked Questions

Probability measures the likelihood of an event, between 0 (impossible) and 1 (certain). Basic formula: P(A) = Favourable outcomes ÷ Total outcomes. Example: rolling a 6 on a fair die: P = 1/6 ≈ 16.7%. Probability can be expressed as a fraction (1/6), decimal (0.167), or percentage (16.7%). The sum of all possible outcome probabilities must equal 1. Complementary events: P(A) + P(not A) = 1 - so P(not rolling a 6) = 1 − 1/6 = 5/6 ≈ 83.3%.
AND (intersection): both events occur. For independent events: P(A and B) = P(A) × P(B). For dependent events: P(A and B) = P(A) × P(B|A). OR (union): at least one event occurs. P(A or B) = P(A) + P(B) − P(A and B). The subtraction removes double-counting of outcomes where both A and B occur. For mutually exclusive events (can't both happen): P(A or B) = P(A) + P(B) - no overlap to subtract.
P(A|B) is the probability of A given that B has already occurred. Formula: P(A|B) = P(A and B) ÷ P(B). Example: drawing an ace given the first card was an ace (without replacement). P(ace₂|ace₁) = P(ace₁ and ace₂) ÷ P(ace₁) = (4/52 × 3/51) ÷ (4/52) = 3/51 ≈ 5.9%. The given condition (B has happened) updates the sample space, changing the probability of A.
Combinations C(n,r) = n! ÷ (r! × (n-r)!): selecting r items from n where order doesn't matter. Choosing 3 from 10 people = C(10,3) = 120. Permutations P(n,r) = n! ÷ (n-r)!: selecting r items where order matters. Arranging 3 from 10 in order = P(10,3) = 720. Rule of thumb: if swapping any two selected items creates a different valid outcome, use permutations. If not, use combinations. Committee (unordered) = combinations. President/VP/Secretary (ordered) = permutations.
Binomial probability calculates P(exactly k successes in n independent trials), each with probability p. Formula: C(n,k) × p^k × (1-p)^(n-k). Example: P(exactly 3 heads in 10 coin flips) = C(10,3) × 0.5³ × 0.5⁷ = 120 × 0.125 × 0.0078125 ≈ 11.72%. Use binomial when: trials are independent, each trial has the same two outcomes, and probability p is constant. Applications: coin flips, quality control, medical trials, survey responses.
Use the complement: P(at least one A) = 1 − P(no A at all). Direct calculation would require summing P(exactly 1) + P(exactly 2) + ... + P(exactly n). Complement is much simpler. Example: P(at least one head in 5 coin flips) = 1 − P(all tails) = 1 − (0.5)⁵ = 1 − 0.03125 = 96.875%. Another example: P(at least one defective item in 10 items, where each has 5% defect rate) = 1 − (0.95)^10 = 1 − 0.5987 = 40.13%.
Probability: P = favourable ÷ total. Odds in favor: favourable:unfavourable. If P(A) = 1/4, odds in favor are 1:3 (1 favourable for every 3 unfavourable). Odds against: 3:1. Converting: if odds are a:b, then P = a ÷ (a+b). If P = 1/4, odds = 1:(4-1) = 1:3. Odds are used in gambling (sports betting quotes odds); probability is the scientific standard. A 2:1 payout in betting means the implied probability is 1 ÷ 3 = 33.3% (plus bookmaker margin).
Yes - probability is continuous from 0 to 1. Any value in [0,1] is a valid probability: 0.001, 0.5, 0.999, π/10, etc. In practice: P = 0 means impossible (not just very unlikely). P = 1 means certain (not just very likely). Some continuous distributions assign P = 0 to individual exact values while still making them possible - like P(x = exactly 1.0000...) from a uniform distribution over [0,2], which is possible but has probability zero. This is why continuous distributions use probability density functions rather than direct probability values.

Probability Calculator - Core Rules, Formulas and Real-World Applications

Probability is the mathematical language of uncertainty. From rolling dice to medical testing, from quality control to financial modelling, probability underlies every area where decisions are made with incomplete information. The formulas are relatively simple - but applying the right formula to the right scenario requires understanding the distinctions between event types, independence, and when to use AND vs OR rules.

The fundamental rule: P(A) = Favourable outcomes ÷ Total outcomes. For a fair six-sided die: P(rolling a 4) = 1 ÷ 6 = 0.1667 = 16.67%. P(rolling a 4 or 5) = 2 ÷ 6 = 0.333 = 33.3%. P(rolling an even number) = 3 ÷ 6 = 0.5 = 50%. All probabilities must be between 0 and 1; all outcomes together must sum to 1.

AND vs OR - The Two Most Important Probability Rules

AND - Both Events Occur (Intersection)

  • Independent events: P(A and B) = P(A) × P(B)
  • Coin flip then die roll: P(heads AND 6) = 0.5 × 1/6 = 1/12 ≈ 8.3%
  • Dependent events: P(A and B) = P(A) × P(B|A)
  • Drawing 2 aces from a deck without replacement: P(A₁) × P(A₂|A₁) = 4/52 × 3/51 = 0.452%
  • Each successive event changes the sample space

OR - At Least One Event Occurs (Union)

  • Formula: P(A or B) = P(A) + P(B) − P(A and B)
  • Subtract overlap to avoid double-counting
  • P(red card OR face card) = 26/52 + 12/52 − 6/52 = 32/52 = 61.5%
  • Mutually exclusive events: P(A or B) = P(A) + P(B) - no overlap to subtract
  • P(rolling 1 OR 6) = 1/6 + 1/6 = 2/6 = 33.3% (can't roll both at once)

The "At Least One" Shortcut - Using the Complement

Calculating "at least one" directly is complex - you'd need to add P(exactly 1) + P(exactly 2) + ... + P(exactly n). The complement approach is far simpler: P(at least one) = 1 − P(none).

Example: P(at least one head in 5 coin flips). Direct method: sum 5 terms. Complement method: P(no heads) = (0.5)⁵ = 0.03125. P(at least one head) = 1 − 0.03125 = 96.875%. Same answer, one calculation. This works because "at least one" and "none" are complementary events - their probabilities must add to 1.

Combinations vs Permutations - The Key Distinction

Both count ways to select items from a group. The distinction is whether order matters:

  • Combinations C(n,r) = n! ÷ (r! × (n-r)!) - Order doesn't matter. Choosing a committee of 3 from 10 people: C(10,3) = 120. The committee {A,B,C} is the same as {B,A,C}.
  • Permutations P(n,r) = n! ÷ (n-r)! - Order matters. Arranging 3 people in 3 specific positions from 10: P(10,3) = 720. President/VP/Secretary: {A,B,C} is different from {B,A,C}.
  • Relationship: P(n,r) = C(n,r) × r! - the number of permutations equals the number of combinations multiplied by the number of ways to arrange r items.

Binomial Probability - Repeated Independent Trials

When you repeat an experiment n times where each trial has the same probability p of success (and q = 1−p of failure), the probability of exactly k successes follows the binomial distribution:

P(exactly k successes in n trials) = C(n,k) × p^k × (1−p)^(n−k)

Example: P(exactly 3 heads in 10 fair coin flips). C(10,3) = 120. p^3 = 0.5³ = 0.125. (1−p)^7 = 0.5⁷ = 0.0078125. P = 120 × 0.125 × 0.0078125 = 11.72%. The binomial distribution applies whenever: trials are independent, each trial has the same two outcomes, and p is constant. Coin flips, quality control testing, medical trial outcomes, and survey responses all follow this model.

How this calculator works, and where the numbers come from

The Probability Calculator applies the standard formula for this calculation to the values you enter and updates the result as you type. The calculation itself happens in your browser, and the page explains the method so you can check any result by hand.

Please note: Results are provided for general information and are calculated from the values you enter.

Sources and further reading

Last reviewed: by the CalcQube Editorial Team. See our editorial policy for how we build and check calculators, or report an error.