Free probability calculator

Binomial Distribution Calculator

Calculate binomial probabilities for exactly, at most, at least, less than, greater than, between, and outside a range. Get the mean, variance, standard deviation, probability table, inverse cutoff, formula, and steps.

Binomial probability calculator

Find exact, cumulative, tail, range, and outside-range probabilities.

Quick examples
Valid binomial setting: fixed n, two outcomes per trial, independent trials, and the same p on every trial.
At most xP(X ≤ x) = 62.3047%
Less than xP(X < x) = 37.6953%
At least xP(X ≥ x) = 62.3047%
More than xP(X > x) = 37.6953%
Between a and bP(5 ≤ X ≤ 7) = 56.8359%
Outside a and bP(X < 5 or X > 7) = 43.1641%
Mean (μ = np)5.000000
Variance (σ² = np(1 − p))2.500000
Standard deviation1.581139

Inverse binomial calculator

Find the smallest number of successes x for which P(X ≤ x) reaches your target probability.

Smallest x with P(X ≤ x) ≥ 0.95x = 8At x = 8, P(X ≤ x) = 98.9258%

This discrete inverse uses the first integer cutoff whose cumulative probability meets or exceeds the target.

Binomial probability distribution table

P(X = k) for each possible number of successes.

kP(X = k)Distribution
00.0977%
10.9766%
24.3945%
311.7188%
420.5078%
524.6094%
620.5078%
711.7188%
84.3945%
90.9766%
100.0977%

Step-by-step calculation

  1. Identify the inputs: n = 10 trials, p = 0.5, and x = 5 successes.
  2. Use the binomial PMF: P(X = x) = C(n, x)pˣ(1 − p)ⁿ⁻ˣ.
  3. Calculate the selected probability: P(X = 5) = 24.6094%.
  4. For cumulative questions: add the relevant exact probabilities, such as P(X ≤ 5) = 62.3047%.
  5. Interpret the result: the selected probability is 24.6094% under these assumptions.

How to use the binomial distribution calculator

  1. Enter the number of trials n.
  2. Enter the probability of success p as a decimal from 0 to 1.
  3. Enter the success count x. For a range, enter the upper value b too.
  4. Read the exact, cumulative, tail, range, and outside-range probabilities.
  5. Use the distribution table and step-by-step calculation to check your work.

Binomial distribution conditions

A problem follows a binomial distribution when it has a fixed number of trials, exactly two modeled outcomes per trial, independent trials, and the same probability of success for every trial.

How to use the binomial formula

P(X = x) = C(n, x) × pˣ × (1 − p)ⁿ⁻ˣ

Here, C(n, x) is the number of ways to choose x successes from n trials. Enter n, p and x in the calculator above to evaluate the formula.

Expected value and mean of a binomial distribution

The expected value, or mean, is μX = np. For n = 20 and p = 0.4, μX = 20 × 0.4 = 8.

How to find the standard deviation of a binomial distribution

First calculate the variance with σ² = np(1 − p), then take its square root: σ = √[np(1 − p)]. For n = 20 and p = 0.4, the standard deviation is √(20 × 0.4 × 0.6) ≈ 2.191.

What is BinomCDF?

BinomCDF is a calculator function for the cumulative binomial probability. In common calculator notation, binomcdf(n, p, x) represents P(X ≤ x). For example, binomcdf(10, 0.5, 3) gives the probability of 3 or fewer successes.

For an at least probability, use the complement: P(X ≥ 4) = 1 − P(X ≤ 3). For a range, P(3 ≤ X ≤ 7) = P(X ≤ 7) − P(X ≤ 2).

Read the full guide to using BinomCDF →

Binomial probability experiment examples

Worked example

Suppose a student guesses on 10 true/false questions, so n = 10 and p = 0.5. The probability of exactly 7 correct answers is calculated with P(X = 7) = C(10,7)(0.5)⁷(0.5)³, which is approximately 11.7188%.

Binomial probability examples

Frequently asked questions

What is a binomial distribution?

A binomial distribution models the number of successes in a fixed number of independent trials when each trial has the same probability of success.

What does n mean in a binomial distribution?

n is the fixed number of trials, such as 10 coin flips, 20 free throws, or 50 quality-control checks.

What does p mean in a binomial distribution?

p is the probability of success on each trial. Enter it as a decimal between 0 and 1, so 25% is 0.25.

What is x in a binomial distribution?

x is the number of successes being evaluated. For a binomial model, x must be an integer from 0 through n.

What is the binomial probability formula?

For exactly x successes, P(X = x) = C(n,x)p^x(1-p)^(n-x).

What is the difference between P(X ≤ x) and P(X < x)?

P(X ≤ x) includes x, while P(X < x) excludes x. Likewise, P(X ≥ x) includes x and P(X > x) excludes x.

When should I use a binomial distribution?

Use it when there is a fixed number of trials, two outcomes per trial, independent trials, and the same probability of success on every trial.

Binomial calculator guides

Related statistics calculators