Skip to content

Probability Calculator

Free online Probability Calculator -- compute single event probability, combined probability for independent and dependent events, and complementary probability. Includes formulas and practical examples.

Loading calculator

Preparing Probability Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the Probability Calculator

  1. 1. Enter the number of favorable outcomes - type how many ways the desired event can occur.
  2. 2. Enter the total number of possible outcomes - type the size of the sample space.
  3. 3. View the probability - see the result as a fraction, decimal, and percentage.
  4. 4. Combine events - add a second event to calculate combined probabilities (AND/OR).
  5. 5. Explore scenarios - adjust values to compare different probability situations instantly.

Probability Calculator

Calculate the probability of single events, combined independent events, and complementary events using this interactive tool. Enter the number of favorable outcomes and total possible outcomes to instantly see the result as a fraction, decimal, and percentage. This calculator is useful for math students studying probability theory, professionals performing risk analysis, and anyone who needs to quantify likelihood quickly.

How Probability Is Calculated

Probability measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). The key formulas are:

  • Single Event: P(A) = Favorable Outcomes / Total Outcomes
  • Complement: P(not A) = 1 - P(A)
  • Independent AND (both events occur): P(A and B) = P(A) x P(B)
  • OR (at least one occurs): P(A or B) = P(A) + P(B) - P(A and B)
  • Dependent AND (without replacement): P(A and B) = P(A) x P(B | A)

Worked Examples

Example 1 — single event: A bag contains 4 red marbles and 6 blue marbles (10 total). The probability of drawing a red marble is 4/10 = 0.40 = 40%. The probability of NOT drawing red (complement) is 1 - 0.40 = 0.60 = 60%.

Example 2 — independent AND: A coin is flipped and a standard die is rolled. P(heads) = 1/2 = 0.5. P(rolling a 4) = 1/6 ≈ 0.167. P(heads AND 4) = 0.5 x 0.167 = 0.0833, or about 8.33%.

Example 3 — dependent events: A deck of 52 cards has 4 aces. P(first ace) = 4/52 ≈ 0.077. After drawing one ace without replacement, P(second ace) = 3/51 ≈ 0.059. P(both aces) = (4/52) x (3/51) = 12/2652 ≈ 0.00452, or about 0.45%.

Reference Table — Common Probability Scenarios

ScenarioFavorableTotalProbabilityPercentage
Rolling a 6 on one die160.166716.67%
Rolling an even number on one die360.500050.00%
Drawing a heart from a full deck13520.250025.00%
Drawing an ace from a full deck4520.07697.69%
Flipping heads on one coin toss120.500050.00%
Flipping heads twice in a row140.250025.00%
Rolling a 7 with two dice6360.166716.67%
Rolling a 12 with two dice1360.02782.78%
Drawing a red face card from a full deck6520.115411.54%
Picking a vowel from A—Z5260.192319.23%

When to Use This Calculator

  • When solving textbook probability problems involving dice, cards, or marbles
  • When calculating the risk of independent failures in systems (e.g., two components both failing)
  • When estimating the likelihood of a random event occurring in business or science scenarios
  • When checking whether your intuitive sense of “how likely” something is matches the actual math
  • When teaching or learning the complement rule, AND rule, or OR rule for the first time

Common Mistakes

  1. Forgetting to subtract the overlap in OR problems — P(A or B) = P(A) + P(B) - P(A and B). Skipping the subtraction double-counts outcomes that satisfy both conditions. For drawing a king OR a heart: 4/52 + 13/52 - 1/52 = 16/52, not 17/52.
  2. Applying the independent AND rule to dependent events — if drawing without replacement, each draw changes the sample space. Use the conditional formula P(A and B) = P(A) x P(B | A) instead of simply multiplying the original probabilities.
  3. Confusing probability with odds — a probability of 0.25 means the event happens 1 in 4 times, but the odds are 1:3 (one success for every three failures). Converting between them requires P = odds / (1 + odds).

Real-World Applications

Probability underlies decision-making across many fields. In medicine, clinical trials use probability to determine whether a drug’s effect is statistically significant or could be due to chance. Insurance companies set premiums by calculating the probability of claims based on historical data — a driver with two at-fault accidents in three years has a measurably higher risk profile. In quality control, manufacturers calculate the probability that a batch of products contains defective units using binomial probability. Weather forecasters express the probability of precipitation as a percentage based on atmospheric models. In cybersecurity, analysts estimate the probability that a given threat vector will be exploited within a time window. For investors, the probability of a portfolio losing more than a defined threshold in a single day is a core metric called Value at Risk.

Tips

  • Always verify that probabilities for all mutually exclusive outcomes sum to exactly 1.0 (100%)
  • The complement rule is often the fastest path: P(at least one success) = 1 - P(all failures)
  • For sequential draws with replacement, probabilities stay constant at each step; without replacement, they shift
  • Convert odds to probability using P = odds / (1 + odds) — for example, 3:1 odds equals 3/4 = 75%
  • When two events are mutually exclusive (cannot both happen at once), P(A or B) simplifies to P(A) + P(B) with no subtraction
  • A probability near 0 does not mean impossible — it means rare. P(winning a lottery jackpot) might be 0.000000025, but it is not zero

Frequently Asked Questions

How do you calculate basic probability?
Basic probability is calculated as the number of favorable outcomes divided by the total number of possible outcomes: P(Event) = Favorable Outcomes / Total Outcomes. For example, the probability of rolling a 3 on a standard die is 1/6 (approximately 0.167 or 16.7%) because there is 1 favorable outcome out of 6 possible outcomes. Probability always ranges from 0 (impossible) to 1 (certain).
How do you calculate the probability of compound events?
For compound events, use multiplication for AND (both events occurring) and addition for OR (either event occurring). P(A AND B) = P(A) x P(B) for independent events. P(A OR B) = P(A) + P(B) - P(A AND B). For example, the probability of flipping heads AND rolling a 6 is (1/2) x (1/6) = 1/12. The probability of drawing a king OR a heart from a deck is 4/52 + 13/52 - 1/52 = 16/52.
What is the difference between independent and dependent events?
Independent events do not affect each other's probability -- like flipping a coin and rolling a die. Each flip is always 50/50 regardless of previous results. Dependent events change probability based on previous outcomes -- like drawing cards without replacement. The probability of drawing a second ace from a deck drops from 4/52 to 3/51 after the first ace is drawn, because the sample space has changed.
What is expected value and how is it calculated?
Expected value is the long-run average outcome of a random event, calculated by multiplying each possible outcome by its probability and summing the results: E(X) = sum of (outcome x probability). For example, if a game pays $10 on heads (probability 0.5) and $0 on tails (probability 0.5), the expected value is (10 x 0.5) + (0 x 0.5) = $5. Expected value is essential in gambling, insurance, and business decision-making.
What is Bayes' theorem and when is it used?
Bayes' theorem calculates the probability of an event based on prior knowledge of related conditions: P(A|B) = P(B|A) x P(A) / P(B). It is used when you want to update a probability after receiving new evidence. For example, if a medical test is 95% accurate and 1% of the population has a disease, Bayes' theorem reveals that a positive test result only means about a 16% chance of actually having the disease -- because false positives from the 99% healthy group outnumber true positives.
Calculators