CONFIDENCE in Apple Numbers: Confidence-Interval Margins of Error
Calculate a known-population-standard-deviation confidence-interval margin of error and build complete intervals in Apple Numbers.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer. =CONFIDENCE(0.05,1,10) returns Apple’s documented 0.619795032304561. This is the half-width / margin of error for a nominal 95% confidence interval when the population standard deviation is known to be 1 and the sample size is 10. It is not the sample mean, lower bound, upper bound or the whole interval. For a sample mean of 100, use 100−0.619795... and 100+0.619795... to form the two ends. [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 CONFIDENCE reference. Documentation check; not a new native test.
What CONFIDENCE calculates
Apple’s reference says CONFIDENCE produces a value used to construct a confidence interval for a sample from a population with a known population standard deviation. It assumes sample values are normally distributed and takes a significance level alpha, population standard deviation and sample size. [A1]
Independent statistical mathematics for the classical two-sided normal / z interval gives:
margin of error = z_(1 - alpha/2) × population_stdev / SQRT(sample_size)
lower endpoint = sample_mean − margin of error
upper endpoint = sample_mean + margin of error
Here z_(1−alpha/2) is the standard normal quantile. The confidence level is 1−alpha, so alpha=0.05 means 95% confidence, not five percent confidence. These are statistical interpretations independently checked using normal quantiles, not an undocumented Apple implementation claim. [A1, C1]
Exact Apple syntax: three required numeric arguments
=CONFIDENCE(alpha, stdev, sample-size)
| Order | Official name | Required type | Apple-published restriction | Optional/default? |
|---|---|---|---|---|
| 1 | alpha |
Number (probability outside the interval) | Strictly 0 < alpha < 1 | Required; none |
| 2 | stdev |
Number (the known population standard deviation) | Strictly stdev > 0 | Required; none |
| 3 | sample-size |
Number (number of observations) | Strictly sample-size > 0 | Required; none |
There is no documented optional “tails,” “mean” or “standard error” fourth argument. For a real sample, enter a positive integer number of observations; while Apple states that the sample-size argument is a number greater than zero, the help page does not specify fractional-input coercion. A sample-estimated standard deviation is not equivalent to a known population deviation, and a t-based interval is not automatically produced by CONFIDENCE. [A1, C1]
In the English help examples, arguments use commas. In decimal-comma locales, the formula editor may expect a different separator; preserve the local Numbers formula syntax. Reference B2 within the current Numbers table or Sampling::B2 from another table; do not transfer Excel-only sheet-qualified Sheet1!B2 notation into a Numbers explanation. See Apple’s reference documentation for $ anchors and cross-table names. [A2, A3]
Worked Numbers worksheet: calculate both interval endpoints
Create a single Numbers table named Sampling, with one label column A and one value/formula column B. Put these values in the precise cells below. The sample mean is supplied as an independently determined example input; CONFIDENCE does not compute it. [A1, C1]
| Cell | Label in A | Value or formula in B | Expected output |
|---|---|---|---|
| 2 | Significance alpha | 0.05 |
0.05 |
| 3 | Known population stdev | 12 |
12 |
| 4 | Observations | 100 |
100 |
| 5 | Sample mean | 100 |
100 |
| 6 | Margin of error | =CONFIDENCE(B2,B3,B4) |
2.351956781448065 |
| 7 | Lower endpoint | =B5-B6 |
97.64804321855193 |
| 8 | Upper endpoint | =B5+B6 |
102.35195678144807 |
The resulting classical normal interval is approximately [97.648, 102.352] at 95% nominal confidence. Round only for display; retain full spreadsheet precision for later calculations. If referring from a different Numbers table, use Sampling::B2, Sampling::B3, and Sampling::B4 as the corresponding qualified references. The output numbers were calculated independently, not produced by executing a Numbers document. [A1, A3, C1]
Apple’s published examples: compare them independently
| Apple-documented call | Published expected result | Independent normal-quantile check |
|---|---|---|
=CONFIDENCE(0.05,1,10) |
0.619795032304561 | 0.619795032304562 (within rounding) |
=CONFIDENCE(0.1,1,10) |
0.520148387875558 | 0.520148387875558 |
=CONFIDENCE(0.05,1,20) |
0.438261270288291 | 0.438261270288291 |
=CONFIDENCE(0.05,1,30) |
0.357838828743431 | 0.357838828743432 |
=CONFIDENCE(0.05,1,40) |
0.309897516152281 | 0.309897516152281 |
The small final-digit differences are binary floating-point rounding, not evidence of another meaning. These values come from Apple’s documented output table and independent Python/SciPy quantile calculations; they are not separate native Numbers tests. [A1, C1]
Advanced uses
1. Compare 95% and 99% intervals
For fixed population sigma 5 and sample size 25, a 99% interval uses alpha=0.01:
=CONFIDENCE(0.01,5,25)
Independent expected margin 2.575829303548901. Compared with =CONFIDENCE(0.05,5,25) (margin approximately 1.95996398454), the 99% interval is wider because higher confidence uses a larger standard-normal quantile. [C1]
2. Observe how precision improves with sample size
For 95% confidence and sigma 12:
| Sample size | Formula | Independent expected half-width |
|---|---|---|
| 25 | =CONFIDENCE(0.05,12,25) |
4.70391356289613 |
| 36 | =CONFIDENCE(0.05,12,36) |
3.91992796908011 |
| 100 | =CONFIDENCE(0.05,12,100) |
2.35195678144807 |
| 400 | =CONFIDENCE(0.05,12,400) |
1.17597839072403 |
Doubling sample size does not halve the margin. For a fixed normal multiplier and sigma, margin is proportional to 1 / SQRT(n), so quadrupling the sample size halves the margin. [C1]
3. Size a future study using a target margin
If the desired two-sided 95% margin is at most 2 with known population sigma 12, the mathematical minimum target sample size is:
n >= (1.95996398454005 × 12 / 2)^2 ≈ 138.292517544989
Round up to 139 whole independent observations. A check using the documented CONFIDENCE form gives CONFIDENCE(0.05,12,139) about 1.994903705110 (below 2); using n=138 yields just over 2. This is a planning approximation conditional on the ideal normal model, not a guaranteed result for biased samples. [C1]
4. Do not replace the population sigma with the sample’s STDEV uncritically
For a small sample with unknown population standard deviation, an interval generally uses estimated uncertainty and a t multiplier. Apple links CONFIDENCE to its STDEV help, but its own description explicitly requires a known population standard deviation. Do not call =CONFIDENCE(0.05,STDEV(B2:B11),10) an automatically valid 95% t interval. STDEV and CONFIDENCE answer different parts of the problem, even if Numbers accepts both numeric outputs. [A1, C2]
Errors, restrictions and troubleshooting
| Input or issue | Why it needs attention | Action/evidence boundary |
|---|---|---|
=CONFIDENCE(0.05,12) |
Required sample-size absent |
Provide all 3 arguments; exact error text not documented [A1]. |
=CONFIDENCE(95,12,100) |
alpha=95 is outside strict (0,1) |
Enter 0.05 for 95% confidence, or reference a numeric 5% cell [A1]. |
=CONFIDENCE(0,12,100) or alpha=1 |
Endpoints prohibited by Apple | Use a probability strictly between 0 and 1 [A1]. |
=CONFIDENCE(0.05,0,100) |
Population sigma must be >0 | Check standard-deviation input [A1]. |
=CONFIDENCE(0.05,12,0) |
Sample size must be >0 | Use an actual positive count [A1]. |
| Result mistaken for complete confidence interval | Function returns only half-width | Add and subtract it from the sample mean [A1, C1]. |
| Using a sample STDEV as known population sigma | Normal-known-sigma inference assumptions not met | Consider an appropriate inferential method; function is not a t interval [A1, C2]. |
| Sample observations are strongly dependent, skewed, biased | Statistical assumptions may break down | Assess sampling and distribution; a formula does not validate study design [C2]. |
| Decimal-comma locale shows syntax issue | Separator may be localized | Use Numbers’ local formula editor [A2]. |
| A long decimal appears rounded or scientific | Display formatting may differ from underlying value | Increase displayed precision; not verified in app [C1]. |
Explicit unknowns: Apple 15.4 help does not document the exact native error message for every invalid input, undocumented fractional sample-size coercion, historical first-supported version, or parity in all past Mac/iPad/iPhone/iCloud releases. We have not tested these cases in Numbers. [A1, A2]
Compatibility, locale and validation
- Verified documentation: English Formulas and Functions Help 15.4, accessed 2026-10-13, includes CONFIDENCE in the statistical function catalogue with the three-argument form and published examples. This is not proof CONFIDENCE first appeared in 15.4 or that all historical editions expose it. [A1, A4]
- Execution status: NOT TESTED in native Apple Numbers on Mac, iPhone, iPad or iCloud. Five Apple-reported results were independently re-evaluated using
scipy.stats.norm.isf(alpha/2); extra worksheet outputs were calculated in Python. [A1, C1] - Related resources: Apple’s STDEV entry is related but not interchangeable for known-sigma interval construction. No unverified internal site links are placed here. [A1, C2]
Official references and claim provenance (checked 2026-10-13)
- [A1] Official Apple, CONFIDENCE — exact argument order, strict numeric bounds, population sigma, normal assumption, all five official example outputs: https://support.apple.com/guide/functions/confidence-ffa5a29b28/15.4/web/1.0
- [A2] Official Apple, Formulas and Functions Help 15.4 — formula entry and locale considerations: https://support.apple.com/en-au/guide/functions/ffa148e9cd0/15.4/web/1.0
- [A3] Official Apple, Refer to cells in formulas — same-table and cross-table cell references: https://support.apple.com/en-au/guide/functions/ffa550d691/15.4/web/1.0
- [A4] Official Apple statistical functions catalogue, canonical name and STDEV related reference: https://support.apple.com/guide/functions/ffa148e9cd0/web
- [C1] Independent numerical check: Standard normal survival quantile
scipy.stats.norm.isf(alpha/2), divided bySQRT(n)and multiplied by known sigma. Full values calculated on 2026-10-13. This is not native Numbers execution. - [C2] Statistical interpretation only: Known-versus-unknown sigma, sampling assumptions and t-versus-normal method distinction are independent mathematical context, not undocumented Apple functionality.