Loona Calculators
Loona Calculators › Math › Probability Calculator

🎲 Probability Calculator

Work out probabilities for one or two events: both happening, either happening, neither, or exactly one — plus convert between probability and odds, and compute combinations C(n, r) and permutations P(n, r). The Statistics Calculator covers data summaries; this page covers event probability.

Quick answer: For two independent events: P(A and B) = P(A) × P(B), and P(A or B) = P(A) + P(B) − P(A and B). With P(A) = P(B) = 0.5: both = 0.25, either = 0.75, neither = 0.25, exactly one = 0.50.

Combinations & permutations (optional)

How to use the Probability Calculator

  1. Enter the probability of event A and event B (as decimals 0–1 or percentages — the calculator treats values over 1 as percentages).
  2. Choose whether the events are independent or mutually exclusive if you use the quick modes.
  3. Or scroll to combinations/permutations: enter n and r to get C(n, r) and P(n, r).
Example: Flipping two fair coins: P(heads) = 0.5 for each. Both heads = 0.5 × 0.5 = 0.25. At least one head = 0.75. No heads = 0.25. Exactly one head = 0.50.

Frequently Asked Questions

What is the difference between independent and mutually exclusive?

Independent events do not affect each other (two coin flips). Mutually exclusive events cannot both happen (rolling a 2 and a 5 on one die) — for those, P(A or B) = P(A) + P(B) and P(both) = 0. Events can be neither, but never both at once.

How do combinations and permutations differ?

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)!). A podium finish is a permutation; a committee is a combination.

How do I convert probability to odds?

Odds in favor = p ÷ (1 − p), written as a ratio. A probability of 0.75 is odds of 3:1 in favor, and 1:3 against.

Does this page replace the Statistics Calculator?

No. The Statistics Calculator summarizes data sets (mean, median, standard deviation). This page works with event probabilities and counting — the other half of a typical probability-and-statistics course.

Related Calculators

%

Percentage Calculator

Math

📊

Statistics Calculator

Math

½

Fraction Calculator

Math

🧮

Equation Solver

Math

🔬

Scientific Calculator

Math

📐

Average Calculator

Math

🎲

Dice Roller

Fun

🪙

Coin Flip

Fun

How it works — the formula

Independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A)×P(B); P(neither) = (1 − P(A)) × (1 − P(B)); P(exactly one) = P(A or B) − P(A and B). Mutually exclusive: P(both) = 0 and P(A or B) = P(A) + P(B). Counting: P(n, r) = n! ÷ (n−r)! and C(n, r) = n! ÷ (r! × (n−r)!).

Worked example

Inputs: P(A) = 0.5, P(B) = 0.5, independent; and n = 10, r = 3.

Steps: Both = 0.5 × 0.5 = 0.25. Either = 0.5 + 0.5 − 0.25 = 0.75. Neither = 0.5 × 0.5 = 0.25. Exactly one = 0.75 − 0.25 = 0.50. C(10, 3) = 10! ÷ (3! × 7!) = (10 × 9 × 8) ÷ 6 = 120. P(10, 3) = 10 × 9 × 8 = 720.

Result: Both 25%, either 75%, exactly one 50%; C(10, 3) = 120, P(10, 3) = 720.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.