🎲 Probability Calculator

How many ways the event can succeed
Must be greater than 0
Probability
β€”
Results
Must be greater than 0
P(A | B) β€” Probability of A given B
β€”
Enter a decimal between 0 and 1 (e.g. 0.35 = 35%)
P(not A) β€” Complement Probability
β€”

What Is Probability? A Complete Guide

Probability is the mathematical study of how likely events are to occur. From predicting the weather to assessing financial risk, probability is one of the most widely used branches of mathematics in everyday life. It gives us a precise way to quantify uncertainty and make better decisions.

In formal terms, the probability of an event is a number between 0 and 1, where 0 means the event is impossible and 1 means it is certain. Most real-world events fall somewhere in between.

Key Definition: Probability = (Number of Favorable Outcomes) Γ· (Total Number of Possible Outcomes)

For example, when rolling a standard six-sided die and asking "what is the probability of rolling a 4?", there is 1 favorable outcome (rolling a 4) and 6 total possible outcomes, giving a probability of 1/6 β‰ˆ 0.1667 or about 16.67%.

A Brief History of Probability

The formal study of probability originated in 17th-century France through correspondence between mathematicians Blaise Pascal and Pierre de Fermat. They were trying to solve gambling problems β€” specifically how to divide stakes fairly when a game is interrupted. Their work laid the foundation for modern probability theory, which was later expanded by Jacob Bernoulli, Abraham de Moivre, Pierre-Simon Laplace, and Andrey Kolmogorov in the 20th century.

0
Impossible Event
0.5
Equal Chance
1
Certain Event
%
Multiply Γ— 100

Why Does Probability Matter?

Probability is foundational across many fields:

  • Medicine: Clinical trials use probability to determine whether a new drug is more effective than a placebo.
  • Finance: Portfolio managers use probability to assess the risk and expected return of investments.
  • Insurance: Actuaries calculate the probability of events like accidents or illness to set premium rates.
  • Weather forecasting: A "70% chance of rain" is a direct application of probability.
  • Artificial intelligence: Machine learning models are built on probabilistic frameworks to make predictions from data.
  • Sports analytics: Teams use probability models to optimize strategies and evaluate player performance.

Types of Probability Explained

There are several ways to interpret or define probability, depending on the context. Understanding these distinctions helps you choose the right approach for any given problem.

1. Classical (Theoretical) Probability

Classical probability applies when all outcomes are equally likely. It is calculated purely from logic, without the need for experimentation.

P(A) = n(A) / n(S)

Where n(A) is the number of outcomes in event A, and n(S) is the total number of outcomes in the sample space S.

βœ” Example β€” Drawing a card

What is the probability of drawing a King from a standard 52-card deck?

Favorable outcomes: 4 Kings | Total outcomes: 52 cards

P(King) = 4 / 52 = 1/13 β‰ˆ 0.0769 = 7.69%

2. Empirical (Experimental) Probability

Empirical probability is based on observed data from actual experiments. Instead of assuming outcomes are equally likely, you run experiments and record results.

P(A) = (Number of times A occurred) / (Total number of trials)
βœ” Example β€” Manufacturing quality control

A factory inspects 500 products and finds 12 defects.

P(defect) = 12 / 500 = 0.024 = 2.4%

3. Subjective Probability

Subjective probability reflects a person's personal belief or judgment about how likely an event is, based on experience and available information. It is commonly used in fields like economics, law, and strategic planning where empirical data is limited. For example, an investor might estimate a "60% chance" that a stock will rise based on their analysis of market conditions.

4. Axiomatic Probability

Axiomatic probability, formalized by Andrey Kolmogorov in 1933, establishes probability as a mathematical function satisfying three foundational axioms: probabilities are always non-negative, the probability of the entire sample space is 1, and probabilities of mutually exclusive events are additive. All other rules of probability can be derived from these three axioms.

Visual Overview: Probability Scale

Probability Scale β€” From Impossible to Certain
Common event probability examples.

Core Probability Rules and Formulas

Understanding the fundamental rules of probability allows you to solve complex problems by breaking them into manageable parts. Here are the essential formulas every student and professional should know.

The Addition Rule (OR Probability)

The addition rule calculates the probability that event A or event B occurs. It must subtract the probability of both occurring to avoid counting those outcomes twice.

P(A βˆͺ B) = P(A) + P(B) βˆ’ P(A ∩ B)

If A and B are mutually exclusive (cannot both occur at the same time), then P(A ∩ B) = 0, and the formula simplifies to:

