## Purpose

## Return value

## Syntax

`=BINOMDIST(number_s,trials,probability_s,cumulative)`

*number_s*- The number of successes.*trials*- The number of independent trials.*probability_s*- The probability of success on each trial.*cumulative*- TRUE = cumulative distribution function, FALSE=probability mass function.

## How to use

The BINOMDIST function returns the individual term binomial distribution probability. You can use BINOMDIST to calculate probabilities that an event will occur a certain number of times in a given number of trials. BINOMDIST returns probability as a decimal number between 0 and 1.

Binary data occurs when an observation can be placed into only two categories. For example, when tossing a coin, the result can only be heads or tails. Or, when rolling a die, the result can either be 6 or not 6.

*Note: the BINOMDIST function is classified as a compatibility function, replaced by the BINOM.DIST function.*

### Example

In the example shown, the BINOMDIST function is used to calculate the probability of rolling a 6 with a die. Since a die has six sides, the probability of rolling a 6 is 1/6, or 0.1667. Column B holds the number of trials, and the formula in C5, copied down, is:

```
=BINOMDIST(B5,10,0.1667,TRUE) // returns 0.1614
```

which returns the probability of rolling zero 6s in 10 trials, about 16%. The probability of rolling one 6 in 10 trials is about 32%.

The formula in D5 is the same, except the *cumulative* argument has been set to TRUE. This causes BINOMDIST to calculate the probability that there are "at most" X successes in a given number of trials. The formula in D5, copied down, is:

```
=BINOMDIST(B5,10,0.1667,TRUE) // returns 0.1614
```

In cell D5, the result is the same as C5 because the probability of rolling at most zero 6s is the same as the probability of rolling zero 6s. In cell D8, the result is 0.9302, which means the probability of rolling at most three 6s in 10 rolls is about 93%.

### Notes

- BINOMDIST returns probability as a decimal number between 0 and 1.
*Number_s*should be an integer, and will be truncated to an integer if not.*Trials*should be an integer, and will be truncated to an integer if not.- If
*number_s, trials, or probability_s*are not numbers, BINOMDIST returns a #VALUE! error. - If
*number_s*< 0 or*number_s*> trials, BINOMDIST returns a #NUM! error. - If
*probability_s*< 0 or*probability_s*> 1, BINOMDIST returns a #NUM! error value.