Probability Calculator: Multiple Events

Use this probability calculator to work out the chance of events for math and science class. Enter probabilities to find A and B, A or B, not A, and the chance of a result over repeated trials. Steps explain each rule.

Probability Calculator

P(A and B)

-

P(A or B)

-

P(not A)

-

Detail

-

This probability calculator covers three common problems: combining two events with AND and OR, the chance of an exact number of heads in coin flips, and the chance of rolling a target sum with dice. Results appear as decimals, with a chart of the probabilities.

How to use the Probability Calculator

  1. Choose a Mode: P(A and/or B), Coin flips or Dice rolls.
  2. For two events, enter P(A) and P(B) as decimals from 0 to 1, and pick Independent, or Dependent and then enter P(A and B).
  3. For coins, enter the Number of flips (1–40) and the Exact heads wanted. For dice, enter the Number of dice (1–6), Sides per die and Target sum.
  4. Press Calculate Probability and read the result cards and the chart.

Formula

Independent: P(A and B) = P(A) × P(B)
P(A or B) = P(A) + P(B) − P(A and B) P(not A) = 1 − P(A)
Coins: P(k heads in n flips) = C(n, k) ÷ 2โฟ Dice: ways to roll the sum ÷ sidesโฟ

For dice, the tool counts every possible roll instead of estimating, so the answer is an exact fraction, shown as a decimal next to the count of ways.

Example

P(A) = 0.5 and P(B) = 0.3, independent: P(A and B) = 0.15, and P(A or B) = 0.5 + 0.3 − 0.15 = 0.65. Exactly 3 heads in 5 flips: C(5, 3) ÷ 32 = 10/32 = 0.3125. A sum of 7 with two six-sided dice: 6 of 36 rolls, about 0.1667.

Frequently asked questions

How do I calculate the probability of two independent events both happening?

Multiply their probabilities. The chance of flipping heads and rolling a 6 is 0.5 × 1/6 ≈ 0.0833.

What is the difference between independent and dependent events?

Independent events don't affect each other, like two coin flips. Dependent events do, like drawing two cards without putting the first one back. For dependent events you need P(A and B) directly, which is why the tool asks for it.

Why is 7 the most common sum with two dice?

More combinations add up to 7 than to any other total: 1+6, 2+5, 3+4, 4+3, 5+2 and 6+1. That's 6 of the 36 possible rolls, a probability of 1/6.

How do I convert a probability to a percentage?

Multiply the decimal by 100. A probability of 0.3125 is 31.25%, and 0.65 is 65%.

Calculate probability

How to use it

  1. Enter each event's probability.
  2. Pick and, or, or not.
  3. Set trials if needed.
  4. Read the result.

More questions

What does independent mean?

One event does not change the chance of the other.

How do I find A and B?

Multiply the chances if the events are independent.

Can I use percents?

Yes. Enter probabilities as percents like 25% or decimals like 0.25.

Related tools: Permutation and Combination Calculator, Z-score Calculator, Random Number Generator.

Two dice and five coin flips

Pick events, coin flips or dice, enter the settings and press Calculate. The tool shows the probability as a decimal with the count of ways. To turn 0.3125 into a percent or compare chances, use the Percentage Calculator.

Worked example: the chance of a sum of 7 with two six-sided dice is 6 ways out of 36, or 0.1667. The chance of exactly 3 heads in 5 coin flips is 10 ways out of 32, or 0.3125 (31.25%).

More answers

What is the chance of exactly 3 heads in 5 coin flips?

There are C(5,3) = 10 ways out of 2⁵ = 32 outcomes, so the probability is 0.3125, or 31.25%.

What is the chance of not rolling a sum of 7 with two dice?

The sum of 7 has probability 6 ÷ 36 = 0.1667, so the chance of not rolling it is 0.8333, or about 83.3%.