Geometric Probability Calculator

Calculate the probability of achieving the first success on a specific trial in a series of independent Bernoulli trials.

Geometric Probability Inputs

Enter the probability of success on a single trial (p) and the desired number of trials until the first success (k).

Result

Probability of first success on trial :

Formula:

Probability Visualization

Understanding Geometric Probability

Geometric probability deals with the number of trials needed to get the first success in a sequence of independent Bernoulli trials. A Bernoulli trial is an experiment with only two outcomes: success or failure.

Formula

The probability mass function for geometric distribution is given by: $$P(X=k) = (1-p)^{k-1} \times p$$

Example

Suppose you are rolling a fair die until you get a 6. The probability of success (rolling a 6) is 1/6. What is the probability that the first 6 appears on the 3rd roll?

This calculator helps you quickly compute this probability for different values of p and k.

Further Resources