HomeArticlesHow ToCalculate Probability
HOW TO

How to Calculate Probability

Learn how to calculate probability — basic formula, independent vs dependent events, and worked examples for coin flips, dice rolls, and card draws.

Updated 2026-06-27

Free calculators used in this guide

Probability Calculator

Overview

Probability measures how likely an event is to happen, expressed as a number between 0 (impossible) and 1 (certain), or equivalently as a percentage between 0% and 100%. Every probability calculation, no matter how complex the scenario, ultimately reduces to counting favorable outcomes against total possible outcomes — the skill is knowing which rule to apply when events combine.

This guide walks through the basic formula, the rules for combining independent and dependent events, the addition rule for "either/or" scenarios, and the complement shortcut for "at least one" problems. Use the Probability Calculator to check your work once you understand the underlying logic.

What You Need

Before calculating probability, identify:

  • The sample space — the complete list of all possible outcomes for the situation (e.g., all 6 faces of a die, all 52 cards in a deck)
  • The favorable outcomes — the specific outcomes that count as a "success" for the event you care about
  • Whether events are independent or dependent — does one outcome affect the probability of the next?
  • Whether you need "and" (both happening) or "or" (either happening) — this determines whether to multiply or add

Step 1: Understand the Basic Probability Formula

Every probability calculation starts from the same foundation:

P(event) = Favorable Outcomes / Total Possible Outcomes

The result is always a number between 0 and 1. A probability of 0 means the event cannot happen; a probability of 1 means it is certain. Most real-world probabilities fall somewhere in between, and are usually expressed as a percentage or a simplified fraction.

This formula assumes every outcome in the sample space is equally likely — true for a fair coin, a fair die, or a well-shuffled deck, but not necessarily true for real-world events like weather or sports outcomes, which require statistical modeling rather than simple counting.


Step 2: Calculate Simple Single-Event Probability

For a single event with equally likely outcomes, apply the basic formula directly.

Worked example: What is the probability of rolling a 4 on a fair six-sided die?

Favorable outcomes = 1 (only one face shows a 4)
Total outcomes = 6 (six faces total)
P(rolling a 4) = 1/6 ≈ 16.7%

This same logic applies to any single, equally weighted event: drawing a specific card from a deck (1/52), flipping heads on one coin toss (1/2), or picking a specific colored ball from a bag of known composition.


Step 3: Calculate Probability of Independent Events (AND)

When two events are independent — meaning the outcome of one does not affect the other — multiply their individual probabilities to find the probability that both happen.

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

Worked example: What is the probability of flipping heads twice in a row?

P(heads on flip 1) = 1/2
P(heads on flip 2) = 1/2
P(heads twice) = 1/2 × 1/2 = 1/4 = 25%

This multiplication rule extends to any number of independent events — three coin flips of heads in a row would be 1/2 × 1/2 × 1/2 = 1/8, or 12.5%. The key requirement is true independence: each event's outcome must have zero influence on the others.


Step 4: Calculate Probability of Either Event Occurring (OR)

When you want the probability that at least one of two events happens, use the addition rule. If the events can overlap, you must subtract the overlap once to avoid double-counting it.

P(A or B) = P(A) + P(B) − P(A and B)

Worked example: What is the probability of drawing a King or a Heart from a standard 52-card deck?

P(King) = 4/52
P(Heart) = 13/52
P(King and Heart) = 1/52 (the King of Hearts — counted in both groups above)
P(King or Heart) = 4/52 + 13/52 − 1/52 = 16/52 ≈ 30.8%

If the two events are mutually exclusive — they cannot both happen, like rolling a 2 or a 5 on a single die — the overlap term is zero, and you simply add the two probabilities: P(2 or 5) = 1/6 + 1/6 = 2/6 ≈ 33.3%.


Step 5: Calculate Probability of Dependent Events

Dependent events are events where the outcome of the first changes the probability of the second — most commonly seen when drawing items without putting them back.

Worked example: What is the probability of drawing two aces in a row from a standard deck, without replacing the first card?

P(first ace) = 4/52
P(second ace, given first was an ace) = 3/51 (one ace removed, one card removed from total)
P(both aces) = 4/52 × 3/51 = 12/2652 ≈ 0.45%

