Binomial Probability CalculatorFree online math calculator — instant results, no sign-up

Calculate the probability of exactly k successes in n independent trials.

Inputs

Result
0.214990848

Sign in to save results and favorites.

About the Binomial Probability Calculator

The Binomial Probability Calculator finds the probability of exactly k successes in n independent trials when each trial has the same success probability. With Trials = 10, Successes = 3, and Success probability = 0.4, it returns 0.214990848 for exactly 3 successes.

Trials
The total number of independent trials, n, is a unitless whole-number count with a default of 10.
Successes
The exact number of successes to evaluate, k, is a unitless whole-number count between 0 and n, with a default of 3.
Success probability
The probability of success on each trial, p, is a unitless decimal from 0 to 1, with a default of 0.4.

Formula and method

P(X = k) = C(n, k) × p^k × (1 − p)^(n − k), where C(n, k) = n! / [k!(n − k)!]. For the default inputs: P(X = 3) = [10! / (3! × 7!)] × 0.4^3 × 0.6^7 = 120 × 0.064 × 0.0279936 = 0.214990848.
  • XThe random variable counting successes across all trials.
  • nThe total number of trials; 10 in the worked example.
  • kThe exact number of successes of interest; 3 in the worked example.
  • pThe success probability on each trial; 0.4 in the worked example.
  • 1 − pThe failure probability on each trial; 0.6 in the worked example.
  • C(n, k)The number of ways to place k successes among n trials; C(10, 3) = 120.
  • !Factorial notation: the product of positive integers up to the given integer, with 0! = 1.
  • P(X = k)The probability of exactly k successes, regardless of their order.

Check that n and k are whole numbers with 0 ≤ k ≤ n and that 0 ≤ p ≤ 1. Calculate the number of possible success arrangements using C(n, k). Multiply this count by p^k, the success contribution, and (1 − p)^(n − k), the failure contribution. For n = 10, k = 3, and p = 0.4, this gives 0.214990848.

Worked example

These are the calculator's starting values and the results it actually produces for them.

Inputs

  • Trials10
  • Successes3
  • Success probability0.4

Results

  • Result0.214990848

How to use the Binomial Probability Calculator

  1. 1Enter 10 in Trials to specify the total number of trials.
  2. 2Enter 3 in Successes to request exactly 3 successes.
  3. 3Enter 0.4 in Success probability, using a decimal rather than a percentage.
  4. 4Run the calculation to evaluate C(10, 3) × 0.4^3 × 0.6^7.
  5. 5Read the Result of 0.214990848 as the probability of exactly 3 successes in 10 trials.

Reading your result

The Result row is a unitless probability between 0 and 1. The default result, 0.214990848, equals 21.4990848%, or approximately a 21.5% chance of exactly 3 successes in 10 independent trials. It includes every possible ordering of those 3 successes, but does not include outcomes with fewer or more successes.

Limitations

The binomial model requires a fixed number of trials, two mutually exclusive outcomes per trial, independent trials, and a constant success probability. It is generally unsuitable for sampling without replacement from a small finite population because trial probabilities change. Trials and Successes must be nonnegative whole numbers, and Successes cannot exceed Trials. The result depends on the supplied probability and does not account for uncertainty in that input. Very large trial counts or extremely small probabilities can create numerical precision issues, depending on implementation.

Common questions

Does the default result mean exactly 3 successes or at least 3 successes?+

It means exactly 3 successes. To find at least 3 successes in 10 trials, sum the binomial probabilities for success counts from 3 through 10, using p = 0.4 for each term.

Why does the formula multiply by C(10, 3) = 120?+

There are 120 distinct ways to arrange 3 successes among 10 trials. Each arrangement has probability 0.4^3 × 0.6^7, so multiplying by 120 includes every arrangement.

Should I enter 0.4 or 40 for a 40% success probability?+

Enter 0.4. This input uses a probability on the 0-to-1 scale, so 40 is outside the valid range.

What happens when the success probability is 0 or 1?+

If p = 0, exactly zero successes has probability 1 and every positive success count has probability 0. If p = 1, exactly n successes has probability 1 and all other valid success counts have probability 0. With zero trials, exactly zero successes has probability 1 regardless of p.

Does the calculator save my information?+

Calculations run in your browser. While signed in, inputs and results are automatically recorded in account history; saving a result creates a separate saved record.

Further reading

You might also like

Results are estimates for informational purposes and are not financial, medical or legal advice.