Math · Every step shown

Binomial Distribution Calculator

Find the probability of exactly k successes out of n independent trials.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Probability
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

P(X = k) = C(n, k) × p^k × (1 − p)^(n − k), where C(n, k) counts the ways to choose which k trials succeed. Mean = np. Variance = np(1 − p).

Example: 10 trials, 50% success probability, looking for exactly 3 successes gives P(X = 3) ≈ 11.72%, with a mean of 5 and a variance of 2.5.

What is a binomial distribution?
The pattern of outcomes you get from repeating the same yes/no trial (like a coin flip) a fixed number of times, each with the same probability of success.

What's the probability of getting exactly 3 heads in 10 coin flips?
About 11.72%.

What's the expected (mean) number of successes?
n × p — for 10 trials at a 50% success rate, that's 5.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.