Concepts · 5 min read

Probability Rules: AND, OR, Independent and Dependent Events

Probability Rules: AND, OR, Independent and Dependent Events — illustration
In short: Probability rules tell you how to combine chances. Two aces in a row from a shuffled deck without replacement has probability 4/52 × 3/51 = 1/221, about 0.45%, because the first draw changes the second.

Probability in one paragraph

The probability of an event is a number from 0 (impossible) to 1 (certain) describing how likely it is. When all outcomes are equally likely, it is the number of favourable outcomes divided by the total number of outcomes. A fair die has six outcomes, so the chance of rolling a 4 is 1/6, which is about 0.1667 or 16.67%. The rules below let you build the probability of complicated events from simpler pieces.

The complement rule: P(not A) = 1 − P(A)

Either an event happens or it does not, so the two probabilities add to 1. Subtracting from 1 is often the fastest route to an answer, especially for "at least one" questions.

Probability of at least one six in 4 rolls of a die
Answer0.51774691358
Order-of-operations steps 3 steps

Start: 1 − (5 ÷ 6)^4

  1. Divide
    5 ÷ 6 = 0.8333333333→ 1 − 0.8333333333^4
  2. Exponent
    0.8333333333^4 = 0.4822530864→ 1 − 0.4822530864
  3. Subtract
    1 − 0.4822530864 = 0.5177469136→ 0.5177469136

The chance of no six in four rolls is (5/6)^4, so the chance of at least one six is 0.5177, or 51.77%. This problem was studied by gamblers in the 1600s and is one of the cases that helped develop the theory of probability.

Independent events: AND means multiply

Two events are independent when one happening does not change the probability of the other. Coin flips, separate dice and spins of a roulette wheel are examples. For independent events, P(A and B) = P(A) × P(B).

SituationCalculationProbability
Two heads in a row1/2 × 1/225%
Three heads in a row(1/2)^312.5%
Two sixes on two dice1/6 × 1/62.78%
Ten heads in a row(1/2)^100.098%

Use the probability calculator to check any of these and see the steps.

Dependent events and conditional probability

Events are dependent when the first outcome changes the chances for the second. Drawing cards or marbles without putting them back is the classic case. The rule becomes P(A and B) = P(A) × P(B given A), where P(B given A) is the conditional probability.

Drawing two aces from a standard 52-card deck without replacement
Answer0.00452488687783
Order-of-operations steps 3 steps

Start: 4 ÷ 52 × 3 ÷ 51

  1. Divide
    4 ÷ 52 = 0.07692307692→ 0.07692307692 × 3 ÷ 51
  2. Multiply
    0.07692307692 × 3 = 0.2307692308→ 0.2307692308 ÷ 51
  3. Divide
    0.2307692308 ÷ 51 = 0.004524886878→ 0.004524886878

After one ace is drawn, only 3 aces remain among 51 cards. The answer is 1/221. If the first card were put back and the deck reshuffled, the draws would be independent and the answer would be 4/52 × 4/52 = 1/169, slightly higher at 0.592% compared with 0.452%.

More on this idea is in the conditional probability calculator.

OR: addition and the overlap

For mutually exclusive events, which cannot both happen, P(A or B) = P(A) + P(B). When they can overlap, add and then subtract the overlap so it is not counted twice: P(A or B) = P(A) + P(B) − P(A and B).

Question (one card from 52)WorkingProbability
Ace or king4/52 + 4/5215.38%
Heart or king13/52 + 4/52 − 1/5230.77%
Red or face card26/52 + 12/52 − 6/5261.54%

In the second row the king of hearts is both a heart and a king, so it is subtracted once to avoid double counting.

A full distribution: two dice

Combining outcomes gives a whole distribution. With two fair dice there are 36 equally likely pairs, and some totals can be made in more ways than others.

01.534.561223344556675849310211112
Ways to make each total with two dice (out of 36). A total of 7 is the most likely.
TotalWaysProbability
211/36 = 2.78%
321/18 = 5.56%
431/12 = 8.33%
541/9 = 11.11%
655/36 = 13.89%
761/6 = 16.67%
855/36 = 13.89%
941/9 = 11.11%
1031/12 = 8.33%
1121/18 = 5.56%
1211/36 = 2.78%

A total of 7 has six ways and a probability of 1/6, while 2 and 12 each have one way and a probability of 1/36.

Common traps

  • The gambler’s fallacy. After five heads in a row, the next fair-coin flip is still 50% heads. The coin has no memory.
  • Multiplying when events overlap. Multiplying only works for independent events; otherwise use the conditional probability.
  • Adding when you should multiply. "And" for independent events multiplies, "or" for exclusive events adds.
  • Forgetting replacement. Check whether the first item is put back before choosing the formula.
  • Confusing P(A given B) with P(B given A). They are usually different, as the Monty Hall problem shows.

For counting how many outcomes there are, see lottery odds and combinations and the permutation and combination calculator. For a surprising application of the complement rule, read about the birthday paradox.

Frequently asked questions

How do I know if events are independent?

Ask whether knowing the first outcome changes the probability of the second. If it does not, they are independent. Sampling without replacement is the usual way events become dependent.

What does mutually exclusive mean?

Two events are mutually exclusive when they cannot happen together, such as rolling a 2 and a 5 on one die. Mutually exclusive is not the same as independent.

Why is "at least one" easier with the complement?

Counting every way to get at least one success is long. It is quicker to find the probability of zero successes and subtract it from 1.

Can a probability be greater than 1?

No. Probabilities range from 0 to 1. A value above 1 signals an error, often from double counting an overlap.

Written and reviewed by Mateuss M.

Mateuss M. writes and reviews mathematical content for CalcSolver, focusing on online calculators, formulas, equations, and practical math tools. He reviews calculator functionality, calculation methods, formulas, examples, and explanations to help ensure that each tool is clear, useful, and easy to understand.

Keep reading