Skip to content
SmartDailyCalculator

Probability Calculator

Enter the probability of two independent events to see the chance of both, either, neither or exactly one occurring.

A decimal from 0 to 1. Enter 25% as 0.25.

A decimal from 0 to 1.

Both A and B happen

0.2 (20%)

A or B (at least one)
0.7 (70%)
Neither A nor B
0.3 (30%)
Exactly one of A or B
0.5 (50%)
A but not B
0.3 (30%)
B but not A
0.2 (20%)
Not A
0.5 (50%)
Not B
0.6 (60%)

How to use the Probability Calculator

  1. Enter the probability of event A as a decimal between 0 and 1.
  2. Enter the probability of event B in the same way.
  3. Read the chances of both, at least one, neither and exactly one event, shown as decimals and percentages.

Probability rules for independent events

P(AandB)=P(A)×P(B)
P(AorB)=P(A)+P(B)−P(AandB)
P(neither)=1−P(AorB)

Where:

P(A),P(B)
= probabilities of two independent events, from 0 to 1
Show as plain text

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 or B)

Two events are independent when one happening does not change the chance of the other, like two separate coin flips. For independent events, the probability of both is the product of their probabilities.

For “A or B”, adding the two probabilities counts the overlap twice, so the probability of both is subtracted once.

Assumptions and limitations

  • The two events are independent. If one event affects the other (for example drawing two cards without replacement), these formulas do not apply.
  • Results are rounded to 6 decimal places.

Example: P(A) = 0.5 and P(B) = 0.4

  1. Both: 0.5 × 0.4 = 0.2, or 20%.
  2. At least one: 0.5 + 0.4 − 0.2 = 0.7, or 70%.
  3. Neither: 1 − 0.7 = 0.3, or 30%.
  4. Exactly one: 0.7 − 0.2 = 0.5, or 50%.

When to use the Probability Calculator

  • Working out the chance of at least one success in two independent tries.
  • Checking textbook probability problems involving coins, dice or spinners.
  • Estimating the chance that two independent parts or systems both fail.

Probability Calculator FAQs

How do I convert odds or percentages to a probability?

Divide a percentage by 100, so 25% is 0.25. For odds of 3 to 1 against, the probability is 1 ÷ (3 + 1) = 0.25.

What if the events are mutually exclusive?

Mutually exclusive events cannot both happen, so P(A and B) = 0 and P(A or B) is simply P(A) + P(B). They are not independent, so this calculator's “both” result does not apply to them.

What is the chance of rolling at least one six with two dice?

Enter 1/6 as a decimal (0.1666667) for both events. The chance of at least one six is 1 − (5/6)² = 11/36, about 0.3056 or 30.56%. The chance of two sixes is 1/36, about 2.78%.

How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.