Omni Calculator logo

Geometric Distribution Calculator

Created by Bogna Szyk
Reviewed by Steven Wooding
Last updated: Jun 05, 2023


If you ever wondered what is the probability of getting five heads in a row while tossing a coin, this geometric distribution calculator might be of help. This article will help you understand the geometric distribution formula and definition. It will also present you with some examples of geometric distributions.

What is the geometric probability distribution

Geometric distribution describes the number of failures before one success. For example, you may be throwing a die until you get a result of 6. Geometric distribution lets you determine the probability of getting a six at the first throw, the second, etc.

One of the properties of geometric distribution is memorylessness. It means that the probability distribution of the upcoming results does not depend on how many failures you already got. The exponential distribution has the same property. Visit the exponential distribution calculator if you want to learn more about it.

Geometric distribution examples

Some examples of geometric distribution include:

  • Throwing a die multiple times to get a result of 6;
  • A couple that plans to have multiple children until the first boy;
  • Transmission of a sequence of bits until the first error; and
  • Interviewing voters until you find someone who voted for the same candidate as you did.

Geometric distribution formula

The formula for geometric distribution is

P = (1-p)x * p

where:

  • x is the number of failures before the first success;
  • p is the probability of achieving a success in one trial; and
  • P is the geometric probability of getting a success after x failures.

You can also use our geometric distribution calculator to find the following values:

  • Mean (the expected value) is equal to μ = (1-p)/p
  • Variance is equal to σ² = (1-p)/p²
  • Standard deviation is equal to σ = √[(1-p)/p²]

How to use the geometric distribution calculator: an example

Let's analyze the example with die throwing. You are throwing a die until getting the result of six. What are the chances that you will get a six on your second throw?

Don't have a die? No problem, just use the dice roller calculator!

  1. Determine the probability of success for one trial. For a die, it is equal to 1/6.

  2. Calculate how many failures you will have before a success. For a successful second throw, only one throw will be a failure.

  3. Calculate the geometric probability with the help of the equation above:

    P = (1-p)x * p

    P = (1-1/6)1 * 1/6 = 0.1389 = 13.89%

  4. You can also calculate the expected number of throws needed before you get a success, the variance, and standard deviation. Make sure to check the results with the geometric distribution calculator!

Bogna Szyk
Number of failures
Probability of success
Geometric probability
Expectation (mean)
Variance
Standard deviation
Check out 31 similar distributions and plots calculators 🔔
Benford's lawBeta distributionBinomial distribution… 28 more
People also viewed…

Christmas tree

Welcome to the Christmas tree calculator, where you will find out how to decorate your Christmas tree in the best way. Take a look at the perfect Christmas tree formula prepared by math professors and improved by physicists. Plan in advance how many lights and decorations you'll need!

Dice average

With this dice average calculator, you can quickly calculate the average value of a set of dice rolls.

Podcasts

Do you feel like you could be doing something more productive or educational while on a bus? Or while cleaning the house? Well, why don't you dive into the rich world of podcasts! With this podcast calculator, we'll work out just how many great interviews or fascinating stories you can go through by reclaiming your 'dead time'!

SMp(x)

SMp(x) distribution calculator can generate a six-parameter probability function, which can simulate virtually every known probability distribution.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service