Binomial Probability Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free binomial probability calculator. Find the chance of exactly, at most, at least, fewer or more than k successes in n trials, plus the mean and SD.

P(X ≤ k)
0
P(X ≥ k)
0
P(X < k)
0
P(X > k)
0
Mean (np)
0
Standard deviation
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the binomial probability calculator

  1. Enter the number of trials (n): how many times the event is tried, such as 10 coin tosses.
  2. Enter the probability of success (p) on each trial, as a decimal (0.5) or a percentage (50).
  3. Enter the number of successes (k) you're interested in.
  4. Read the results. The binomial probability calculator shows the probability of exactly k successes, at most k, at least k, fewer than k and more than k, plus the mean and standard deviation.

It handles up to 100,000 trials, using logarithms to stay accurate with very small probabilities.

What is a binomial distribution?

The binomial distribution describes the number of successes in a fixed number of independent trials, where each trial has only two outcomes (success or failure) and the same probability of success.

Examples:

  • The number of heads in 10 coin tosses.
  • The number of defective items in a batch of 50, if each has a 2% chance of being defective.
  • The number of customers out of 200 who click an email link, if each has a 4% chance.
  • The number of free throws made out of 20 by a player who makes 70%.

The four conditions

A situation is binomial if:

  1. There's a fixed number of trials (n).
  2. Each trial has two outcomes: success or failure.
  3. The probability of success (p) is the same on every trial.
  4. The trials are independent: one doesn't affect another.

Drawing cards without replacing them breaks the independence condition (use the hypergeometric distribution instead), though with large populations the binomial is often a close approximation.

The binomial formula

P(X = k) = C(n, k) × p^k × (1 − p)^(n − k)

where C(n, k) = n! ÷ (k! (n − k)!) is the number of ways to choose which k trials are successes.

Example: 3 heads in 10 tosses

  • C(10, 3) = 120
  • p^k = 0.5³ = 0.125
  • (1 − p)^(n − k) = 0.5⁷ = 0.0078125
  • P(X = 3) = 120 × 0.125 × 0.0078125 = 0.1172 (11.7%)

Our combination calculator works out C(n, k).

Cumulative probabilities

Often you want a range rather than an exact number:

Phrase Notation How it's calculated
At most k P(X ≤ k) Sum of P(0) to P(k)
Fewer than k P(X < k) Sum of P(0) to P(k − 1)
At least k P(X ≥ k) 1 − P(X < k)
More than k P(X > k) 1 − P(X ≤ k)

For 10 tosses: P(at most 3 heads) = 0.1719, P(at least 3 heads) = 0.9453.

Watch the wording: "at least 3" includes 3; "more than 3" doesn't.

Mean and standard deviation

  • Mean (expected value) = n × p
  • Standard deviation = √(n × p × (1 − p))

For 10 tosses: mean = 5, standard deviation = 1.58. For 200 emails with a 4% click rate: mean = 8 clicks, standard deviation = 2.77.

Normal approximation

When n is large and p isn't too close to 0 or 1 (a common rule is np ≥ 10 and n(1 − p) ≥ 10), the binomial distribution looks like a normal distribution with the same mean and standard deviation. That's useful for quick estimates, but the binomial probability calculator calculates exact binomial probabilities, so you don't need the approximation.

Real-world examples

Quality control

A factory's machine produces 2% defective parts. In a sample of 50, what's the chance of finding more than 2 defects? n = 50, p = 0.02, k = 2: P(X > 2) ≈ 0.078. If the factory regularly finds more defects than this, the machine may need checking.

Marketing

An email has a 4% click rate. If you send it to 200 people, what's the chance of at least 10 clicks? n = 200, p = 0.04, k = 10: P(X ≥ 10) ≈ 0.28.

Medicine and testing

If a treatment works for 60% of patients, the chance that at least 8 of 10 patients respond is P(X ≥ 8) ≈ 0.167.

A/B testing

Binomial thinking underlies conversion-rate tests. Our A/B test calculator checks whether a difference between two conversion rates is significant, and the sample size calculator tells you how many visitors you need.

