Contact

T.DIST.2T in Google Sheets: Two-Tailed t Probabilities

Statistical Intermediate Google Sheets

Use T.DIST.2T and TDIST for two-tailed t probabilities in Google Sheets, with explicit tail selection and worked examples.

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

Quick answer: =T.DIST.2T(2,9) has expected result 0.0765528238. It returns the total probability beyond -2 and +2 for a t distribution with 9 degrees of freedom.

Syntax and documented domain

=T.DIST.2T(x, degrees_freedom)

The Google T.DIST.2T reference requires both arguments. It documents a numeric error for negative x or degrees of freedom below 1. Use a nonnegative threshold magnitude and valid degrees of freedom.

  • x: magnitude of the t threshold.
  • degrees_freedom: degrees of freedom for the distribution.

There is no cumulative flag or separate tails selector in this function. The two-tailed choice is built into its name. The reviewed page does not establish fractional-degrees-of-freedom handling, so the examples use whole numbers.

Google states that T.DIST.2T corresponds to TDIST with its tails argument set to 2. This does not make it interchangeable with a left-tail CDF or a probability density.

Worked example: compare threshold magnitudes

Enter 0, 1, 2 and 3 in A2:A5. Put 9 in D1. In B2, enter and fill down:

=T.DIST.2T(A2,$D$1)
Threshold magnitude Expected combined outside-tail probability
0 1
1 0.3434363961
2 0.0765528238
3 0.0149563639

The outside-tail probability decreases as the threshold moves farther from zero. At zero, the two tails together cover the entire continuous distribution, giving probability 1.

For threshold 2, approximately 7.66% of the distribution lies at least that far from zero in either direction. This is not the probability between -2 and +2; that central probability is the complement.

Independent mathematical checks

The t distribution is symmetric. For a nonnegative x, the combined outside probability is twice the right-tail probability at x. For x = 2 and 9 degrees of freedom, the right-tail area is approximately 0.0382764119, and doubling it gives 0.0765528238.

NIST’s t-distribution reference identifies the 1-degree-of-freedom case as a Cauchy distribution. That provides the simple check:

=T.DIST.2T(1,1)

Expected result: 0.5. Each outside tail has area 0.25. Google’s own printed examples also independently reproduce the expected two-tailed values for (1.96,60) and (1,2).

These are mathematical and documentation checks, not observations from a native Sheets session.

Advanced application: use a signed test statistic safely

Suppose E2 contains a previously calculated signed statistic -2, and E3 contains 9 degrees of freedom. For a two-sided test, use its magnitude:

=T.DIST.2T(ABS(E2),E3)

Expected result: 0.0765528238. Passing -2 directly is outside Google’s documented domain. Taking ABS is appropriate here because the two-sided question treats equal departures in either direction symmetrically.

Do not automatically apply ABS for a directional one-sided test. That would discard the sign needed to decide which tail corresponds to the prespecified alternative.

If the test’s assumptions and statistic construction are valid, this outside-tail area can serve as a two-sided p-value. It is not the probability that the null hypothesis is true, nor a measure of practical effect size.

Central area and a rejection rule

For the probability between -2 and +2:

=1-T.DIST.2T(2,9)

Expected result: 0.9234471762. The complement converts outside area into central area.

For an illustrative 5% decision threshold, put 0.05 in G1 and use:

=IF(T.DIST.2T(ABS(E2),E3)<$G$1,"Below alpha","Not below alpha")

With E2 = -2 and E3 = 9, the expected label is Not below alpha. Choose the test and significance level before examining the result; changing them to obtain a preferred conclusion invalidates the simple interpretation.

Errors, limitations and version scope

Check negative x, degrees of freedom below 1, numeric input types and whether the question is genuinely two-sided. The reviewed page explicitly documents the first two domain failures but does not enumerate all text/blank coercion or fractional-input cases.

Degrees of freedom are not always sample size minus one; they depend on the statistical procedure. A wrong degree count can produce a plausible probability without a spreadsheet error.

Current Google Sheets documents T.DIST.2T as a replacement for the two-tail TDIST form. That statement does not establish that TDIST has stopped working. Original introduction date and first or last functioning numbered releases were not established.

NOT_TESTED_IN_GOOGLE_SHEETS. Google’s individual page and NIST mathematics were inspected on October 17, 2026. Original tails, complements and decision outcomes were independently calculated. No native execution or screenshot is claimed.

Related published guides: ABS, IF, COUNT and ROUND.

TDIST compatibility: an explicit two-tail worksheet

The Google TDIST reference documents this three-argument spelling:

=TDIST(x, degrees_freedom, tails)

The last argument is 1 for one tail or 2 for two tails. It is a tail selector, not T.DIST’s cumulative/density switch. Google’s individual T.DIST.2T reference explicitly relates this function to TDIST with tails = 2.

For a compact migration check, put 0, 0.5, 1.5 and 2.5 in J2:J5 and 7 in M1. Enter the following in K2, fill down, and compare it with the named-tail formula in L2 filled down:

=TDIST(J2,$M$1,2)
=T.DIST.2T(J2,$M$1)
Nonnegative threshold Independently expected combined outside-tail result for both forms
0 1.0000000000
0.5 0.6324071357
1.5 0.1772984870
2.5 0.0409922186

These values use a separate original dataset and numerical integration of the t density. They are mathematical expectations under Google’s documented correspondence, not observed TDIST execution. For the other selector, see the companion tail guide.

At threshold 2.5, the two-tail area is 0.0409922186. Thus =1-TDIST(2.5,7,2) has expected central area 0.9590077814 between -2.5 and +2.5. For a signed statistic stored in N2, the documented nonnegative-magnitude comparison is =TDIST(ABS(N2),7,2). This symmetry argument does not justify discarding a sign in a directional one-tailed test.

The TDIST detail page does not enumerate invalid-selector errors, negative-input boundaries, fractional-degree truncation or text/blank coercion. Do not import those behaviors from another spreadsheet or infer an exact error token here. These compatibility examples deliberately use nonnegative thresholds, integer degrees of freedom and a documented selector. Google’s replacement wording establishes a relationship, not removal of TDIST, nor an earliest or latest supported release.

TDIST addition reviewed October 19, 2026; NOT_TESTED_IN_GOOGLE_SHEETS. No native execution or historical-version certification is claimed.