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.
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.
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.
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.
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.
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)!).
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.
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.