Math 7 min read Mar 8, 2026

Probability & Combinations Explained

A beginner-friendly guide to probability, combinations, and permutations with real-world examples from lottery odds to card games.

What Is Probability?

Probability is a branch of mathematics that measures the likelihood of an event occurring. It is expressed as a number between 0 and 1, where 0 means the event is impossible and 1 means it is certain. You can also express probability as a percentage (0% to 100%) or as odds (e.g., 3 to 1).

The basic formula for probability is:

P(event) = Number of favorable outcomes / Total number of possible outcomes

For example, the probability of rolling a 4 on a standard six-sided die is 1/6, or approximately 16.7%. The probability of flipping heads on a fair coin is 1/2, or 50%.

Sample Space and Events

The sample space is the set of all possible outcomes of an experiment. When you roll a die, the sample space is {1, 2, 3, 4, 5, 6}. An event is any subset of the sample space. For instance, “rolling an even number” is the event {2, 4, 6}, which has a probability of 3/6 = 1/2.

Understanding the sample space is the foundation of every probability calculation. If you can correctly identify all possible outcomes and count the favorable ones, you can solve most basic probability problems.

Independent vs. Dependent Events

Independent events are events where the outcome of one does not affect the outcome of the other. Flipping a coin twice produces independent events — the first flip has no influence on the second. For independent events, you multiply the individual probabilities:

P(A and B) = P(A) × P(B)

The probability of flipping two heads in a row is 1/2 × 1/2 = 1/4, or 25%.

Dependent events are events where the outcome of the first affects the probability of the second. Drawing cards from a deck without replacement is a classic example. The probability of drawing two aces in a row from a standard 52-card deck is:

P(Ace1 and Ace2) = (4/52) × (3/51) = 12/2652 ≈ 0.45%

Combinations vs. Permutations

When counting how many ways you can select items from a group, you need to decide whether order matters:

  • Permutations — order matters. The arrangement ABC is different from BAC.
    Formula: P(n, r) = n! / (n - r)!
  • Combinations — order does not matter. The group {A, B, C} is the same as {C, A, B}.
    Formula: C(n, r) = n! / (r! × (n - r)!)

For example, choosing 3 people from a group of 10 to form a committee (order doesn’t matter) gives you C(10, 3) = 120 possible committees. But arranging 3 people from 10 into president, vice president, and treasurer (order matters) gives you P(10, 3) = 720 possible arrangements.

Lottery Odds: A Real-World Example

Lotteries are a perfect application of combinations. In a typical 6/49 lottery, you choose 6 numbers from 1 to 49 and order does not matter. The total number of possible combinations is:

C(49, 6) = 49! / (6! × 43!) = 13,983,816

This means your odds of winning the jackpot with a single ticket are approximately 1 in 14 million. To put this in perspective, you are roughly 45 times more likely to be struck by lightning in your lifetime than to win such a lottery with one ticket. Use our Combinations & Permutations Calculator to compute these values for any lottery format.

The Birthday Problem

The birthday problem asks: how many people need to be in a room before there is a greater than 50% chance that at least two share a birthday? The answer is surprisingly small — just 23 people.

This result feels counterintuitive because we think about the odds of someone sharing our birthday (which requires about 253 people for 50% odds). But the birthday problem considers any pair in the group. With 23 people, there are C(23, 2) = 253 possible pairs, and each pair has a 1/365 chance of sharing a birthday. The cumulative effect produces a greater than 50% probability.

Introduction to Bayes’ Theorem

Bayes’ theorem lets you update the probability of an event based on new evidence. The formula is:

P(A|B) = P(B|A) × P(A) / P(B)

Here is a practical example. Suppose a medical test is 99% accurate (it correctly identifies a condition 99% of the time) and 1% of the population has the condition. If you test positive, what is the probability you actually have it?

  • P(Condition) = 0.01
  • P(Positive | Condition) = 0.99
  • P(Positive | No Condition) = 0.01 (false positive rate)
  • P(Positive) = (0.99 × 0.01) + (0.01 × 0.99) = 0.0198
  • P(Condition | Positive) = (0.99 × 0.01) / 0.0198 = 50%

Despite the test being 99% accurate, a positive result only gives you a 50% chance of actually having the condition when the condition is rare. This demonstrates why understanding probability is essential for interpreting real-world data correctly.

Explore related tools like the Percentage Calculator for quick ratio conversions or the Random Number Generator for simulating probability experiments.

Advertisement
Advertisement