Logo

MonoCalc

/

Binomial Distribution Calculator

Math

Enter probability as percentage

P(X = 4)

0.2377
Probability
0.2377
Percentage
23.7668%
Complement
0.7623
Complement %
76.2332%

💡 There is a 23.7668% chance of getting exactly 4 successes in 10 trials.

Distribution Statistics

Mean (μ)
3.5000
Variance (σ²)
2.2750
Std Dev (σ)
1.5083

PMF Bar Chart

Blue bars = selected event · Red line = mean

0123456789100.0000.1260.252Selected eventMean (μ)

PMF / CDF Distribution Table (x = 0 … 10)

xP(X = x)P(X ≤ x)
00.01350.0135
10.07250.0860
20.17570.2616
30.25220.5138
40.23770.7515
50.15360.9051
60.06890.9740
70.02120.9952
80.00430.9995
90.00051.0000
100.00001.0000

Display Options

Show Chart

Show Distribution Table

Show Normal Approximation Notice

About This Tool

📊 Binomial Distribution Calculator – PMF, CDF & Statistics

The binomial distribution is one of the most widely used probability distributions in statistics. It describes the number of successes in a sequence of n independent Bernoulli trials, where each trial has the same constant probability of success p. Whether you are analysing quality control data, modelling polling results, or solving statistics problems, this calculator gives you exact probabilities, cumulative probabilities, and full distribution statistics in seconds.

🔢 The Binomial Formula

The probability of observing exactly k successes in n trials is given by the Probability Mass Function (PMF):

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

where C(n, k) = n! / (k! × (n − k)!) is the binomial coefficient counting the number of ways to choose k items from n. This calculator evaluates the formula in log-space to stay accurate even for large values of n.

📐 Calculation Modes Explained

The tool supports five modes to cover every common probability query:

  • Exact P(X = k) — the probability of getting precisely k successes.
  • Cumulative P(X ≤ k) — the probability of at most k successes; equals the sum of all PMF values from 0 to k.
  • Upper Tail P(X ≥ k) — the probability of at least k successes; computed as 1 − P(X ≤ k − 1).
  • Interval P(a ≤ X ≤ b) — the probability that successes fall within a range; equals P(X ≤ b) − P(X ≤ a − 1).
  • Distribution Summary — shows the full PMF/CDF table and descriptive statistics for the chosen n and p.

📈 Key Distribution Statistics

For a Binomial(n, p) distribution, the following statistics are always displayed:

  • Mean (μ): The expected number of successes, μ = np.
  • Variance (σ²): A measure of spread, σ² = np(1 − p).
  • Standard Deviation (σ): σ = √(np(1 − p)).
  • Skewness: How asymmetric the distribution is; (1 − 2p) / σ. Positive when p < 0.5, negative when p > 0.5, and zero (symmetric) when p = 0.5.

🔍 Normal Approximation

When both np ≥ 5 and n(1 − p) ≥ 5, the binomial distribution is approximately bell-shaped and can be approximated by a Normal distribution with the same mean and standard deviation. The calculator flags this condition automatically so you can decide whether the approximation is appropriate for your use case.

🏫 Common Use Cases

  • Quality Control — computing the probability that a batch contains fewer than k defects.
  • Education & Exams — solving textbook statistics and probability exercises.
  • Polling & Surveys — estimating the likelihood of a certain number of respondents choosing an option.
  • Reliability Engineering — modelling the chance that at least k out of n components are functioning.
  • Clinical Trials — calculating the probability of observing a given number of positive outcomes in a fixed-size trial.
  • Finance & Risk — pricing binary options or modelling default events in a portfolio of independent loans.

⚠️ Assumptions & Limitations

The binomial model is valid only when these four conditions hold:

  1. Fixed number of trials — n is determined in advance.
  2. Binary outcome — each trial results in success or failure.
  3. Independence — the outcome of one trial does not affect others.
  4. Constant probability — p remains the same across all trials.

If trials are dependent or the probability changes between draws (as with sampling without replacement from a small population), consider the hypergeometric distribution instead. For rare events with very large n and very small p, the Poisson distribution with λ = np is a useful approximation.

Frequently Asked Questions

Is the Binomial Distribution Calculator free?

Yes, Binomial Distribution Calculator is totally free :)

Can I use the Binomial Distribution Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Binomial Distribution Calculator?

Yes, any data related to Binomial Distribution Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is the binomial distribution?

The binomial distribution models the number of successes in a fixed number of independent trials, each with the same probability of success. It applies whenever you have a yes/no experiment repeated n times — for example, counting heads in coin flips, defective items in a batch, or correct answers on a test.

How does this Binomial Distribution Calculator work?

Enter the number of trials (n), the probability of success on each trial (p), choose a calculation mode (Exact, Cumulative, Upper Tail, Interval, or Summary), and provide the required success count(s). The calculator computes the probability using the exact binomial formula P(X = k) = C(n,k) · pᵏ · (1−p)ⁿ⁻ᵏ and displays a distribution table and chart.

What is the difference between exact, cumulative, and upper-tail probability?

Exact gives P(X = k) — the chance of getting precisely k successes. Cumulative gives P(X ≤ k) — the chance of getting at most k successes. Upper tail gives P(X ≥ k) — the chance of getting at least k successes. Interval gives P(a ≤ X ≤ b) for a success range.

When is the normal approximation to the binomial valid?

The normal approximation is generally acceptable when both np ≥ 5 and n(1−p) ≥ 5. Under these conditions, the binomial distribution is roughly bell-shaped and N(np, √(np(1−p))) gives close probabilities — useful for quick estimates when n is very large.

How accurate are the results for large n?

This calculator uses log-space arithmetic and the log-gamma function to compute binomial coefficients. This avoids floating-point overflow and remains accurate for n up to several thousand. For extremely large n (above ~10,000), tiny probabilities may underflow to zero, but results for non-negligible outcomes are reliable.

What are the mean and variance of the binomial distribution?

For a Binomial(n, p) distribution, the mean (expected number of successes) is μ = np, the variance is σ² = np(1−p), and the standard deviation is σ = √(np(1−p)). These statistics appear in the distribution summary alongside skewness and excess kurtosis.