Using the Binomial Distribution Calculator
This page computes the probability of exactly k successes in n independent trials. The formula is the combination C(n, k) times p to the power k times (1 minus p) to the power n minus k. For 10 trials, 2 successes, and a success probability of 0.5, the probability is 0.0439453125. The combination count is 45. The expected number of successes is n times p, which is 5 for that sample.
The page returns the chance of exactly that many successes. It does not add the chances of more than k. Trials must be a whole number from 0 to 100. Successes must be a whole number from 0 to the trial count. The probability must be from 0 to 1. A success count of 11 when there are 10 trials is rejected.
What the Exact Probability Is
The headline is the probability of exactly the success count you entered. For the sample it is 0.0439453125. The combinations line is 45, which is the number of ways to place 2 successes among 10 trials. The expected-successes line is 5, because 10 times 0.5 is 5. Expected successes are not the headline. A note that says the answer is 5 has quoted the expectation, not the probability.
The copied sentence names the successes, the trials, the probability, and the chance. Copy it with the sample so 0.0439453125 is not separated from 10, 2, and 0.5.
Reset returns the fields toward 10, 2, and 0.5. The previous result stays until the next calculation. A probability above 1 is rejected.
How the Three Factors Multiply
The page counts the combinations with a multiplicative loop, using the smaller of k and n minus k so the intermediate products stay smaller. For 10 and 2 that count is 45. It then raises the success probability to the success count and the failure probability to the remaining trials. With p equal to 0.5, both 0.5 squared and 0.5 to the eighth are powers of one half. The product of 45 and those powers is 0.0439453125 after the page finishes the decimal.
A power with exponent 0 is treated as 1, including a zero base. That lets a probability of 0 with zero successes, or a probability of 1 with zero failures, stay defined. The page does not ask you to resolve those edges by hand.
A mean of a list is a different page. The Mean Median Mode Calculator summarizes numbers you already have. It does not compute C(10, 2). Use it for a list. Use this page for an exact binomial probability.
What the Exact Chance Leaves Out
The headline is not the probability of at least 2 successes, and it is not the probability of at most 2. Those sums need every exact term from 0 up to 2, or from 2 up to 10. This page returns one term. If you need a tail, calculate the separate terms and add them in a note, and say that the addition was yours.
The trials are treated as independent, and each trial is treated as having the same probability. The page cannot check that a real experiment met those conditions. If the probability changes from trial to trial, this formula does not describe it.
There is no chart of the distribution. The lines are the combination count, the probability, and the expected successes.
10 Trials, 2 Successes, Probability 0.5
Enter 10 trials, 2 successes, and 0.5. The headline is 0.0439453125. The combinations line is 45. The expected-successes line is 5. Enter 11 successes and confirm the rejection. The message says successes must be a whole number from 0 to 10. Enter a probability of 2 and confirm the rejection. The probability must be from 0 to 1.
Enter 0 successes and 0 trials with probability 0.5 if you want the edge where the empty product is 1. The page accepts trials of 0. It does not accept a negative trial count.
A correlation of paired measurements is a different page. The Correlation Coefficient Calculator compares two lists. It does not return 0.0439453125 for this sample. Use it for a correlation. Use this page for the binomial term.
Limits of One Binomial Term
Trials are a whole number from 0 to 100. A decimal trial count is rejected. Successes are a whole number from 0 through the trial count, so the allowed maximum changes when you change the trials. Probability is a number from 0 to 1, and a decimal is expected. A blank field is rejected.
The page stops at 100 trials. A larger experiment is rejected rather than approximated. The result is the exact term at the page's decimal finish, not a normal-curve estimate. Do not replace 0.0439453125 with a rounded bell-curve figure and still call it this page's result.
Expected successes can be a decimal when the probability is not a unit fraction that cancels the trial count. The sample's 5 is exact because 10 times 0.5 is 5.
Common Mistakes
The usual miss is to read the expected-successes line as the probability. For the sample, 5 is the expectation and 0.0439453125 is the probability of exactly 2. Another miss is to add the neighboring terms and still quote a single headline. This page will not add them for you.
A third miss is to enter a probability as a percent. 50 is not a stand-in for one half. The field wants 0.5. A value of 50 is rejected because it is above 1.
Counting multiples is a different page. The Least Common Multiple Calculator finds a least common multiple. It does not count the ways to choose 2 items out of 10. Use it for a multiple. Use this page for the combination and the probability.
Reading 0.0439453125 in a Note
Copy the sentence with the three inputs. The probability alone can be mistaken for a rounded cousin. The sample sentence should say exactly 2 successes in 10 trials at probability 0.5, and the chance 0.0439453125. Include the combination count 45 when a reader will want to see the first factor.
Say that the figure is the single term, not a tail. If you later add terms, label the sum as a sum. The headline on this page stays the one term.
The expected value 5 belongs in the note as a separate line. It answers a different question: the average count if the experiment were repeated, not the chance of seeing 2 this time.
Rebuilding the Sample
Enter 10, 2, and 0.5. Confirm the headline 0.0439453125, the combinations 45, and the expected successes 5. Enter 11 successes and confirm the rejection. Enter a probability outside 0 to 1 and confirm that rejection.
Ordinary multiplication of two of those figures is a different page. The 4 Function Calculator multiplies the numbers you type. It does not choose the binomial factors. Use it if you are checking 10 times 0.5 by hand. Use this page for the probability.
File the three inputs with the headline. A later check should type 10, 2, and 0.5 and see 0.0439453125.
Checking a New Triple
Confirm the sample before you change a field. The combinations line should be 45 and the headline should be 0.0439453125. Then change only the success count to 0. The combination count becomes 1, because there is one way to place no successes. The headline changes. If the combinations line stays 45, the success field did not update.
Keep trials at or below 100, successes inside 0 through n, and the probability inside 0 through 1. Use a decimal probability, not a percent.
Comparing two results as a percent difference is a different page. The Percentage Difference Calculator compares two numbers. It does not compute a binomial term. Use it after you have two probabilities. Use this page to get each term.
What the Fields Accept
Trials is a whole number from 0 to 100. Successes is a whole number from 0 to the trial count. Success probability is a number from 0 to 1. The sample values are 10, 2, and 0.5. A blank is rejected. A decimal trial count is rejected. A probability of 1 is allowed. A probability of 0 is allowed.
The headline is the exact probability. The lines are the combinations, the probability, and the expected successes. The copied sentence states the inputs and the chance. There is no chart.
0.0439453125 is the sample headline. 45 is the sample combination count. 5 is the sample expectation. Keep the three figures distinct.
Why 10, 2, and 0.5 Is 0.0439453125
C(10, 2) is 45. You can see it as 10 times 9 divided by 2, which is 45. The page uses that smaller-of-the-two-sides product, so choosing 2 or choosing 8 would count the same combinations. The success factor is 0.5 to the power 2, which is 0.25. The failure factor is 0.5 to the power 8. Two successes leave eight failures. One half to the eighth is 1/256, or 0.00390625. Multiply 45 by 0.25 and then by 0.00390625. 45 times 0.25 is 11.25. 11.25 times 0.00390625 is 0.0439453125. That is the headline.
The arithmetic is exact in halves. A note that rounds one half to the eighth before multiplying will drift. Keep the page's finished figure if the sample is what you are checking. The expected line does not enter this product. 10 times 0.5 is 5, and 5 is the average count, not a factor in the probability of exactly 2.
Multiplying 45 by the Powers of One Half
C(10, 2) is 45, which you can see as 10 times 9 divided by 2. The success factor is 0.5 to the power 2, which is 0.25. Two successes leave eight failures, so the failure factor is 0.5 to the eighth, which is 0.00390625. Then 45 times 0.25 is 11.25, and 11.25 times 0.00390625 is 0.0439453125. That is the headline. The combinations line is 45. The expected-successes line is 5, because 10 times 0.5 is 5. The expectation is not a factor in the probability and it is not the headline.
Checking the Calculator
Enter 10 trials, 2 successes, and probability 0.5. Confirm 0.0439453125, 45 combinations, and 5 expected successes. Enter 11 successes and confirm the rejection. When the sample matches and an impossible success count is refused, the page is returning the single binomial term.