Loading…

Geometric Distribution Solver

Math Probability • Discrete Probability Distributions

View all topics

Geometric Distribution Solver – P(X=k), CDF, Mean/Variance (Free)

Solve geometric probabilities for repeated independent trials with success probability \(p\). Compute \(P(X=k)\) (and optionally \(P(X\le k)\)), plus mean and variance.

Tip: Press Play to animate the trial sequence (failures then success) and sweep a highlighted \(k\) on the PMF chart.

Inputs

Accepted expressions: 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Output & visualization
Drag on the PMF chart to pan. Use mouse wheel / trackpad to zoom. Canvas labels are plain text (no LaTeX inside the chart).
Simulation

Simulate one waiting time from the geometric model (same \(p\) and definition), then animate its trial sequence.

Ready
Interactive view — trial sequence + PMF chart (pan/zoom) + Play

Top panel: failures then success (animated). Bottom panel: PMF bars \(P(X=k)\) with a highlighted \(k\).

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does the geometric distribution model?

It models the waiting time until the first success in repeated independent trials with constant success probability p.

Why are there two versions (k starting at 1 vs 0)?

Some definitions count the trial number of the first success (1,2,3,...) while others count the number of failures before the first success (0,1,2,...). The PMF exponent shifts by one.

What is the memoryless property?

It states that P(X>m+n | X>m) = P(X>n). After observing m failures, the distribution of additional waiting time is unchanged.

When should I use the CDF P(X<=k)?

Use it for 'at most' or 'by time k' questions, such as the probability a success occurs within the first k trials.