BINOM.DIST.RANGE Function (Gnumeric)
Find inclusive binomial interval probabilities in Gnumeric, with optional upper count, cumulative checks and out-of-support behavior.
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: =BINOM.DIST.RANGE(5,0.4,2) gives approximately 0.3456.
Availability and version history
- Introduced: First release not established from the evidence cited here.
- Supported in: Gnumeric 1.12.62, confirmed by its function registration. No retirement is established.
- Scope: Desktop Gnumeric with the Statistics Functions plugin. Tables use English comma-separated formulas.
- Checked: October 14, 2026. Tables were recalculated in 1.12.57 and finite reference values independently checked. Version 1.12.62 was source-checked, not executed.
What the function calculates
BINOM.DIST.RANGE sums binomial probability masses from start through end, including both endpoints. Trials are independent with constant success probability p. Omitting end requests exactly start successes. It is a registered Gnumeric worksheet function with its own contract, so do not infer a different product’s UI-name or file-format-alias rules. Official function reference.
Syntax and arguments
=BINOM.DIST.RANGE(trials,p,start[,end])
| Argument | Meaning |
|---|---|
| trials | Nonnegative number of independent trials; floored. |
| p | Success probability on each trial, from 0 through 1. |
| start | Lower inclusive success count; floored. |
| end | Optional upper inclusive success count; omitted means start. |
Only bracketed arguments are optional; do not type the brackets. The version-pinned help and evaluator establish the Gnumeric contract.
Reproducible reference cases
The table records the tested release’s outputs, with finite mathematical references rounded to twelve decimal places. Keep full precision when using a result in a later calculation.
| Formula | Result in Gnumeric 1.12.57, approximately |
|---|---|
=BINOM.DIST.RANGE(5,0.4,2) |
0.3456 |
=BINOM.DIST.RANGE(5,0.4,2,4) |
0.6528 |
=BINOM.DIST.RANGE(5,0.4,0,5) |
1 |
=BINOM.DIST.RANGE(10,0.5,0,5) |
0.623046875 |
=BINOM.DIST.RANGE(10,0.5,6,10) |
0.376953125 |
=BINOM.DIST.RANGE(0,0.5,0) |
1 |
=BINOM.DIST.RANGE(5,0,0,0) |
1 |
=BINOM.DIST.RANGE(5,1,5,5) |
1 |
Practical worksheet
For five independent trials with success probability 0.4, put 5, 0.4, 2 and 4 in A2:D2. =BINOM.DIST.RANGE(A2,B2,C2,D2) gives 0.6528, the probability of two, three or four successes. Omitting D2 from the call gives 0.3456, the probability of exactly two. The expected count is 5×0.4=2, but that does not mean exactly two successes is certain or even has probability one half.
Advanced examples and independent checks
The equivalent ordinary CDF difference is =BINOMDIST(4,5,0.4,TRUE())-BINOMDIST(1,5,0.4,TRUE()). Subtract at one below the lower bound so the mass at two is retained. Summing the individual masses at 2, 3 and 4 provides another check.
For at least three successes, =BINOM.DIST.RANGE(5,0.4,3,5) gives 0.31744. The total range from zero through trials must have probability 1. When comparing cutoffs, retain full-precision results instead of using rounded percentages as exact decision thresholds.
Input boundaries and common mistakes
Gnumeric floors trials, start and end. Its helper returns zero for a reversed interval and naturally includes only the distribution’s support when a bound extends below zero or above trials. The observed examples therefore differ from stricter argument-validation contracts in some applications. Prefer explicit integer bounds with 0≤start≤end≤trials in a portable worksheet. Invalid trial count or probability still produces an error; zero probability is a legitimate result only for a valid modeled event. The interval helper implements these boundary choices.
These additional outcomes were observed in the same native recalculation. F5 was genuinely empty; it is not an omitted argument. Missing inputs still need deliberate validation, even if they are converted to a numeric zero.
| Formula | Observed in 1.12.57 |
|---|---|
=BINOM.DIST.RANGE(5,0.4,4,2) |
0 |
=BINOM.DIST.RANGE(5,0.4,-1,2) |
0.68256 |
=BINOM.DIST.RANGE(5,0.4,4,9) |
0.08704 |
=BINOM.DIST.RANGE(5.9,0.4,2.9,4.9) |
0.6528 |
=BINOM.DIST.RANGE(F5,0.4,0) |
1 |
The worked calculations do not certify every locale, imported text value, extreme parameter or later binary version. Shared numerical helpers can change even when a function’s wrapper remains the same.
Sources and verification
The reference and boundary tables use recorded 1.12.57 command-line recalculation. Further model examples were independently calculated from their stated inputs; they are not additional native test claims.