Binomial Distribution Calculator

The binomial distribution gives the chance of exactly x successes in n independent tries: P(X = x) = C(n, x) pˣ (1 − p)ⁿ⁻ˣ, where p is the chance of success each time. Use it when something is tried a set number of times, each try either succeeds or fails, and the chance of success stays the same, like flipping a coin 10 times. Type the number of trials, the chance of success and the number of successes to see the probability, with the full table.

Probability
0.2051 P(X = 6)

The chance of exactly 6 successes in 10 trials, when each has a 0.5 chance of success, is 0.2051 (20.51%).

Expected number (np) 5
Standard deviation 1.5811
P(X ≤ 6) 0.8281

What is a binomial distribution?

A binomial experiment has a fixed number of trials (n), two possible outcomes on each (success or failure), and the same chance of success (p) every time, with the trials independent of each other. The binomial distribution gives the chance of each possible number of successes, from 0 to n.

On average you get np successes: in 20 trials with p = 0.41, that’s 8.2. The standard deviation, √(np(1 − p)), is 2.20, which says how far the count usually lands from that average.

Source OpenStax Introductory Statistics 2e · 4.3 Binomial distribution ↗

How to calculate binomial probability

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ

Here it is with your numbers:

  1. C(10, 6) = 210
  2. 0.5⁶ = 0.015625
  3. 0.5⁴ = 0.0625
  4. P(X = 6) = 210 × 0.015625 × 0.0625 = 0.2051

It means that if you ran the 10 trials many times, about 20.51% of the time you would get exactly 6 successes.

C(n, k) is the number of ways to choose which k of the n trials are the successes: n! ÷ (k! (n − k)!). “At most” adds the terms from 0 up, “at least” from x up to n.

Source NIST/SEMATECH e-Handbook · 1.3.6.6.18 Binomial distribution ↗

Binomial probability table

Each count of successes with its chance and the running total, P(X ≤ k). The counts your answer adds up are highlighted. For more than 60 trials, it shows up to 61 counts around the most likely one, leaving out those that round to 0.0000.

Successes (k)P(X = k)P(X ≤ k)
00.00100.0010
10.00980.0107
20.04390.0547
30.11720.1719
40.20510.3770
50.24610.6230
60.20510.8281
70.11720.9453
80.04390.9893
90.00980.9990
100.00101

Source Microsoft Support · BINOM.DIST function ↗

FAQs

What is a binomial probability distribution?

It gives the chance of each possible number of successes in a fixed number of independent trials, when each trial has only two outcomes and the same chance of success. NIST’s formula is P(x) = C(n, x) pˣ (1 − p)ⁿ⁻ˣ for x = 0, 1, …, n.

Source NIST/SEMATECH e-Handbook · 1.3.6.6.18 Binomial distribution ↗

What are the four basic rules of the binomial distribution?

OpenStax lists three characteristics: a fixed number of trials, only two outcomes (success or failure) on each, and independent trials repeated under identical conditions, so the chance of success p is the same for every trial. Counting that as its own rule gives four.

Source OpenStax Introductory Statistics 2e · 4.3 Binomial distribution ↗

How to find the probability for a binomial distribution?

For exactly x successes, multiply C(n, x) by pˣ and by (1 − p)ⁿ⁻ˣ. For “at most x”, add the probabilities for 0 to x; for “at least x”, add those for x to n. In Excel, BINOM.DIST(6, 10, 0.5, FALSE) gives exactly 6 of 10 (0.2050781) and TRUE gives at most 6.

Source Microsoft Support · BINOM.DIST function ↗

What is Bernoulli vs. binomial?

A Bernoulli trial is one trial with two outcomes, success or failure. A binomial experiment counts the successes in one or more Bernoulli trials, so the binomial distribution with n = 1 is a single Bernoulli trial.

Source OpenStax Introductory Statistics 2e · 4.3 Binomial distribution ↗

Sources

Related calculators