# Geometric Distribution Calculator

Calculate probabilities for the trial number of the first success in repeated Bernoulli trials

> Canonical page: https://elysiatools.com/en/tools/geometric-distribution-calculator

- **Category:** Math & Numbers

- **Keywords:** geometric distribution, first success, bernoulli trials, probability, statistics

## Overview

Calculate geometric distribution probabilities.

This tool uses the convention X = the trial number on which the first success occurs. It returns P(X = k), P(X <= k), P(X >= k), mean, variance, and standard deviation.

## Inputs

- **Success Probability** (number)
- **Trial Number** (number)
- **Input Scale** (select)
- **Probability Mode** (select)
- **Decimal Places** (number)

## When to use

- Analyzing quality control processes to determine the likelihood of finding the first defective item on a specific inspection.
- Calculating the odds of achieving a successful outcome, such as a sale or a game win, on an exact attempt.
- Solving probability and statistics problems involving independent Bernoulli trials and first-success distributions.

## How it works

- Enter the probability of success for a single trial, choosing either a percentage or a decimal proportion.
- Input the target trial number (k) on which you want the first success to occur.
- Select the probability mode to focus on an exact trial, at most k trials, or at least k trials.
- Review the calculated probabilities, mean, variance, and standard deviation formatted to your preferred decimal places.

## Use cases

- Quality Assurance: Estimating the probability that the first defective product is discovered exactly on the 10th item inspected.
- Sales Forecasting: Calculating the likelihood of closing the first deal on the 5th cold call given a known conversion rate.
- Gaming & Loot Drops: Determining the chances of obtaining a rare item within the first 3 attempts when the drop rate is fixed.

## Frequently asked questions

### What is a geometric distribution?

It is a discrete probability distribution that models the number of independent trials needed to get the first success, where each trial has the same probability of success.

### What does 'trial number' mean in this calculator?

It represents the total number of attempts made up to and including the first successful outcome. This calculator uses the convention where X equals the trial number of the first success.

### Can I input the success probability as a percentage?

Yes, you can use the 'Input Scale' option to enter the success probability as either a percentage (e.g., 20%) or a decimal proportion (e.g., 0.20).

### What is the difference between 'At Most' and 'At Least' modes?

'At Most k Trials' calculates the cumulative probability that the first success happens on or before trial k. 'At Least k Trials' calculates the probability that it takes k or more trials to succeed.

### Are the mean and variance calculated automatically?

Yes, the calculator automatically computes the expected value (mean), variance, and standard deviation based on the provided success probability.

## Related tools

- [Antilog Calculator](https://elysiatools.com/en/tools/antilog-calculator): Calculate antilogarithms for any valid base and optionally verify the result by applying the logarithm again
- [Arithmetic Sequence Calculator](https://elysiatools.com/en/tools/arithmetic-sequence-calculator): Calculate the nth term, first terms, and finite sum of an arithmetic sequence
- [Bayes Theorem Calculator](https://elysiatools.com/en/tools/bayes-theorem-calculator): Calculate posterior probability P(A given B) using prior, likelihood, and false-positive rate
- [Bearing Capacity Calculator (Terzaghi)](https://elysiatools.com/en/tools/bearing-capacity-calculator): Calculate the Terzaghi ultimate bearing capacity of a shallow foundation: q_ult = c·Nc·sc + q·Nq·sq + 0.5·γ·B·Nγ·sγ. Computes Nc/Nq/Nγ and shape factors automatically; supports strip, square, and circular footings. Result in kPa.
- [Belt Pulley Speed Ratio Calculator](https://elysiatools.com/en/tools/belt-pulley-speed-ratio): Calculate the ratio, driven speed and belt linear speed of a belt drive. i = d₂/d₁ = n₁/n₂, belt speed v = π·d·n/60. Supports mm/cm/m/inch diameter units.
- [Bending Stress Calculator](https://elysiatools.com/en/tools/bending-stress-calculator): Calculate the maximum bending (flexural) stress σ_max = M·c/I = M/Z at the outermost fiber of a beam section. Supports solid circle, rectangle, hollow tube, and I-beam; computes I, section modulus Z, and distance c automatically. Stress in MPa.
- [Binomial Distribution Calculator](https://elysiatools.com/en/tools/binomial-distribution-calculator): Calculate exact, cumulative, and upper-tail binomial probabilities for independent Bernoulli trials
- [Break-Even Calculator](https://elysiatools.com/en/tools/break-even-calculator): Calculate the break-even point for a product or business based on fixed costs, variable costs, and price

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