P(A βˆͺ B) = P(A) + P(B)
βœ” Example β€” Drawing a card

P(drawing a Heart or a King from a 52-card deck)

P(Heart) = 13/52 = 0.25 | P(King) = 4/52 β‰ˆ 0.0769 | P(King of Hearts) = 1/52 β‰ˆ 0.0192

P(Heart or King) = 0.25 + 0.0769 βˆ’ 0.0192 = 0.3077 β‰ˆ 30.8%

The Multiplication Rule (AND Probability)

The multiplication rule finds the probability that both event A and event B occur.

For independent events:

P(A ∩ B) = P(A) Γ— P(B)

For dependent events:

P(A ∩ B) = P(A) Γ— P(B | A)
βœ” Example β€” Rolling dice (independent)

What is the probability of rolling a 3 on the first die AND a 5 on the second die?

P(3) = 1/6 | P(5) = 1/6

P(3 and 5) = 1/6 Γ— 1/6 = 1/36 β‰ˆ 2.78%

The Complement Rule (NOT Probability)

P(A') = 1 βˆ’ P(A)

The complement of event A is everything that is not A. Since all probabilities must sum to 1, P(A) + P(A') = 1 always.

βœ” Example β€” Rolling a non-six

P(not rolling a 6) = 1 βˆ’ P(6) = 1 βˆ’ 1/6 = 5/6 β‰ˆ 83.3%

Conditional Probability

Conditional probability asks: "What is the probability of event A, given that event B has already occurred?"

P(A | B) = P(A ∩ B) / P(B)
βœ” Example β€” Medical testing

In a study, 5% of people have a disease. A test correctly identifies the disease 90% of the time (P(positive | disease) = 0.9). P(disease and positive) = 0.05 Γ— 0.9 = 0.045. P(positive) = 0.095.

P(disease | positive) = 0.045 / 0.095 β‰ˆ 47.4%

Complete Probability Formulas Reference Table

RuleFormulaWhen to UseExample
Basic ProbabilityP(A) = f / nAll outcomes equally likelyP(heads) = 1/2
Complement RuleP(A') = 1 βˆ’ P(A)Finding the "NOT" probabilityP(not ace) = 1 βˆ’ 4/52
Addition RuleP(AβˆͺB) = P(A)+P(B)βˆ’P(A∩B)Probability of A or BP(β™₯ or K)
Mutually Exclusive AdditionP(AβˆͺB) = P(A)+P(B)A and B cannot both happenP(1 or 6 on die)
Independent MultiplicationP(A∩B) = P(A)Γ—P(B)Two unrelated events, both occurP(HH) on 2 coin flips
Dependent MultiplicationP(A∩B) = P(A)Γ—P(B|A)First event affects secondDrawing 2 cards without replacement
Conditional ProbabilityP(A|B) = P(A∩B)/P(B)A given B already occurredDisease given positive test
At Least OneP(β‰₯1) = 1 βˆ’ P(none)Probability of at least one successP(β‰₯1 six in 4 rolls)
Bayes' TheoremP(A|B) = P(B|A)Γ—P(A)/P(B)Updating probability with new evidenceMedical diagnosis accuracy

Independent vs. Dependent Events

One of the most important distinctions in probability is whether events influence each other. Getting this right is critical for accurate calculations.

Independent Events

Two events are independent if the occurrence of one does not affect the probability of the other. The classic examples are coin flips, dice rolls, and draws with replacement.

  • Flipping a coin and rolling a die β€” each result is completely separate.
  • Drawing a card, recording it, putting it back, and drawing again (with replacement).
  • Whether it rains in Tokyo has no effect on the outcome of a coin flip in London.

For independent events: P(A and B) = P(A) Γ— P(B)

Dependent Events

Events are dependent when the outcome of the first event changes the probability of the second. This typically arises in scenarios where outcomes are removed from the sample space.

βœ” Example β€” Drawing cards without replacement

What is the probability of drawing two Aces from a 52-card deck without replacing the first card?

P(first Ace) = 4/52 = 1/13

P(second Ace | first was Ace) = 3/51 (only 3 Aces remain in 51 cards)

P(both Aces) = 4/52 Γ— 3/51 = 12/2652 = 1/221 β‰ˆ 0.45%

Independent vs. Dependent: Probability Comparison

The chart below compares the probability of drawing two Aces under different conditions, illustrating how dependency significantly affects the result.

With replacement: 0.592%. Without replacement: 0.452%.

Mutually Exclusive Events

Events are mutually exclusive (also called disjoint) when they cannot both occur at the same time. For example, a single die roll cannot simultaneously show a 2 and a 5. If A and B are mutually exclusive, P(A and B) = 0, and P(A or B) = P(A) + P(B).

Event TypeCan Both Occur?AND FormulaOR Formula
IndependentYesP(A) Γ— P(B)P(A)+P(B)βˆ’P(A)Γ—P(B)
DependentYesP(A) Γ— P(B|A)P(A)+P(B)βˆ’P(A∩B)
Mutually ExclusiveNo0P(A) + P(B)

Real-World Probability Examples and Applications

Probability becomes much easier to understand through concrete, everyday scenarios. The following examples demonstrate how the formulas work in practice.

Example 1: Coin Flip Probability

A fair coin has two possible outcomes: Heads (H) or Tails (T). Each has a probability of 1/2 = 0.5 = 50%.

  • P(H) = 0.5 | P(T) = 0.5
  • P(two heads in a row) = 0.5 Γ— 0.5 = 0.25 (25%)
  • P(at least one head in 3 flips) = 1 βˆ’ P(TTT) = 1 βˆ’ (0.5)Β³ = 1 βˆ’ 0.125 = 87.5%

Example 2: Dice Probability

A standard die has 6 faces numbered 1 through 6, each with probability 1/6 β‰ˆ 16.67%.

EventFavorable OutcomesProbabilityPercentage
Rolling a 611/616.67%
Rolling an even number3 (2, 4, 6)3/6 = 1/250%
Rolling greater than 42 (5, 6)2/6 = 1/333.33%
Rolling a 1 or 222/6 = 1/333.33%
Rolling a double-six (two dice)11/362.78%
Sum of 7 on two dice6 (1+6,2+5,3+4,4+3,5+2,6+1)6/36 = 1/616.67%

Example 3: Weather Probability

A meteorologist says there is a 40% chance of rain on Saturday and a 30% chance of rain on Sunday. Assuming these are independent events:

  • P(rain both days) = 0.4 Γ— 0.3 = 0.12 (12%)
  • P(rain at least one day) = 1 βˆ’ P(no rain either day) = 1 βˆ’ (0.6 Γ— 0.7) = 1 βˆ’ 0.42 = 58%
  • P(rain Saturday but not Sunday) = 0.4 Γ— 0.7 = 28%

Example 4: Lottery and Large-Sample Probability

In a lottery where you choose 6 numbers from 1 to 49, the number of possible combinations is calculated using the combinations formula C(49,6) = 13,983,816. Therefore:

  • P(jackpot with one ticket) = 1 / 13,983,816 β‰ˆ 0.00000715% β€” extremely small!
  • P(matching 3 numbers) is considerably higher, around 1.77%.
  • This illustrates why large sample spaces reduce individual outcome probabilities dramatically.

Probability Comparison Chart: Common Events

Coin flip 50%, rolling even 50%, drawing ace 7.7%, rolling six 16.7%, drawing heart 25%.

Counting Methods: Permutations and Combinations

Many probability problems require counting the number of possible outcomes. The two main techniques are permutations (where order matters) and combinations (where order does not matter).

Permutations (Order Matters)

P(n, r) = n! / (n βˆ’ r)!

Use permutations when you want to select r items from n items and the arrangement order matters β€” for example, finishing positions in a race.

βœ” Example β€” Podium positions

How many ways can 3 runners from a group of 10 finish in 1st, 2nd, and 3rd place?

P(10, 3) = 10! / (10βˆ’3)! = 10 Γ— 9 Γ— 8 = 720 ways

Combinations (Order Does Not Matter)

C(n, r) = n! / (r! Γ— (n βˆ’ r)!)

Use combinations when you are selecting r items from n items and the order doesn't matter β€” for example, choosing members of a team or lottery numbers.

βœ” Example β€” Forming a committee

How many ways can you choose 3 people from a group of 8 to form a committee?

C(8, 3) = 8! / (3! Γ— 5!) = 56 / 6 = 56 ways

MethodFormulaOrder Matters?Typical Use
Permutationn! / (nβˆ’r)!YesRankings, codes, sequences
Combinationn! / (r!(nβˆ’r)!)NoTeams, committees, lotteries
Factorialn! = nΓ—(nβˆ’1)×…×1β€”Arranging all n items
Repetition PermutationnΚ³YesPasswords, PINs, dice rolls

Introduction to Probability Distributions

A probability distribution describes how probabilities are spread across all possible outcomes of a random variable. Understanding basic distributions is the gateway to advanced statistics.

Uniform Distribution

In a uniform distribution, all outcomes have an equal probability. Rolling a fair die is a classic example: each face (1–6) has a probability of 1/6. In a continuous uniform distribution, the probability that a value falls between a and b is (bβˆ’a)/(maxβˆ’min).

Binomial Distribution

The binomial distribution models the number of successes in a fixed number of independent trials, where each trial has the same probability of success p. It is defined by:

P(X = k) = C(n,k) Γ— pᡏ Γ— (1βˆ’p)ⁿ⁻ᡏ

Where n = number of trials, k = number of desired successes, and p = probability of success on any single trial.

βœ” Example β€” Free-throw shooting

A basketball player makes 70% of free throws. What is the probability of making exactly 4 out of 5 attempts?

P(X=4) = C(5,4) Γ— 0.7⁴ Γ— 0.3ΒΉ = 5 Γ— 0.2401 Γ— 0.3 = 0.3601 = 36.01%

Normal Distribution

The normal (Gaussian) distribution is the famous bell-shaped curve. Many natural phenomena β€” heights, test scores, measurement errors β€” follow approximately normal distributions. It is characterized by its mean (ΞΌ) and standard deviation (Οƒ). Approximately 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three (the empirical rule).

Normal Distribution β€” The 68-95-99.7 Rule
Normal distribution bell curve showing 68%, 95%, and 99.7% coverage ranges.

Frequently Asked Questions About Probability

Here are answers to the most commonly searched probability questions, from basic definitions to specific calculation methods.

Probability measures how likely an event is to occur, expressed as a number between 0 (impossible) and 1 (certain). The basic formula is P(Event) = Number of Favorable Outcomes Γ· Total Number of Possible Outcomes. For example, the probability of rolling a 3 on a fair six-sided die is 1/6 β‰ˆ 16.67%.
To convert probability to a percentage, multiply the decimal result by 100. For example, if P(A) = 0.35, then the percentage probability is 35%. Conversely, to convert a percentage to a decimal probability, divide by 100 (e.g., 75% Γ· 100 = 0.75).
Independent events are events where the outcome of one does not affect the outcome of the other (e.g., two coin flips). Dependent events are events where the first outcome changes the probability of the second (e.g., drawing two cards without replacement). For independent events, P(A and B) = P(A) Γ— P(B). For dependent events, P(A and B) = P(A) Γ— P(B|A).
Conditional probability P(A|B) gives the probability of event A occurring given that event B has already happened. It is calculated as P(A|B) = P(A and B) / P(B). You use conditional probability when later events are affected by earlier ones β€” such as in medical diagnosis, quality control, and machine learning algorithms.
Use the complement rule: P(at least one) = 1 βˆ’ P(none occur). For example, if you roll a die 4 times and want P(at least one six): P(no six in 4 rolls) = (5/6)⁴ β‰ˆ 0.4823, so P(at least one six) = 1 βˆ’ 0.4823 β‰ˆ 51.77%.
A probability of 0 means the event is impossible β€” it can never occur. A probability of 1 means the event is certain β€” it will always occur. All valid probabilities fall between these two extremes (0 ≀ P ≀ 1). Events with probabilities close to 0 are very unlikely; those close to 1 are very likely.
Bayes' Theorem is a formula for updating the probability of an event based on new evidence. It states: P(A|B) = [P(B|A) Γ— P(A)] / P(B). It is widely used in medical testing (updating disease probability after a test result), spam filtering, and machine learning classification algorithms. It allows you to incorporate prior knowledge into probability estimates.
The addition rule states that P(A or B) = P(A) + P(B) βˆ’ P(A and B). This formula calculates the probability that at least one of two events occurs. The subtraction avoids double-counting outcomes that satisfy both A and B. If A and B are mutually exclusive (cannot both occur), P(A and B) = 0, simplifying the rule to P(A or B) = P(A) + P(B).
Probability is used across virtually every field. In medicine, it helps determine the effectiveness of treatments and the accuracy of diagnostic tests. In finance, it models investment risk and return. Insurance companies use it to price premiums. Weather forecasting, sports analytics, quality control in manufacturing, and artificial intelligence all rely fundamentally on probability theory.
Probability expresses the likelihood of an event as a value between 0 and 1 (or a percentage). Odds express the ratio of the probability of an event occurring to the probability of it not occurring. If P(A) = 0.25 (25%), the odds in favor of A are 0.25 : 0.75 = 1:3 (one in favor, three against). Odds are commonly used in gambling and sports betting.
Advertisement
240 Γ— 600
Ad Space
Replace with your AdSense or ad network tag