Skip to content
Probability Calculator
Menu

Probability Calculator

Work out the probability of one event, two events together, or something happening at least once over several tries.

Updated · exact formulas, double precision

Calculate

Decimal, percent or fraction: 0.25, 25% or 1/4.

Decimal, percent or fraction: 0.25, 25% or 1/4.

P(A and B)

0.2

20%
P(A or B)
0.7
P(not A)
0.5
P(not B)
0.6
P(neither)
0.3
P(exactly one)
0.5
P(A but not B)
0.3
Assumes A and B are independent. If they aren't, use the conditional probability calculator.

Probability rules for two events

QuestionFormula (independent events)
Both A and BP(A) × P(B)
A or B (or both)P(A) + P(B) − P(A) × P(B)
Not A1 − P(A)
Neither(1 − P(A)) × (1 − P(B))
Exactly oneP(A) + P(B) − 2 × P(A) × P(B)

With P(A) = 0.5 and P(B) = 0.4: both = 0.2, either = 0.7, neither = 0.3. If knowing A changes the chance of B, the events aren't independent; use the conditional probability calculator.

Repeated tries

For something with probability p each time, tried n times independently, the chance it happens at least once is 1 − (1 − p)ⁿ. Exactly k times follows the binomial distribution; the binomial probability calculator shows the full distribution.

Common probability questions

Questions people ask

How do you calculate probability?

Favorable outcomes ÷ total outcomes. Rolling a 4: 1 ÷ 6 ≈ 16.7%. All the rules are on the probability formulas page.

How do you find the probability of A and B?

For independent events, multiply. Two heads: 0.5 × 0.5 = 0.25.

What is the probability of something happening at least once?

1 − (1 − p)ⁿ. At least one six in four rolls: 1 − (5/6)⁴ ≈ 51.8%.

What's the difference between probability and odds?

Probability is favorable ÷ all outcomes (1/6); odds are favorable : unfavorable (1 : 5).

Sources

More probability calculators