Notice that the second fraction's denominator dropped from 52 to 51, and its numerator dropped from 4 to 3 — both numbers shrank because the first draw permanently changed the remaining pool. Forgetting to adjust the second fraction is the single most common error when calculating dependent-event probability, and it produces an answer that is too high.


Step 6: Calculate Complementary Probability

The complement of an event is "everything that is not that event," and the two together always add up to 1 (or 100%).

P(not A) = 1 − P(A)

This shortcut is most valuable for "at least one" problems, which are often far easier to solve by calculating the opposite scenario first.

Worked example: What is the probability of rolling at least one six across four rolls of a die?

Calculating this directly would require adding up the probabilities of exactly one six, exactly two sixes, exactly three sixes, and exactly four sixes — tedious and error-prone. Instead, calculate the complement: the probability of rolling zero sixes in four rolls.

P(no six on one roll) = 5/6
P(no six in four rolls) = (5/6)⁴ ≈ 0.482
P(at least one six in four rolls) = 1 − 0.482 ≈ 51.8%

This complement approach turns a multi-part addition problem into a single multiplication followed by one subtraction.


Common Mistakes to Avoid

Forgetting to subtract the overlap in "or" calculations. When two events are not mutually exclusive, simply adding P(A) + P(B) double-counts any outcome that satisfies both. The King of Hearts example above shows this clearly — without subtracting the 1/52 overlap, the answer would be inflated to 17/52 instead of the correct 16/52. Always ask whether the two events can happen simultaneously before deciding whether a subtraction is needed.

Treating dependent events as independent. Drawing cards, balls, or any item "without replacement" changes the sample space for every subsequent draw. Using the same denominator for both draws — say, 4/52 × 3/52 instead of the correct 4/52 × 3/51 — is a very common error that slightly understates the true probability, since the total pool actually shrank after the first draw.

Confusing probability with odds. A statement like "the odds are 1 to 5" is a ratio of favorable to unfavorable outcomes, not the same number as a 1/6 probability, even though they describe the same underlying six-sided die roll. Converting between the two requires care: odds of "a to b" correspond to a probability of a/(a+b), not a/b.

Misjudging which events are truly independent. Two events can look unrelated but secretly share a dependency — for example, drawing two cards of the same suit from a deck is not independent of the suit composition remaining after the first draw, even if the cards' face values seem unconnected. Always verify independence by asking whether the first outcome changes the conditions for the second, rather than assuming it from surface appearance.


Formula & Methodology

The rules covered above build on three foundational relationships in probability theory:

Multiplication rule for independent events:

P(A ∩ B) = P(A) × P(B)

This holds only when A and B do not influence each other. The intersection symbol (∩) denotes "both A and B happen."

Addition rule for any two events:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

The union symbol (∪) denotes "either A or B happens." This formula works universally, whether or not the events are mutually exclusive — when they are mutually exclusive, P(A ∩ B) simply equals zero, and the formula reduces to plain addition.

Conditional probability:

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

This measures the probability of A occurring given that B is already known to have happened. Conditional probability is the formal foundation behind dependent-event calculations: when you calculate the probability of a second card being an ace "given that the first was an ace," you are computing a conditional probability, even if you never write out the formula explicitly.

These three rules combine to handle virtually every classical probability scenario — coin flips, dice rolls, card draws, and lottery-style selections — by breaking a complex event down into smaller pieces that the multiplication and addition rules can handle individually, then assembling the pieces back into a final answer.

Frequently Asked Questions

