The Excel BINOM.DIST function returns the Binomial Distribution probability for a given number of successes from a specified number of trials.
The function is new in Excel 2010 and so is not available in earlier versions of Excel. However, the Binom.Dist function is simply an updated version of the Binomdist function that is available in earlier versions of Excel.
Syntax:= BINOM.DIST(number_s,trials,probability_s,cumulative)
The BINOM.DIST function syntax has the following arguments:
- Number_s Required. The number of successes in trials.
- Trials Required. The number of independent trials.
- Probability_s Required. The probability of success on each trial.
-
Cumulative Required. A logical value that determines the form of the function. If cumulative is TRUE, then BINOM.DIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
Example: Let’s look at some Excel BINOM.DIST function examples and explore how to use the BINOM.DIST function as a worksheet function in Microsoft Excel:
Example 1: Example of BINOM.DIST Function in Excel which calculates probability mass function:
- In the above example success is defined as number of heads on toss of a coin.
- In the above example Binomial Distribution Function – BINOM.DIST takes up the number of success which ranges from 100 to 900, number of trials which is 100, probability of success in each trial which is 0.5, and cumulative as FALSE, so that probability mass function is returned.
So the result will be a probability mass function
Syntax: =BINOM.DIST(B1,B10,B11,FALSE)
Result: 5.9589E-162
Based on the Excel spreadsheet above, the following BINOM.DIST examples would return:
Syntax: =BINOM.DIST(B2,B10,B11,FALSE)
Result: 6.17555E-86
Syntax: =BINOM.DIST(B3,B10,B11,FALSE)
Result: 5.06599E-38
Syntax: =BINOM.DIST(B4,B10,B11,FALSE)
Result: 4.63391E-11
Syntax: =BINOM.DIST(B5,B10,B11,FALSE)
Result: 0.025225018
Syntax: =BINOM.DIST(B6,B10,B11,FALSE)
Result: 4.63391E-11
Syntax: =BINOM.DIST(B7,B10,B11,FALSE)
Result: 5.06599E-38
Syntax: =BINOM.DIST(B8,B10,B11,FALSE)
Result: 6.17555E-86
Syntax: =BINOM.DIST(B9,B10,B11,FALSE)
Result: 5.9589E-162
When we plot the result with number of success on x axis we will get the graph for probability mass function which is shown below.
Example 2: Example of BINOM.DIST Function in Excel which calculates Cumulative Distribution Function:
- In the above example success is defined as number of heads on toss of a coin.
- In the above example Binomial Distribution Function – BINOM.DIST takes up the number of success which ranges from 100 to 900, number of trials which is 100, probability of success in each trial which is 0.5, and cumulative as TRUE, so that cumulative distribution function is returned.
So the result will be a cumulative distribution function
Syntax: =BINOM.DIST(B1,B10,B11,TRUE)
Result: 6.7017E-162
Based on the Excel spreadsheet above, the following BINOM.DIST examples would return:
Syntax: =BINOM.DIST(B2,B10,B11,TRUE)
Result: 8.22499E-86
Syntax: =BINOM.DIST(B3,B10,B11,TRUE)
Result: 8.83284E-38
Syntax: =BINOM.DIST(B4,B10,B11,TRUE)
Result: 1.36423E-10
Syntax: =BINOM.DIST(B5,B10,B11,TRUE)
Result: 0.512612509
Syntax: =BINOM.DIST(B6,B10,B11,TRUE)
Result: 1
Syntax: =BINOM.DIST(B7,B10,B11,TRUE)
Result: 1
Syntax: =BINOM.DIST(B8,B10,B11,TRUE)
Result: 1
Syntax: =BINOM.DIST(B9,B10,B11,TRUE)
Result: 1
When we plot the result with number of success on x axis we will get the graph for cumulative distribution function which is shown below
Note:
- The BINOM.DIST function will truncate all numerical values to Integer.
- #VALUE! error – Occurs when any of the arguments provided is non-numeric.
- #NUM! error – Occurs when:
- The given probability is less than zero or greater than 1.
- The given number_s is less than zero or greater than the number of trials.
- The binomial probability mass function is:
where:
is COMBIN(n,x).
The cumulative binomial distribution is: