Math

Probability Calculator

Probability tells you how likely an event is, from 0 (impossible) to 1 (certain). Enter the number of favourable outcomes and total outcomes — the calculator gives the probability as a fraction, decimal and percentage, plus the complement, the odds and the number of arrangements for larger combinatorial problems.

Result
—
Probability (decimal)
—
Probability (%)
—
As a fraction
—
Complement (1 − P)
—
Odds in favour
—

How probability is calculated

For equally likely outcomes, probability is simply the ratio of favourable outcomes to all outcomes:

P = favourable ÷ total

The complementary rule — P(not E) = 1 − P(E) — is the workhorse shortcut: it is often easier to find the probability of something failing than succeeding, so compute the easy one and subtract from 1. Odds in favour are the ratio P(E) ÷ P(not E), which is a different number from the probability itself (odds of 3 to 1 mean P = 0.75, not 0.3) and the form used in betting and actuarial work.

Worked example

Rolling a 3 on a fair six-sided die: P = 1 ÷ 6 ≈ 0.1667 = 16.67%, or 1/6 in fraction form. The complement — not rolling a 3 — is 1 − 0.1667 = 0.8333 (83.33%), and the odds in favour are 1 : 5. Note how the percentage looks "small" while the odds 1 to 5 sound "big"; the same information, two conventions, and mixing them up is one of the commonest probability errors.

Independent events and combinations

For independent events, multiply: the probability of two heads in two fair flips is 0.5 × 0.5 = 0.25, not 0.5. For "at least one", use the complement — P(at least one) = 1 − P(none) — because direct enumeration gets messy. When order does not matter but selection does, use combinations n! ÷ (k!(n−k)!): the number of ways to draw 3 cards from a 52-card deck is 22,100, whereas permutations (order matters, 52 × 51 × 50) give 132,600.

Frequently asked questions

1. How do I calculate a probability?

Divide the number of favourable outcomes by the total number of equally likely outcomes. P = favourable ÷ total, then express it as a fraction, decimal and percentage as needed.

2. What is the complement rule?

P(not E) = 1 − P(E). It is the shortcut for 'at least one' problems: compute the easier probability that nothing happens, then subtract from 1.

3. How do odds differ from probability?

Probability is favourable ÷ total; odds in favour are favourable ÷ unfavourable. Odds of 3 to 1 correspond to a probability of 3/4 = 75%, not 30%.

4. When do I multiply probabilities instead of adding them?

Multiply for independent sequential events (each flip, each die roll). Add only for mutually exclusive alternatives where any one of them can happen but not two at once.

Related tools