=CHISQ.DIST.RT(x, degrees_freedom)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
| Parameter | Required | Description |
|---|---|---|
| x | Yes | The value at which to evaluate the distribution. Must be 0 or greater. |
| degrees_freedom | Yes | The number of degrees of freedom. Decimals are truncated; must be at least 1. |
CHISQ.DIST.RT returns the probability that a chi-square random variable is greater than a given value. In hypothesis testing, this right-tail area is the p-value for a chi-square statistic: the chance of seeing a result at least as extreme as yours if the null hypothesis were true.
The chi-square distribution describes the sum of squares of independent standard normal variables. It only takes non-negative values, is skewed to the right, and has one parameter: degrees of freedom. With few degrees of freedom the curve is bunched near zero with a long right tail; as degrees of freedom grow, it shifts right and becomes more symmetric. Its mean equals the degrees of freedom.
In practice you meet it most often in hypothesis tests: goodness-of-fit tests (does observed data match an expected pattern?), tests of independence in contingency tables (are two categories related?), and tests about a variance.
CHISQ.DIST.RT is the modern replacement for CHIDIST. Both take the same two arguments and return the same result.
You pass the test statistic x and its degrees of freedom. The function returns the area under the curve to the right of x. Larger statistics produce smaller probabilities. It is equivalent to 1 - CHISQ.DIST(x, degrees_freedom, TRUE).
=CHISQ.DIST.RT(3.841, 1)Returns about 0.05.
=CHISQ.DIST.RT(4, 2)Returns about 0.1353. With 2 degrees of freedom the right tail equals e^(−x/2), so this is e^(−2).
=CHISQ.DIST.RT(F10, (ROWS(B2:D4)-1)*(COLUMNS(B2:D4)-1))If F10 holds the chi-square statistic for a 3×3 contingency table, this computes degrees of freedom as (rows − 1) × (columns − 1) and returns the p-value.
=IF(CHISQ.DIST.RT(F10, 4) < 0.05, "Significant", "Not significant")If you have observed counts in B2:B6 and expected counts in C2:C6, the goodness-of-fit statistic is:
=SUMPRODUCT((B2:B6-C2:C6)^2/C2:C6)Pass it to CHISQ.DIST.RT with 4 degrees of freedom (categories − 1). If you only need the p-value, CHISQ.TEST skips this step.
| Degrees of freedom | Critical value at 5% (right tail) | Critical value at 1% |
|---|---|---|
| 1 | 3.841 | 6.635 |
| 2 | 5.991 | 9.210 |
| 3 | 7.815 | 11.345 |
| 4 | 9.488 | 13.277 |
| 5 | 11.070 | 15.086 |
A statistic above the 5% critical value gives a p-value below 0.05.
A marketer counts sign-ups by weekday and computes a chi-square statistic of 14.2 against an even split. =CHISQ.DIST.RT(14.2, 6) returns a p-value of about 0.03, suggesting sign-ups really do vary by day.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.