1001Ferramentas
🎲Calculators

Binomial Probability P(X = k)

Enter trials n, successes k and success probability p to get P(X=k) = C(n,k)·p^k·(1−p)^(n−k) for a binomial random variable.

P(X=k)

Binomial probability P(X = k)

The binomial distribution counts how many successes you get in n independent Bernoulli trials, where each trial succeeds with probability p: P(X = k) = C(n, k) · p^k · (1−p)^(n−k), with C(n, k) = n! / (k!(n−k)!) being the binomial coefficient. The mean works out to μ = n·p and the variance to σ² = n·p·(1−p). Take 10 tosses of a fair coin and ask for exactly 7 heads: C(10, 7) · 0.5⁷ · 0.5³ = 120/1024 ≈ 0.117, about 11.7%. Once n is large enough that np ≥ 5 and n(1−p) ≥ 5, a Normal(np, np(1−p)) gives a good approximation, which follows from the Central Limit Theorem.

Applications

A/B testing leans on it to count conversions, quality control to count defective items in a batch, and Mendelian genetics to predict offspring proportions. You'll also see it behind opinion polling (the margin of error for a proportion), digital communication (bit error rate, or BER), clinical trials measuring response to treatment, and reliability engineering, where it gives the chance of k failures among n components.

FAQ

When does the binomial model not apply? Two cases break it. One is when the trials aren't independent, such as sampling without replacement from a small population, where the hypergeometric is the right model instead. The other is when p shifts from trial to trial.

Binomial or Poisson? Reach for Poisson when n is very large and p very small, yet np stays moderate. That's the rare-events regime, and Poisson tracks the binomial closely there.

What's P(X ≤ k) vs P(X = k)? P(X = k) is the chance of getting exactly k successes. P(X ≤ k) is the cumulative version, the sum of P(X = i) from i = 0 up to k, which answers "at most k successes."

Related Tools

🎲

Binomial Probability Calculator

Computes probability of exactly k successes in n independent trials with probability p using binomial coefficient combination formula.

Sign Test (Paired)

Computes the sign test, the simplest and most robust paired test of all. It completely ignores the magnitude of the differences between pairs and looks only at the sign: how many times the value went up and how many it went down. Under the hypothesis of no effect, ups and downs should balance out, like heads and tails, and the p-value comes straight from a binomial distribution. Because it uses so little information, it's less powerful than Wilcoxon, but it makes almost no assumptions. Enter the two paired series.

🎯

Clopper-Pearson Binomial CI (Exact)

Computes the exact Clopper-Pearson confidence interval for a binomial proportion. Unlike the Wald formula and even Wilson's, which are approximations, Clopper-Pearson is built directly on the binomial distribution, guaranteeing coverage of at least the nominal level — which is why it's regarded as the reference conservative interval. It's the choice when you need a rigorous guarantee, even with small samples. Enter the successes, the total and the confidence level.

🎲

Binomial Distribution

Compute P(X = k) and P(X ≤ k) in binomial distribution B(n, p).

🌳

Binomial Tree (Cox-Ross-Rubinstein)

Prices an option with the Cox-Ross-Rubinstein binomial tree, the most teachable numerical method for options. At each step, the price moves up or down by factors calibrated to the volatility, and the option value is computed backward, from expiry to today. Unlike Black-Scholes, the tree prices American options, checking early exercise at each node. Choose call or put, European or American, and enter the price, strike, rate, volatility, term and number of steps.

🪙

Exact Binomial Test

Computes the exact binomial test, which checks whether the observed proportion of successes is compatible with a hypothesized probability, without resorting to the normal approximation. For small samples, where the z-test fails, this is the correct test: it sums the exact probabilities, given by the binomial distribution, of all outcomes as likely or less likely than the observed one. For example: are 8 heads in 10 tosses compatible with a fair coin? Enter the successes, the total and the hypothesized probability.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.