The binomial distribution formula calculates the probability of obtaining exactly $ x $ successes in $ n $ independent trials of a binomial experiment, where each trial has two possible outcomes (success or failure) and the probability of success $ p $ remains constant.
The formula is:
Where:
$ \binom{n}{x} = \frac{n!}{x!(n - x)!} $ is the binomial coefficient, representing the number of ways to choose $ x $ successes from $ n $ trials.
$ p $ is the probability of success on a single trial.
$ 1 - p $ (often denoted as $ q $) is the probability of failure.
$ x $ is the number of successes (can be 0, 1, 2, ..., $ n $).
$ n $ is the total number of trials.
This formula is used for discrete probability distributions and applies when:
There are a fixed number of trials ($ n $).
Each trial has only two outcomes: success or failure.
Trials are independent.
The probability of success ($ p $) is constant across trials.
Key Properties:
Mean (Expected Value): $ \mu = np $
Variance: $ \sigma^2 = np(1 - p) $
Standard Deviation: $ \sigma = \sqrt{np(1 - p)} $
Example:
If a fair coin is tossed 10 times ($ n = 10 $), the probability of getting exactly 6 heads ($ x = 6 $, $ p = 0.5 $) is:
This formula is implemented in software like Excel using BINOM.DIST(x, n, p, FALSE) for exact probabilities and BINOM.DIST(x, n, p, TRUE) for cumulative probabilities.

![{\displaystyle \Pr[Y=m]=\sum _{k=m}^{n}{\binom {n}{m}}{\binom {n-m}{k-m}}p^{k}q^{m}(1-p)^{n-k}(1-q)^{k-m}}](https://imgs.search.brave.com/_ZzMOmRKyfxVmQ4vVVgLsklO2iEaHy6xvZBCUdfHG-4/rs:fit:500:0:0:0/g:ce/aHR0cHM6Ly93aWtp/bWVkaWEub3JnL2Fw/aS9yZXN0X3YxL21l/ZGlhL21hdGgvcmVu/ZGVyL3N2Zy84MzY5/ZWY4NDZmZmRhNzI5/MDBlZmM2N2IzMzQ5/MjNmNzBjZTQ4Y2E1.jpeg)
