How to calculate
Multiply the number of ways to arrange k successes by p to the kth power and (1 − p) to the power n − k. Sum those terms for several counts.
Worked example
Use Number of independent trials 4 · Success probability per trial 50% · Probability mode Exactly · Target successes 2. The result is 37.5%.
Input and result notes
Exactly, at most, at least, and range calculations include their stated boundaries. Enter up to 300 trials.
NIST binomial mass and cumulative distribution formulas