Common mistakes

  • Using percentages inconsistently: enter p as 0.04 or 4, and the calculator interprets values over 1 as percentages.
  • Confusing "at least" and "more than".
  • Ignoring dependence: if outcomes affect each other, the binomial model doesn't apply.
  • Assuming p is the same for everyone when it isn't: for example, different customer groups may have very different click rates.

A worked example

Sam runs a café loyalty scheme where each customer has a 30% chance of redeeming a free coffee voucher in a month. If 20 customers receive vouchers, how many free coffees should Sam expect, and how likely are 10 or more?

In the binomial probability calculator with n = 20, p = 0.3, k = 10:

  • Mean: 6 redemptions, standard deviation 2.05.
  • P(X = 10) = 0.0308
  • P(X ≥ 10) = 0.0480 (about a 5% chance).

Sam budgets for about 6 free coffees, with a small chance of 10 or more.

Who uses a binomial probability calculator

Students use it in statistics and probability courses. Quality engineers use it for defect rates. Marketers use it for click and conversion rates. Researchers and doctors use it for success rates of treatments, and gamers and sports fans use it to estimate odds.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

"At least one" problems

One of the most useful binomial calculations is the chance of at least one success. It's easiest to work out through the complement: P(at least one) = 1 − P(none) = 1 − (1 − p)ⁿ. If a part has a 2% chance of being faulty, the chance that a box of 50 contains at least one faulty part is 1 − 0.98⁵⁰ ≈ 0.636, or about 64%. If you roll a die four times, the chance of at least one six is 1 − (5/6)⁴ ≈ 0.518, a little better than even. Many people underestimate how quickly "at least one" probabilities grow, which is why the binomial probability calculator is so useful for risk and quality questions.

Binomial versus hypergeometric

The binomial model assumes each trial has the same probability, which is true when you sample with replacement or from a very large population. When you draw without replacement from a small group, such as dealing cards from a deck or picking 5 people from a team of 20, the probability changes after each draw. That situation follows the hypergeometric distribution instead. A common rule is that the binomial model is a good approximation when the sample is less than about 5% of the population. For a sample of 50 from a batch of 10,000, the binomial probability calculator works well. For 5 cards from a 52-card deck, it doesn't.

Using the binomial distribution in quality control

Factories use binomial probabilities to design acceptance sampling plans. Suppose a buyer inspects 20 items from each batch and accepts the batch if no more than one is defective. If the true defect rate is 2%, the chance of accepting the batch is P(0) + P(1) ≈ 0.668 + 0.272 = 0.940. If the defect rate is 10%, that drops to about 0.392. Plans like this balance the cost of inspection against the risk of accepting a bad batch, and the binomial probability calculator makes it easy to test different sample sizes and acceptance limits.

Binomial tests

The binomial distribution also underlies a simple hypothesis test. If a coin lands heads 16 times in 20 tosses, is it biased? With a fair coin, the chance of 16 or more heads is about 0.0059, so a result this extreme would happen by chance less than 1% of the time. Most people would take that as strong evidence that the coin isn't fair. Use the binomial probability calculator with "at least" to get this kind of tail probability.

Rounding and very small probabilities

With many trials, individual probabilities can become extremely small. The calculator works with logarithms internally, so it stays accurate even for large n, and shows tiny results in scientific notation rather than rounding them to zero.

Sources and further reading

Frequently asked questions

What is the binomial probability formula?

P(X = k) = C(n, k) × p^k × (1 − p)^(n − k).

What is the probability of 3 heads in 10 coin tosses?

About 0.117, or 11.7%.

What's the difference between "at least" and "more than"?

"At least k" includes k (X ≥ k); "more than k" doesn't (X > k).

What is the mean of a binomial distribution?

n × p.

When can I use the binomial distribution?

When there's a fixed number of independent trials, each with two outcomes and the same probability of success.

Is the binomial probability calculator free?

Yes. It's free, needs no sign-up, and works in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep