F.TEST Function

Excel Functions › Statistical

Excel 2010+ Statistical

The Excel F.TEST function returns the two-tailed probability that the variances of two data sets are not significantly different — the p-value of an F-test for equality of variances.


Quick answer:
=F.TEST({6,7,9,15,21},{20,28,31,38,40}) two-tailed p-value ≈ 0.65

Syntax

=F.TEST(array1, array2)
ArgumentDescription
array1RequiredThe first array or range of data.
array2RequiredThe second array or range of data. Each array must contain at least two numeric values.

How to use it

F.TEST compares the spread of two samples. It computes the ratio of their variances, then returns the two-tailed probability that the two populations have equal variance.

=F.TEST({6,7,9,15,21},{20,28,31,38,40}) // p ≈ 0.65

A large p-value (like 0.65 here) means there is no evidence that the variances differ — you would not reject the assumption of equal variance. A small p-value (below 0.05) suggests the two data sets have genuinely different spread.

This matters before running a t-test: many t-tests assume equal variances, so an F.TEST is a common pre-check. Note that F.TEST returns a two-tailed probability, while F.DIST.RT gives the one-tailed area.

Note: both arrays need at least two numbers, and a variance of zero (all identical values) causes a #DIV/0! error. The legacy name is FTEST (no dot).

Try it: interactive demo

Live demo

Enter two comma-separated samples to build the F.TEST formula.

Two-tailed p-value computed live in Excel; this demo echoes the formula.

Practice workbook

📊
Download the free F.TEST practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What does the F.TEST result mean?
It is the two-tailed probability (p-value) that the two samples come from populations with the same variance. A high value means no significant difference in spread; a value below 0.05 indicates the variances likely differ.
Is F.TEST one-tailed or two-tailed?
F.TEST returns a two-tailed probability. If you need a one-tailed F-test p-value, compute the variance ratio yourself and use F.DIST.RT with the appropriate degrees of freedom.
Why would I run an F.TEST?
Most often as a pre-check before a t-test: many two-sample t-tests assume the groups have equal variance, and F.TEST tells you whether that assumption is reasonable.
How is F.TEST different from FTEST?
They compute the same two-tailed probability. F.TEST (with the dot) was introduced in Excel 2010; FTEST is the legacy compatibility function for older workbooks.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: F.DIST · F.DIST.RT · F.INV · T.TEST · VAR.S · CHISQ.TEST