๐Ÿ”ข Math

๐ŸŽฏ ๐ŸŽฏ Probability Calculator: How to Calculate Probability

Learn how to calculate probability using the basic formula, AND/OR rules, and complement rule. Covers independent vs dependent events, conditional probability, and real-world examples.

⏱️ 9 min read🦉 365tool.net🌍 For everyone worldwide

Probability is the mathematical language of uncertainty. It quantifies the likelihood of an event โ€” from the flip of a coin to the chance of rain tomorrow to the risk of a business venture failing. Understanding probability makes you a better decision-maker, a sharper reader of statistics, and less susceptible to the common misconceptions (like the gambler's fallacy) that lead people astray.

The Basic Probability Formula

P(Event) = Number of favorable outcomes รท Total number of possible outcomes

This applies when all outcomes are equally likely (a fair coin, a fair die, a well-shuffled deck).

Examples

  • Rolling a 4 on a d6: P = 1/6 โ‰ˆ 16.67%
  • Drawing an ace from a 52-card deck: P = 4/52 = 1/13 โ‰ˆ 7.69%
  • Getting heads on a fair coin: P = 1/2 = 50%
  • Rolling an even number on a d6: P = 3/6 = 1/2 = 50%

Probability Rules

Rule 1: The Complement Rule

P(Event does NOT happen) = 1 โˆ’ P(Event happens)

Example: Probability of NOT rolling a 6 on a d6 = 1 โˆ’ 1/6 = 5/6 โ‰ˆ 83.3%

The complement rule is often the easiest path to "at least one" problems:

P(at least one 6 in 3 rolls) = 1 โˆ’ P(no 6 in 3 rolls) = 1 โˆ’ (5/6)ยณ = 1 โˆ’ 0.579 = 42.1%

Rule 2: The AND Rule (Multiplication Rule)

For independent events (where one event doesn't affect the other):

P(A and B) = P(A) ร— P(B)

Example: Rolling a 6 on a die AND flipping heads on a coin:

P = 1/6 ร— 1/2 = 1/12 โ‰ˆ 8.33%

For dependent events (where the first event changes the probability of the second):

P(A and B) = P(A) ร— P(B|A)

P(B|A) means "probability of B given A has occurred."

Example: Drawing two aces from a deck without replacement:

  • P(first ace) = 4/52
  • P(second ace | first was ace) = 3/51 (one ace and one card already removed)
  • P(both aces) = 4/52 ร— 3/51 = 12/2,652 โ‰ˆ 0.45%

Rule 3: The OR Rule (Addition Rule)

For mutually exclusive events (cannot both happen at once):

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

Example: Rolling a 1 OR a 6 on a die: P = 1/6 + 1/6 = 2/6 = 33.3%

For non-mutually exclusive events (can both happen at once):

P(A or B) = P(A) + P(B) โˆ’ P(A and B)

The subtraction avoids double-counting the overlap.

Example: Probability of drawing a heart OR a face card from a deck:

  • P(heart) = 13/52; P(face card) = 12/52; P(heart face card) = 3/52
  • P(heart OR face card) = 13/52 + 12/52 โˆ’ 3/52 = 22/52 โ‰ˆ 42.3%

Conditional Probability

P(B|A) = P(A and B) รท P(A)

This reads as "the probability of B, given that A has already occurred."

Example: In a group of 100 people, 40 exercise regularly and 25 exercise regularly AND have low blood pressure. What is the probability that someone who exercises regularly has low blood pressure?

  • P(low BP | exercises) = P(exercises AND low BP) รท P(exercises) = (25/100) รท (40/100) = 25/40 = 62.5%

Probability Distributions in Practice

Binomial Probability

For n independent trials each with probability p of success, the probability of exactly k successes:

P(X = k) = C(n,k) ร— pแต ร— (1โˆ’p)^(nโˆ’k)

Where C(n,k) = n! รท (k! ร— (nโˆ’k)!) is the number of combinations.

Example: A free throw shooter makes 75% of shots. Probability of making exactly 4 of 5 attempts:

  • C(5,4) = 5
  • P = 5 ร— (0.75)โด ร— (0.25)ยน = 5 ร— 0.3164 ร— 0.25 = 39.6%

Expected Value

The expected value (E) is the long-run average outcome of a random variable:

E = ฮฃ (outcome ร— probability of that outcome)

Example: A lottery ticket costs $2. You win $100 with probability 1/200 and $0 otherwise:

  • E(winnings) = $100 ร— (1/200) + $0 ร— (199/200) = $0.50
  • Net E = $0.50 โˆ’ $2.00 = โˆ’$1.50 per ticket
  • You expect to lose $1.50 on every $2 ticket purchased in the long run

Common Probability Misconceptions

The Gambler's Fallacy

The false belief that past random events affect future independent events. If a coin lands heads 10 times in a row, the probability of tails on the next flip is still exactly 50% โ€” the coin has no memory.

The Conjunction Fallacy

The tendency to rate a specific combination as more likely than one of its components alone. "Linda is a bank teller who is active in the feminist movement" is always less likely than "Linda is a bank teller" โ€” but people often rate the conjunction as more probable because it's more representative of a mental image.

Base Rate Neglect

Ignoring the overall probability of an event when updating on new information. If a disease affects 1 in 1,000 people and a test is 99% accurate, a positive test result is actually only about 9% likely to indicate you actually have the disease (because false positives from the 999 healthy people outnumber true positives).

Try It Yourself! ✨

Use our free Probability Calculator — results appear as you type. No sign-up needed!

🚀 Open Probability Calculator Free

❓ Frequently Asked Questions

What is the basic probability formula?
P(Event) = Number of favorable outcomes รท Total possible outcomes. This applies when all outcomes are equally likely. P(rolling a 3 on a d6) = 1/6 = 16.67%. P(drawing a heart from a deck) = 13/52 = 25%. Probability always falls between 0 (impossible) and 1 (certain), or expressed as 0% to 100%.
What is the difference between independent and dependent events?
Independent events don't affect each other โ€” flipping a coin twice, rolling two dice. P(A and B) = P(A) ร— P(B). Dependent events change probabilities based on previous outcomes โ€” drawing cards without replacement. P(A and B) = P(A) ร— P(B|A), where P(B|A) is the probability of B given A already happened.
How do I calculate the probability of "at least one" event?
Use the complement rule: P(at least one) = 1 โˆ’ P(none). Example: P(at least one head in 3 coin flips) = 1 โˆ’ P(all tails) = 1 โˆ’ (0.5)ยณ = 1 โˆ’ 0.125 = 87.5%. This approach is almost always easier than trying to calculate all the ways at least one success can occur.
What is conditional probability?
Conditional probability P(B|A) is the probability of B occurring given that A has already occurred. Formula: P(B|A) = P(A and B) รท P(A). Example: If 30% of students play sports and 20% play sports and get As, the probability of getting As given you play sports is 20% รท 30% = 66.7%.
What is the gambler's fallacy?
The false belief that past random outcomes affect future independent ones. If a roulette wheel lands red 10 times in a row, the probability of black on the next spin is still 18/38 (not 50%) โ€” exactly what it always was. The wheel has no memory. This misconception costs gamblers enormous sums and appears in investment decisions and sports analysis.