The basic probability formula is P(event) = number of favorable outcomes ÷ total possible outcomes. The result always falls between 0 and 1, where 0 means the event is impossible and 1 means it is certain. For example, the probability of rolling a 4 on a fair six-sided die is 1 favorable outcome out of 6 possible outcomes, giving P = 1/6, or about 16.7%.
For independent events — where one outcome does not affect the other — multiply the individual probabilities together: P(A and B) = P(A) × P(B). For example, the probability of flipping a coin twice and getting heads both times is 1/2 × 1/2 = 1/4, or 25%. This multiplication rule only applies when the events truly do not influence each other, such as separate coin flips or separate die rolls.
Use the addition rule: P(A or B) = P(A) + P(B) − P(A and B), where the last term corrects for double-counting any overlap between the two events. For mutually exclusive events that cannot happen together, the overlap is zero and you simply add the probabilities. For example, the probability of drawing a King or a Heart from a standard deck is 4/52 + 13/52 − 1/52 = 16/52, or about 30.8%, since the King of Hearts would otherwise be counted twice.
Independent events do not affect each other's probability — flipping a coin twice or rolling two separate dice are independent because the first outcome has no bearing on the second. Dependent events do affect each other, typically because something is removed or changed after the first event, such as drawing cards from a deck without replacement. After drawing one ace from a 52-card deck, only 3 aces remain among 51 cards, so the second draw's probability has changed because of the first.
When sampling without replacement, recalculate the total pool size and favorable outcomes after each draw before multiplying. For example, the probability of drawing two aces in a row from a standard deck without replacement is (4/52) × (3/51), since after removing one ace, only 3 aces remain among the remaining 51 cards. This works out to approximately 0.45%, much lower than people often assume.
The complement of an event is everything that is not that event, and P(not A) = 1 − P(A). This shortcut is especially useful for "at least one" problems, which are often easier to solve by calculating the opposite case first. For example, to find the probability of rolling at least one six in four dice rolls, it is far simpler to calculate the probability of rolling zero sixes in four rolls and subtract that result from 1, rather than enumerating every combination that includes at least one six.
Probability expresses the chance of an event as a fraction or percentage of all possible outcomes — for example, a 1/6 chance of rolling a specific number. Odds express the same chance as a ratio of favorable outcomes to unfavorable outcomes — for that same die roll, the odds would be 1 to 5 (one favorable outcome against five unfavorable ones). The two describe the same underlying likelihood but are calculated and stated differently, and confusing them is a common source of error, especially in betting contexts.
Conditional probability is the probability of event A occurring given that event B has already happened, written as P(A|B) = P(A and B) ÷ P(B). It narrows the sample space to only the outcomes consistent with B before calculating A's likelihood within that reduced space. For example, the probability that a card drawn is a King, given that it is already known to be a face card, is higher than the unconditional probability of drawing a King from the full deck, because the sample space has shrunk to only face cards.
No. A valid probability must always fall between 0 and 1 inclusive, since it represents a proportion of total possible outcomes and a proportion cannot exceed the whole or fall below nothing. If a calculation produces a probability outside this range, there is an error somewhere — most often a missed overlap subtraction in an "or" calculation, or a miscounted sample space. Always sanity-check final answers against this 0-to-1 boundary.
For multiple dice rolled at once, the total number of possible outcomes is the number of faces raised to the power of the number of dice — two six-sided dice produce 6² = 36 total outcomes. To find the probability of a specific sum, count how many of those 36 combinations produce that sum; for example, a sum of 7 can occur in 6 ways (1-6, 2-5, 3-4, 4-3, 5-2, 6-1), giving a probability of 6/36, or about 16.7%, the most likely sum for two dice.
The law of large numbers states that as the number of trials of a random event increases, the observed frequency of an outcome converges toward its theoretical probability. Flipping a fair coin 10 times might produce 7 heads (70%), but flipping it 10,000 times will produce a result very close to the theoretical 50%. This is why calculated probability describes long-run expectation rather than guaranteeing any specific short-term outcome — a calculated 1/6 chance does not mean a die will land on that number exactly once every six rolls.
Confirm three things: the result falls between 0 and 1 (or 0% and 100%), the total number of possible outcomes in your denominator is counted correctly with no duplicates or omissions, and — for "or" calculations involving non-mutually-exclusive events — that you subtracted the overlap rather than simply adding. Re-deriving the answer using a complementary approach (calculating 1 minus the opposite event) is also a reliable cross-check, since both methods should agree.

Related Articles

HOW TO

How to Calculate Standard Deviation

HOW TO

How to Calculate Z-Score

HOW TO

How to Calculate Burn Rate and Runway

HOW TO

How to Calculate Percentage Change

HOW TO

How to Calculate Break-Even Point