Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Hypergeometric Distribution CalculatorBeta Distribution CalculatorNormal Distribution CalculatorBinomial Probability Distribution CalculatorNegative Binomial Distribution CalculatorPoisson Distribution CalculatorProbability Distribution Calculator
Home Page > Math > Statistics And Data Analysis

Geometric Distribution Calculator

Calculate geometric distribution probabilities for the number of trials until the first success. Enter the per-trial success probability and the trial number to get the PMF, CDF, cumulative probabilities and step-by-step solutions.

Free to useNo sign-up requiredInstant Results
Geometric Distribution CalculatorTry it now — free ▼
📌 Try a scenario:
Enter which trial number the first success occurs on
Per-trial success probability (0 < p ≤ 1)
Trial on which first success occurs (k ≥ 1)

Embed Geometric Distribution Calculator Widget

About Geometric Distribution Calculator

The Geometric Distribution Calculator computes exact probabilities for the number of independent Bernoulli trials needed to achieve the first success. Enter the probability of success per trial and the trial number (or number of failures) to instantly get point and cumulative probabilities, step-by-step solutions, animated trial sequence visualizations, PMF/CDF charts, and a complete distribution table. Both parameterizations — trial number and failures before success — are fully supported.

What Is the Geometric Distribution?

The geometric distribution is a discrete probability distribution that models the number of independent trials needed to get the first success in a sequence of Bernoulli trials. Each trial has the same probability p of success and probability q = 1 − p of failure. It is the discrete analogue of the exponential distribution and is the only discrete distribution with the memoryless property.

Two Common Parameterizations

The geometric distribution has two standard forms, which often causes confusion. This calculator supports both:

The Geometric PMF Formula

For the trials parameterization (the default in this calculator):

P(X = k) = (1 − p)k−1 × p, for k = 1, 2, 3, …

The intuition is simple: the first (k − 1) trials must all be failures (each with probability 1 − p), and the k-th trial must be a success (probability p). Since the trials are independent, we multiply these probabilities together.

CDF (Cumulative Distribution Function)

The CDF has a clean closed-form expression:

P(X ≤ k) = 1 − (1 − p)k

This gives the probability that the first success occurs within the first k trials. It is equivalent to 1 minus the probability that all k trials are failures.

Mean, Variance, and Other Statistics

The Memoryless Property

The geometric distribution is the only discrete distribution with the memoryless property:

P(X > s + t | X > s) = P(X > t)

This means that if you have already failed s times, the probability of needing at least t more trials is the same as if you were starting fresh. Past failures do not change future probabilities — which makes sense because each trial is independent.

Common Applications

Relationship to Other Distributions

How to Use This Calculator

  1. Enter the probability of success (p) per trial. This must be between 0 (exclusive) and 1 (inclusive).
  2. Choose the parameterization: trial number (k = 1, 2, 3, …) or failures before success (k = 0, 1, 2, …).
  3. Enter the value of k.
  4. Click "Calculate Probability" to see exact and cumulative probabilities, step-by-step solutions, an animated trial sequence, PMF/CDF charts, and the full distribution table.
  5. Use the quick scenario buttons to explore common real-world examples instantly.

Frequently Asked Questions

What is the geometric distribution used for?

The geometric distribution models the number of independent trials needed to get the first success. It is used whenever you want to answer the question "How many times do I have to try before I succeed?" assuming each attempt has the same probability of success. Common applications include sales call analysis, quality inspection, gambling, network retransmission, and genetics.

What is the difference between the two parameterizations?

The trials parameterization counts the trial number of the first success (starting from 1), while the failures parameterization counts the number of failures before the first success (starting from 0). They differ by exactly 1: if X is the trial number, then Y = X − 1 is the failure count. Both give the same probability value for the corresponding k.

What is the memoryless property?

The memoryless property means that past failures do not affect the probability of future success. If you have already flipped a fair coin 10 times without getting heads, the probability of needing exactly 1 more flip is still 0.5 — the coin does not "remember" past flips. The geometric distribution is the only discrete distribution with this property.

How is the geometric distribution related to the negative binomial?

The geometric distribution is a special case of the negative binomial distribution where you wait for exactly r = 1 success. The negative binomial generalizes this to waiting for r successes, where r can be any positive integer.

Why is the mode always 1?

The mode is always 1 (or 0 in the failures parameterization) because the most likely single outcome is success on the very first trial — this has probability p, which is the highest possible value of the PMF. Each subsequent trial has a strictly lower probability because it requires an additional failure first.

Reference this content, page, or tool as:

"Geometric Distribution Calculator" at https://MiniWebtool.com/geometric-distribution-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-14

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Statistics And Data Analysis:

Top & Updated:

Exponential Distribution CalculatorWeibull Distribution CalculatorF-Test / F-Distribution CalculatorView all →
Home Page > Math > Statistics And Data Analysis > Geometric Distribution Calculator