Home /permanent

Probability

Photo by Richard Heinen on Unsplash, cropped.

The probability of an event describes how likely it is to occur.

The convention for describing the probability of an event AA is to write it as P(A)P(A).

When there is a finite number of equally likely outcomes, the probability of an event is the proportion of those outcomes in which it occurs.

P(A)=Number of outcomes in ATotal number of possible outcomesP(A) = \frac{\text{Number of outcomes in }A}{\text{Total number of possible outcomes}}

For example, a standard deck has 52 cards. The probability of drawing the ace of spades from a randomly shuffled deck is:

P(ace of spades)=152≈1.92%P(\text{ace of spades}) = \frac{1}{52} \approx 1.92\%

A fair coin has two equally likely outcomes, heads and tails, so:

P(heads)=12=50%P(\text{heads}) = \frac{1}{2} = 50\%

We can also estimate probability from observed data:

P^(A)=Number of times A occurredNumber of trials\widehat{P}(A) = \frac{\text{Number of times }A\text{ occurred}}{\text{Number of trials}}

The hat in P^(A)\widehat{P}(A) indicates an estimate.

For example, the CDC reports 1,045 male births per 1,000 female births in the USA in 2024 (Table A) (Osterman et al., 2026). Dividing male births by total births gives:

P^(baby is a boy)=10451045+1000≈51.1%\widehat{P}(\text{baby is a boy}) = \frac{1045}{1045 + 1000} \approx 51.1\%

This observed proportion can be used to estimate the probability that a future live birth in the USA will be a boy.

There's also a type of probability you'll often hear about day to day that expresses how strongly someone believes an event will occur. These estimates can draw on evidence, experience or just gut feel, without being calculated directly from observed outcomes across repeated experiments. This type of probability is called subjective probability.

For example, there's a lot of talk about the likelihood of AI causing human extinction or a similarly severe catastrophe, and many different public figures in AI have shared their estimates of P(doom).

Probabilities are always between 0 and 1, inclusive. Or in formal language:

0≤P(A)≤10 \leq P(A) \leq 1

4 Basic Rules of Probability

Complement Rule

The probability of event AA not occurring is 1−P(A)1-P(A). The event that AA does not occur is called its complement.

P(A does not occur)=1−P(A)P(\text{A does not occur}) = 1 - P(A)

For example, let AA be the event of drawing the ace of spades from a randomly shuffled standard deck:

P(A)=152≈1.92%P(A) = \frac{1}{52} \approx 1.92\%

Then the probability of drawing any other card is:

P(not the ace of spades)=1−152=5152≈98.08%P(\text{not the ace of spades}) = 1 - \frac{1}{52} = \frac{51}{52} \approx 98.08\%

Rule for Equally Likely Outcomes

If there are nn possible outcomes and they are all equally likely, each outcome has probability 1n\frac{1}{n}. An event can include more than one outcome, so:

P(A)=Number of outcomes in AnP(A) = \frac{\text{Number of outcomes in }A}{n}

Sticking with the cards, there are 13 spades in a standard deck. The probability of drawing any spade is:

P(drawing a spade)=1352=25%P(\text{drawing a spade}) = \frac{13}{52} = 25\%

Addition Rule of Probability

Two events are mutually exclusive if they cannot both occur.

For example, in Mario Kart, driving through an item box gives you an item.

A colourful, transparent Mario Kart 8 item box with a question mark

Mario Kart 8 item box. Artwork © Nintendo (Nintendo).

To keep the maths simple, let's give our example box three possible outcomes and made-up probabilities. It gives exactly one item:

  • A banana: 40%40\%.
  • A shell: 35%35\%.
  • A mushroom: 25%25\%.

Let AA be getting a shell and BB be getting a mushroom. These events are mutually exclusive: our box cannot give you both in the same pickup.

For mutually exclusive events, we can add their probabilities to find the probability of either occurring:

P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)

So the probability of getting either a shell or a mushroom is:

P(A or B)=0.35+0.25=0.60=60%P(A \text{ or } B) = 0.35 + 0.25 = 0.60 = 60\%

There is no overlap to count twice, because each pickup gives exactly one of these items.

Multiplication Rule of Probability

Two events are independent if knowing whether one occurred does not change the probability of the other.

For independent events, we multiply their probabilities to find the probability that both occur:

P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B)

For example, suppose we roll a fair six-sided die twice, with the rolls independent of each other. The first result does not change the probability of rolling a six on the second roll:

P(six on both rolls)=16×16=136≈2.78%P(\text{six on both rolls}) = \frac{1}{6} \times \frac{1}{6} = \frac{1}{36} \approx 2.78\%

Example: At Least One Six in Three Rolls

What is the probability of getting at least one six in three independent rolls of a fair six-sided die?

"At least one" includes getting a six once, twice or on all three rolls. It's easier to calculate the probability of the opposite event, getting no sixes, and use the complement rule:

P(at least one six)=1−P(no sixes)P(\text{at least one six}) = 1 - P(\text{no sixes})

On each roll, five of the six outcomes are not a six, so the probability of not rolling a six is 56\frac{5}{6}. Getting no sixes means not rolling a six on the first roll and the second roll and the third roll. Since the rolls are independent, we multiply:

P(no sixes in three rolls)=56×56×56=(56)3=125216P(\text{no sixes in three rolls}) = \frac{5}{6} \times \frac{5}{6} \times \frac{5}{6} = \left(\frac{5}{6}\right)^3 = \frac{125}{216}

Then subtract from 1:

P(at least one six in three rolls)=1−125216=91216≈42.13%P(\text{at least one six in three rolls}) = 1 - \frac{125}{216} = \frac{91}{216} \approx 42.13\%

Simply adding 16\frac{1}{6} three times would not work here. Getting a six on different rolls is not mutually exclusive: a sequence such as (6,6,2)(6, 6, 2) would be counted twice.

References

Michelle Osterman, Brady Hamilton, Joyce Martin, Anne Driscoll, and Claudia Valenzuela. Births: Final Data for 2024. Technical Report, National Center for Health Statistics (U.S.), June 2026. doi:10.15620/cdc/252440. ↩

Nintendo. マリオカート8:アイテム. Mario Kart 8: Items. Japanese-language official site. Item box artwork copyright Nintendo. Accessed 29 September 2026. URL: https://www.nintendo.co.jp/wiiu/amkj/item/index.html (visited on 2026-09-29). ↩