Calculator and Converter

Probability calculator

Given the chance of event A and the chance of event B, each between 0 and 1, this calculator finds the probability that both happen, that at least one happens, that neither happens, and that exactly one happens.

Results

Enter your values to see the result.

About this tool

A typical use is estimating the chance of two unrelated outcomes, such as two separate coin flips or independent machine faults.

How it is calculated
for independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B); P(neither) = (1 − P(A)) × (1 − P(B))
Worked example
With Probability of A (0 to 1): 0.5; Probability of B (0 to 1): 0.25, the result is: A and B: 0.125; A or B (or both): 0.625; Neither A nor B: 0.375; Exactly one of A, B: 0.5.
Good to know
The events are assumed to be independent, meaning one does not influence the other. Probabilities must be entered as decimals between 0 and 1, not percentages. Results are estimates of chance, not predictions.

Frequently asked questions

Should I enter 25 percent as 25 or 0.25?

Enter 0.25. Both fields expect decimals from 0 to 1, and values outside that range are not accepted. Multiply the results by 100 if you want to read them as percentages.

What does independent mean for this calculator?

It means that knowing whether A happens does not change the chance of B. The A and B result multiplies the two probabilities. If your events affect each other, these figures will not be right.

How do A or B and Exactly one of A, B differ?

A or B (or both) includes the case where both occur. Exactly one of A, B excludes it, so it is smaller by the probability of both. Together with neither, the cases cover all possibilities.

Related calculators