CHIINV in Apple Numbers: critical chi-square values
Convert a right-tail chi-square probability into its critical chi-square statistic in Apple Numbers.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer. =CHIINV(0.05,2) independently evaluates to 5.99146454710798, the chi-square cutoff whose right tail has probability 5% with two degrees of freedom. Apple’s exact English syntax is =CHIINV(probability, degrees-freedom), with both numeric arguments required. [A1, C1]
Availability and version history
- Introduced: Documented in Apple’s Formulas and Functions Help 15.4; the original introduction release is not established.
- Availability: Currently documented for Numbers in that help version; it is not a final supported-version endpoint.
- Scope: Shared iWork function help. Availability in individual clients and older releases is not established by this check.
- Checked: October 14, 2026, against the official CHIINV reference. Documentation check; not a new native test.
What CHIINV returns
CHIINV(p,ν) solves for a chi-square statistic x such that P(χ²_ν ≥ x)=p. A smaller requested right-tail probability produces a larger critical statistic at the same df. This is why a 0.01 threshold is more extreme than a 0.05 threshold. It is easy to mistake this function for a left-tail percent-point function, especially when reading documentation for a different statistical package. In Numbers, follow Apple’s one-tailed definition and verify it with CHIDIST. [A1, A6, C1]
Use this for formal test cutoffs only after determining a test’s applicable chi-square reference distribution and df; a critical value is not itself a test statistic or a p-value. [A1, C1]
Exact Apple syntax and valid inputs
=CHIINV(probability, degrees-freedom)
| Position | Official argument | Type | Required | Documented restriction | Default |
|---|---|---|---|---|---|
| 1 | probability |
Number value | Yes | Strictly 0 < probability < 1 |
None |
| 2 | degrees-freedom |
Number value | Yes | degrees-freedom ≥ 1 |
None |
No optional confidence parameter is documented. Do not use p=0 or p=1: they are excluded even though related probability limits can be discussed mathematically. Apple’s own entry does not specify an exact rounding rule for fractional degrees of freedom or a universal runtime error label; for standard chi-square tests, calculate a justified, typically whole-number df. [A1]
Reproduce critical values in a Numbers table
Create a table named CriticalChi2. Set B1 to Right-tail probability, C1 to Degrees df, D1 to Critical statistic x, and E1 to Back-check probability. Populate B2:C8 as shown. Enter =CHIINV(B2,C2) in D2; enter =CHIDIST(D2,C2) in E2. Fill both down through row 8. Format D and E as Numbers with enough decimal places to see roundoff rather than using percent display on the statistic. [A1, A3, A6]
| Row | B: upper-tail p | C: df | Formula in D | Expected x | Expected E back-check |
|---|---|---|---|---|---|
| 2 | 0.5 | 2 | =CHIINV(B2,C2) |
1.38629436111989 | 0.5 |
| 3 | 0.1 | 10 | =CHIINV(B3,C3) |
15.9871791721053 | 0.1 |
| 4 | 0.5 | 1 | =CHIINV(B4,C4) |
0.454936423119572 | 0.5 |
| 5 | 0.05 | 1 | =CHIINV(B5,C5) |
3.84145882069413 | 0.05 |
| 6 | 0.05 | 2 | =CHIINV(B6,C6) |
5.99146454710798 | 0.05 |
| 7 | 0.05 | 4 | =CHIINV(B7,C7) |
9.48772903678116 | 0.05 |
| 8 | 0.01 | 2 | =CHIINV(B8,C8) |
9.21034037197618 | 0.01 |
Rows 2–4 align with Apple-published examples; rows 5–8 are independent distribution calculations. All E-column expected back-checks are mathematical inversions, not observations from Numbers. Precision may differ slightly in the final displayed digits. [A1, C1]
Advanced patterns
1. Use a decision threshold for an observed test statistic
If B2 contains significance level 0.05, C2 contains df 2, and F2 contains observed χ² statistic 6, compare:
=CHIINV(B2,C2)
=F2>CHIINV(B2,C2)
=CHIDIST(F2,C2)
The mathematical cutoff is 5.991464547…, comparison is TRUE, and right-tail probability is 0.0497870683678639. This is a simple right-tail 5% decision conditional on a valid chi-square model; it is not an independently verified rendered Boolean from Numbers. Use appropriate equality handling for a method defined with ≥ rather than >; with continuous chi-square it does not alter the probability. [A1, A6, C1]
2. Understand probability direction by holding df fixed
At df=2, the mathematical results for p=0.10, 0.05 and 0.01 are respectively 4.60517018598809, 5.99146454710798 and 9.21034037197618. The threshold increases as the permitted right-tail area shrinks. If a chart or calculator reports the opposite trend, check whether it uses left-tail input. [A1, C1]
3. Convert left-tail percentiles deliberately
If the desired left-tail cumulative probability is q=0.95, the matching right-tail is p=1-q=0.05. Enter =CHIINV(1-0.95,2) (expected 5.991464547…). Do not enter =CHIINV(0.95,2) and call it a 95th left-tail percentile; that means a 95% right-tail probability instead. This transformation is mathematical probability complement, not undocumented Apple functionality. [A1, C1]
4. Evaluate a grid without hardcoding df
A table can have one row per tested model with p in B, df in C, cutoff in D and observed statistic in E. Use =CHIINV(B2,C2) for D2, fill down. For many models sharing p=0.05 stored once in B2, use an absolute cell reference such as =CHIINV($B$2,C3). Numbers documents absolute references; avoid using another spreadsheet’s $Sheet!B2 notation. [A2, A3]
Troubleshooting
| Formula / misunderstanding | Issue | Fix |
|---|---|---|
=CHIINV(0,2) or =CHIINV(1,2) |
Apple’s probability domain is strict, not inclusive. | Use 0<p<1. |
=CHIINV(0.05,0) |
df=0 is outside the documented domain. | Recheck degrees of freedom. |
=CHIINV(2,0.05) |
Reversed arguments: p is invalid (>1). | Write =CHIINV(0.05,2). |
| Expecting x≈0.1026 for 95% left-tail | Passed 0.95 as right tail. | Use 0.05 for 95% left-tail. |
| Numeric-looking quoted text in B2 | Apple’s documented argument type is Number, not text. | Store a true numeric value. |
| A tiny difference in last decimals | Floating-point roundoff/display precision. | Compare with reasonable tolerance, not a 15-decimal string identity. |
=CHIINV(0.05) |
Required df omitted. | Provide the second argument. |
No specific Excel-style error string is established by Apple’s entry for every failure. Keep error explanations to the documented domain and independently justified mathematical effects. [A1, A2]
Apple-specific references, release and locale
Apple’s current English 15.4 function reference establishes CHIINV’s inverse-one-tail semantics, but does not document every historical platform’s release support, internal numerical algorithm or historical differences on iCloud. The current Mac release notes do not identify CHIINV as one of the newly named 15.4 functions; avoid assigning 15.4 as its introduction date. [A1, A4, A5]
When the document uses a comma decimal separator, separate function arguments with semicolons: =CHIINV(0,05;2). When Numbers uses the English decimal point, write =CHIINV(0.05,2). Names are case-insensitive in Apple formulas, but translated function spellings or behavior on another spreadsheet are not proof of English Numbers semantics. Cross-table reference syntax uses names such as CriticalChi2::B6. [A2, A3]
Frequently asked questions
Does CHIINV return a p-value? No, it returns a statistic x; CHIDIST accepts the statistic and returns its upper-tail probability.
Why does lowering alpha increase the cutoff? A more extreme statistic is needed to leave less area in the right tail.
Is it safe to copy a Google Sheets inverse formula into Numbers? Only after checking the other function’s tail direction and parameter definitions. Similar-looking names do not establish equivalent inputs.
Related Apple Numbers functions
Official references and validation record
- [A1] Apple, CHIINV, Formulas and Functions Help, English documentation path 15.4: https://support.apple.com/guide/functions/chiinv-ffa5b3d428/15.4/web/1.0. Checked 2026-10-13 UTC. Establishes the name, positional arguments, documented domains and Apple examples.
- [A2] Apple, Functions overview, edition 15.4: https://support.apple.com/guide/functions/functions-overview-ffa083bef0c/15.4/web/1.0. Checked 2026-10-13 UTC. Establishes function syntax conventions, required versus optional arguments, case-insensitive names, and semicolon separators in decimal-comma locales.
- [A3] Apple, Refer to cells in formulas, edition 15.4: https://support.apple.com/guide/functions/refer-to-cells-in-formulas-ffa550d691/15.4/web/1.0. Checked 2026-10-13 UTC. Establishes same-table references, named tables, cross-sheet references and range syntax.
- [A4] Apple, What’s new in Numbers on Mac: https://support.apple.com/en-mt/guide/numbers/tan700f60676/mac. Checked 2026-10-13 UTC. This current release note discusses newly introduced functions; it does not independently establish when CHIINV was first supported.
- [A5] Apple, Formulas and Functions Help: https://support.apple.com/guide/functions/welcome-ffa361f2d90/web. Checked 2026-10-13 UTC. Applies to the documented Numbers/iWork ecosystem; no native per-device regression testing was performed here.
- [A6] Apple, CHIDIST, Formulas and Functions Help, English version 15.4: https://support.apple.com/guide/functions/chidist-ffa5a6a7f0/15.4/web/1.0. Checked 2026-10-13 UTC; establishes the cross-reference function and argument interpretation.
- [C1] Independent numerical verification, 2026-10-13 UTC: standard chi-square/binomial distributions evaluated with local open-source Python SciPy (
scipy.stats.chi2andscipy.stats.binom), and exactmath.combsums for the binomial mass checks. These are mathematical expectations, not observations from an Apple Numbers app.
Native-validation limitations: Formulas were not executed in Numbers on Mac, iPhone, iPad, or iCloud. Screenshots, localized behavior and historical edition support have not been verified.