BINOMDIST Function (Gnumeric)
BINOMDIST returns either the probability of exactly n successes or the probability of at most n successes in a fixed number of independent trials.
Verification status: Selected formulas were recalculated with Gnumeric 1.12.57 using ssconvert and retained workbook results. Gnumeric 1.12.62 was source-checked only; this does not establish every edge case. How formula examples are checked
Quick answer: =BINOMDIST(0,5,0.4,FALSE()) returns approximately 0.07776. BINOMDIST returns either the probability of exactly n successes or the probability of at most n successes in a fixed number of independent trials. The trial success probability must be constant.
Availability and version history
- Introduced: First release not established; this name is present in the tested Gnumeric 1.12.57 and the cited 1.12.62 source.
- Availability: Supported in Gnumeric 1.12.62 according to its function-specific registration. No retirement endpoint is established.
- Scope: Desktop Gnumeric with the fn-stat module enabled. Examples use English comma-separated formulas.
- Checked: October 14, 2026. Reference and boundary tables were recalculated by Gnumeric 1.12.57 and checked independently. The 1.12.62 contract was source-checked, not executed.
What the result means
For integer n, the mass is COMBIN(trials,n)×p^n×(1−p)^(trials−n). Cumulative mode sums the masses from 0 through n. This is a discrete probability mass, not a continuous density. Sampling without replacement from a small finite population needs a different model. Official BINOMDIST reference.
Syntax and arguments
=BINOMDIST(n,trials,p,cumulative)
| Argument | Meaning |
|---|---|
| n | Observed number of successes. |
| trials | Fixed number of trials. |
| p | Success probability for every trial, from 0 through 1. |
| cumulative | TRUE() for at most n successes; FALSE() for exactly n. |
All arguments shown are required. Use numeric cells or numeric inputs. The formulas use decimal points and commas; localized entry conventions require separate checks. Gnumeric 1.12.62 help and evaluator.
Reproducible examples
Enter each formula in a separate cell. The displayed references are rounded to twelve decimal places and agree with the recorded Gnumeric 1.12.57 recalculation within ordinary floating-point precision. Keep the stored result for subsequent calculations.
| Formula | Result, approximately |
|---|---|
=BINOMDIST(0,5,0.4,FALSE()) |
0.07776 |
=BINOMDIST(1,5,0.4,FALSE()) |
0.2592 |
=BINOMDIST(2,5,0.4,FALSE()) |
0.3456 |
=BINOMDIST(3,5,0.4,FALSE()) |
0.2304 |
=BINOMDIST(4,5,0.4,FALSE()) |
0.0768 |
=BINOMDIST(5,5,0.4,FALSE()) |
0.01024 |
=BINOMDIST(2,5,0.4,TRUE()) |
0.68256 |
=BINOMDIST(3,5,0.8,FALSE()) |
0.2048 |
Practical worksheet
Suppose five independent items each have success probability 0.4. Put target successes 2 in A2, trials 5 in B2 and probability 0.4 in C2. =BINOMDIST(A2,B2,C2,FALSE()) gives 0.3456, the probability of exactly two successes.
Changing the final argument to TRUE() gives 0.68256, the probability of zero, one or two successes. Label these outputs “exactly 2” and “at most 2”; confusing the two can materially change a decision.
Advanced examples and checks
Inclusive tails and an interval
For at least three successes, subtract the cumulative probability through two: =1-BINOMDIST(2,5,0.4,TRUE()), giving 0.31744. Subtracting the cumulative value through three would instead mean at least four.
For two through four successes inclusive, use =BINOMDIST(4,5,0.4,TRUE())-BINOMDIST(1,5,0.4,TRUE()), giving 0.6528. The subtraction point below the lower bound is essential. As a separate check, the six mass rows in the table sum to 1.
Boundaries and common mistakes
Gnumeric floors the two count inputs before checking their domain. Use validated integers in a real model instead of depending on this conversion. Negative counts, n greater than trials, or p outside [0,1] produce #NUM!. A zero-trial model with n=0 is valid. The fourth argument is required; omitting it is not a documented cumulative default.
The following are observed cell results from the same 1.12.57 command-line recalculation. F5 was genuinely empty. A blank is not necessarily an omitted argument or a valid observation, so validate required data instead of treating every defaulted zero as intentional.
| Formula | Observed in Gnumeric 1.12.57 |
|---|---|
=BINOMDIST(2.9,5.9,0.4,FALSE()) |
0.3456 |
=BINOMDIST(6,5,0.4,FALSE()) |
#NUM! |
=BINOMDIST(0,0,0.4,FALSE()) |
1 |
=BINOMDIST(F5,5,0.4,FALSE()) |
0.07776 |
The fixtures do not certify every locale, extreme tail, imported type or newer binary build. The current wrapper agrees with the documented argument contract; shared numerical helpers can change between releases.