BINOM.DIST
Returns the binomial probability for a count of successes across independent trials.
Use BINOM.DIST to evaluate either exact-success probability (PMF) or cumulative probability
up to a success count (CDF).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=BINOM.DIST(number_s, trials, probability_s, cumulative)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number_s | number | Required | — |
trials | number | Required | — |
probability_s | number | Required | — |
cumulative | number | Required | — |
How it works
For k successes in n independent trials, the point mass is C(n,k) pᵏ(1−p)ⁿ⁻ᵏ. The cumulative mode sums point masses from zero through k. Valid counts satisfy 0 ≤ k ≤ n and p is between zero and one.
Remarks
number_sandtrialsare truncated to integers.- Requires
0 <= number_s <= trials,trials >= 0, and0 <= probability_s <= 1. - Set
cumulativeto non-zero for CDF mode, or0for PMF mode. - Alias
BINOMDIST(the Excel 2007 compatibility name) is supported.
Error cases
- Returns
#NUM!for invalid count or probability ranges.
Examples
Compute the probability of exactly three successes in eight trials.
Formula =BINOM.DIST(3,8,0.4,FALSE)
Expected result 0.27869184
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Compute the probability of three or fewer successes.
Formula =BINOM.DIST(3,8,0.4,TRUE)
Expected result 0.5940864
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Find the point probability at the lower success-count boundary.
Formula =BINOM.DIST(0,8,0.4,FALSE)
Expected result 0.01679616
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The number of successes cannot exceed the number of trials.
Formula =BINOM.DIST(9,8,0.4,FALSE)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Binomial PMF for exactly 3 successes
Formula =BINOM.DIST(3,10,0.5,FALSE)
Expected result 0.1171875
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Binomial CDF for at most 3 successes
Formula =BINOM.DIST(3,10,0.5,TRUE)
Expected result 0.171875
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.