Skip to content
CalculatorFly

Probability Calculator

Pick what you want to work out and enter probabilities as decimals, fractions such as 1/6 or percentages. Results update as you type, as exact fractions where possible.

What to work out

Enter probabilities as decimals (0.25), fractions (1/4) or percentages (25%).

Probability
-

-

EventFractionDecimalPercent

How to use the probability calculator

Choose a mode. Single event divides the favorable outcomes by all equally likely outcomes. Two events combines P(A) and P(B): pick Independent if one doesn't affect the other, Mutually exclusive if they can't both happen, or enter P(A and B) yourself to get the conditional probabilities P(A | B) and P(B | A). Repeated trials gives the chance of at least one success and of exactly, at most or at least k successes in n independent tries. Odds converts odds such as 3 : 1 against into a probability and back. Fractions stay exact: 1/6 and 1/2 give 7/12, not 0.5833.

Probability formulas

P(A and B) = P(A) × P(B) for independent events; P(A or B) = P(A) + P(B) − P(A and B); P(neither) = 1 − P(A or B); P(A | B) = P(A and B) ÷ P(B). For n independent trials with success probability p, P(at least one) = 1 − (1 − p)ⁿ and P(exactly k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ, the binomial distribution. Odds of a : b for an event mean P = a ÷ (a + b).

Worked example

What is the chance of rolling at least one six in four rolls of a die? Each roll misses with probability 5/6, so all four miss with probability (5/6)⁴ = 625/1296. The chance of at least one six is 1 − 625/1296 = 671/1296 ≈ 51.77%, slightly better than even. The chance of exactly two sixes is C(4, 2) × (1/6)² × (5/6)² = 6 × 25/1296 = 25/216 ≈ 11.57%.

FAQ

What is the difference between independent and mutually exclusive?

Independent events don't influence each other, like two coin flips, so both can happen: P(A and B) = P(A) × P(B). Mutually exclusive events can't happen together, like rolling a 2 and a 5 on one die, so P(A and B) = 0 and P(A or B) = P(A) + P(B).

How do I turn odds into a probability?

Odds of 3 : 1 against mean 3 ways to lose for every 1 way to win, so the probability of winning is 1 ÷ (3 + 1) = 25%. Odds of 3 : 1 for (or "on") mean a 3 ÷ 4 = 75% chance.

Why isn't the chance of at least one six in six rolls 100%?

Because the rolls can repeat. Adding 1/6 six times double-counts the cases with several sixes. The right calculation is 1 − (5/6)⁶ ≈ 66.5%.

Is anything I enter sent anywhere?

No. CalculatorFly works everything out in your browser with WebAssembly; nothing is uploaded or stored.