Contact

F.DIST in ONLYOFFICE Spreadsheet Editor

Statistical Intermediate ONLYOFFICE Spreadsheet Editor

Evaluate F-distribution cumulative probabilities or density in ONLYOFFICE with ordered degrees of freedom and independent rational examples.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =F.DIST(4,2,2,TRUE) has independent expected left cumulative probability 0.8. With FALSE instead, the density is 0.04, not the other tail.

Availability and evidence scope

  • Introduced: Original introduction release is not established by the sources checked.
  • Available: Documented in current unversioned ONLYOFFICE function help, checked October 18, 2026.
  • Implementation inspected: Official SDKJS v10.0.0.169, commit 3679e0375a758d7dc59d31337a45461be3525ed8. This establishes a source snapshot, not identical behavior in every installed editor.
  • Retired or deprecated: Retirement or formal deprecation is not established by these sources. A legacy spelling is not automatically a removed function.
  • Testing: Examples are independently calculated or labeled source predictions. No ONLYOFFICE application or calculation-engine execution was performed. No native screenshot or general import/export guarantee is claimed.

Use English names and comma separators as shown; adapt separators outside quoted text if your locale requires semicolons. Keep full precision in calculations and round only the displayed summary.

Syntax and ordered degrees of freedom

=F.DIST(x, deg_freedom1, deg_freedom2, cumulative)
Argument Meaning
x Nonnegative F statistic or point of evaluation
deg_freedom1 Degrees of freedom belonging to the numerator
deg_freedom2 Degrees of freedom belonging to the denominator
cumulative Required TRUE for left-tail probability, FALSE for density

The function accepts exactly 4 arguments. The two degrees of freedom are ordered: exchanging them while leaving x unchanged generally changes the answer. For a ratio of independent sample variances, associate each sample’s n−1 with the variance’s position in the ratio. Other F statistics can arise from different models, so do not assume every F value comes from a two-sample variance calculation.

TRUE returns probability at or below x. FALSE returns a density height, not the probability of exactly x and not a p-value. Because the distribution is continuous, a probability over an interval is an area, not a single density value.

Step-by-step: a ratio of four

  1. Put 4 in A2 and 2 in each of B2 and C2.
  2. Enter =F.DIST(A2,B2,C2,TRUE) in D2.
  3. The independent expected value is .8.
  4. Label the cell left cumulative probability to preserve the interpretation.

With numerator and denominator df both 2, the distribution has simple rational forms:

left cumulative = x/(1+x)
right tail = 1/(1+x)
density = 1/(1+x)^2

At x=4 these are 4/5=0.8, 1/5=0.2 and 1/25=0.04. The calculation supplies an independent check without calling ONLYOFFICE’s distribution engine. It also makes the density/tail distinction explicit: 0.04 and 0.2 are not alternative rounded versions of the same quantity.

Advanced case: change the degrees of freedom, not just x

Keep x=4, but use numerator df=2 and denominator df=4. The right tail is (4/(4+2*x))^2, which at x=4 is 1/9 = 0.111111111111. The corresponding left cumulative probability is 8/9 = 0.888888888889.

Now exchange the degrees of freedom to numerator 4 and denominator 2 while keeping x=4. The right tail becomes 17/81 = 0.209876543210, not 1/9. This shows why argument order matters even when the same two df numbers appear in the formula.

If you invert the statistic as well as exchanging the degrees of freedom, the reciprocal relationship connects complementary tails. Specifically, for positive x, the right tail at x with df1/df2 equals the left cumulative probability at 1/x with df2/df1. Changing only one part is not the same transformation.

Interval probabilities and numerical complements

For df=2 and 2, probability between x=1 and x=4 is 4/5−1/2 = 0.3. Reproduce it with =F.DIST(4,2,2,TRUE)-F.DIST(1,2,2,TRUE). Subtract cumulative areas, not density heights.

The inspected cumulative path calculates 1−getFDist(...), using the right-tail helper as its complement. Very small complementary probabilities can be sensitive to finite precision. Keep unrounded numbers and do not infer extreme-tail accuracy from the simple rational checks. If the desired quantity is an upper tail, ask for F.DIST.RT directly rather than subtracting a displayed rounded CDF from 1.

Source validation and fractional df

The inspected distribution functions reject negative x, either df below 1, or either df at or above 10^10, using the numeric-error category, conventionally #NUM!. The strict upper boundary is worth distinguishing from help wording that may describe an inclusive limit. Values outside the intended domain are not valid inputs simply because another product accepts them.

Unlike the inspected F inverse wrappers, these distribution wrappers do not parse degrees of freedom as integers before passing them to the numerical helper. Do not assume that a fractional df is truncated consistently across F.DIST and F.INV. The examples use integer df, and no general cross-function fractional-df round-trip guarantee is made.

Nonnumeric conversions and unusable helper results can produce other errors. These are source-based boundaries, not captured application displays. Use explicit logical selectors where required and clean scalar inputs; array spills and imported type coercions have not been verified here.

At x=0 the density expression can have special limiting behavior depending on numerator df, because it contains a power of x. Do not generalize a boundary density from a positive-x example or equate a singular density with a probability greater than 1. The worked density example deliberately uses x=4.

Reproducible checks

These are independent mathematical expectations or identified source-error predictions, not native application results. Preserve full input precision when reproducing them.

Formula Expected result
=F.DIST(4,2,2,TRUE) 0.8
=F.DIST(4,2,2,FALSE) 0.04
=F.DIST(4,2,4,TRUE) 0.8888888888888888
=F.DIST(-1,2,2,TRUE) #NUM!

Use the exact probability direction, parameter order and data meaning above when moving a workbook between products. Similar names are not a general cross-version or file-format compatibility guarantee.

COUNT helps check numeric sample sizes; SQRT and POWER expose intermediate arithmetic in a statistical model.

First-party references