The formula
Take n independent readings from a process with true mean μ and standard deviation σ. The sample mean x̄ is a random variable — run the test again and you get a different x̄. Its distribution is the sampling distribution, and its standard deviation is the standard error of the mean [1]:
SE = σ / √n
Reading: the average of n readings wanders around the true value with a spread √n times tighter than a single reading does. Sixteen readings buy a 4× tighter mean; a hundred buy 10×.
In practice you don't know σ, so you estimate it from the same data [1][2]:
SE ≈ s / √n where s = √( Σ(xᵢ − x̄)² / (n−1) )
Reading: this is what NIST calls a Type A evaluation of standard uncertainty — the standard uncertainty of an average is the sample standard deviation of the readings divided by root-n [2].
The central limit theorem supplies the shape: for independent readings with finite variance, the distribution of x̄ approaches a normal distribution as n grows, regardless of what the individual readings look like [3]:
√n · (x̄ − μ) → N(0, σ²)
Reading: even if single readings come from a skewed or lumpy process, their average behaves like a Gaussian — which is what licenses the usual error bar:
x̄ ± t(0.975, n−1) · s/√n
Reading: a 95% confidence interval on the true mean, where t is the Student multiplier that replaces 1.96 when n is small [7]. One footnote: if you sample a meaningful fraction of a finite population without replacement, multiply SE by √((N−n)/(N−1)) — sampling 30 units from a lot of 40 is more informative than 30 from a lot of 10,000 [1].
Where you meet it
- The bench. A 6½-digit DMM reading a stable voltage still flickers in the last digits. Set the instrument to average 100 samples per reported value and the flicker drops by 10×. That averaging knob is
σ/√nin firmware, and it's why the reading takes a hundred power-line cycles instead of one. - The test stand. A thrust measurement needs its mean known to ±0.1% but the load cell channel scatters at ±1% per sample. Root-n says you need on the order of 100 independent samples of dwell at that setpoint — and halving the uncertainty from there costs 4× the dwell time, not 2×. Every test-duration argument between the analyst and the range scheduler is an argument about this equation.
- The scope and the ADC. Waveform averaging on a repetitive signal improves SNR by
10·log₁₀(N)dB — 6 dB for 4 averages, 20 dB for 100 — because coherent signal adds linearly while random noise adds in quadrature. Same math, expressed in dB. - The review board. Five qual units were tested and the chart shows a mean with error bars. The first question worth asking: are those bars
s(the unit-to-unit scatter you'd expect from the next article off the line) ors/√5(how well the mean of these five is known)? They differ by a factor of 2.24, and the wrong one has passed more than one PDR.
How it works
The mechanism is variance bookkeeping. Independent errors add in quadrature: the variance of a sum of n independent readings is n·σ². Dividing the sum by n divides the variance by n², leaving σ²/n — so the standard deviation of the mean is σ/√n. In physical terms, independent errors partially cancel; some readings land high while others land low, and the average splits the difference. The cancellation is real but weak, which is exactly why the improvement goes as √n and not n.
That square root is the whole economics of test time. The first four samples cut uncertainty in half. Going from 100 samples to 200 buys only a 29% improvement. Every factor-of-10 tightening costs a factor of 100 in data — which is why "just average longer" is a fine answer at the start of a test and a budget-breaking one later.
A worked case, start to finish. A pressure channel reads a dead-headed line ten times:
readings (psi): 501.2, 499.8, 500.9, 500.3, 499.5, 501.0, 500.1, 499.7, 500.6, 500.4
x̄ = 500.35 psi
s = √( Σ(xᵢ − x̄)² / 9 ) = 0.580 psi
SE = s/√10 = 0.183 psi
95% CI: 500.35 ± 2.262 · 0.183 = 500.35 ± 0.41 psi
Any single reading is only good to about ±0.6 psi (one s); the mean of ten is pinned to ±0.41 psi at 95% — and note the multiplier is 2.262, the Student t for 9 degrees of freedom, not 1.96. Want that ±0.41 down to ±0.1? Root-n says roughly 17× the data — about 170 readings, not 40.
The gotchas, in the order they actually bite:
- Independence is the load-bearing assumption.
σ/√ncounts independent readings. Sample a drifting channel at 1 kHz and the samples are not independent — each one mostly repeats its neighbor. For noise with first-order correlationρbetween adjacent samples, the effective sample count is roughlyn·(1−ρ)/(1+ρ): atρ = 0.9, a thousand samples carry the information of about 53. (Simulated directly: the variance of the mean comes out ~18× larger than the naiveσ²/1000.) Quotes/√1000on that data and your error bars are more than 4× too tight. The fix is to sample slower than the noise correlation time, or compute the effectivenhonestly. - Averaging never removes bias. Root-n shrinks random scatter only. A 2 mV calibration offset survives a million averages at exactly 2 mV. The standard error describes precision; accuracy lives in the calibration chain, and confusing the two is how a beautifully tight, wrong number gets briefed with confidence.
- Drift puts a floor under averaging. On real instruments, extend the averaging window far enough and slow drift — thermal, aging, 1/f noise — starts adding error faster than averaging removes it. This is why Allan deviation plots for oscillators and gyros fall as
1/√τand then turn back up: there is an optimum averaging time, and past it more data makes the answer worse. - Small n needs Student's t, not 1.96. With
n = 4, the 95% multiplier is 3.18, not 1.96 — a 62% wider interval, becausesitself is poorly known from three degrees of freedom. Byn = 30the multiplier is 2.05 and the distinction stops mattering [7]. - SE describes the mean, not the next unit. The standard error tells you how well you've pinned down the average of the population. It says nothing about where the next serial number will land — that's
s, full size, plus a prediction-interval penalty. Fleet dispersion questions and mean-performance questions take different denominators.
History
The root-n behavior of averages was discovered from the tail end first — as a curiosity about coin flips. Abraham de Moivre showed in 1733 that the binomial distribution is approximated by the bell-shaped curve, the earliest version of what became the central limit theorem [3][10]. Pierre-Simon Laplace made it general: in a pair of papers in 1810 and 1811 he introduced the characteristic function as a tool for large-sample work and proved the first general central limit theorem — sums and averages of independent quantities, suitably rescaled, tend to the normal distribution [3][4]. From that point the machinery existed; the vocabulary took another eighty years. Karl Pearson coined "standard deviation" in an 1893 lecture as a replacement for the clumsier "error of mean square" [8][11], and the earliest known appearance of "standard error" in print is George Udny Yule's 1897 paper on correlation in the Journal of the Royal Statistical Society [8][9].
The engineer's version of the story starts in a brewery. William Sealy Gosset joined Arthur Guinness & Son in Dublin in 1899 as a chemist, and ran into a problem Laplace's large-sample theory didn't cover: brewing experiments on barley and hops gave him samples of three or four, not three or four hundred [5][6]. Guinness sent him to Karl Pearson's laboratory at University College London for the 1906–07 session to work the problem properly [5][6]. The result was the 1908 Biometrika paper "The Probable Error of a Mean," which worked out how (x̄ − μ)/(s/√n) actually behaves when n is small and s is itself noisy [5][8]. Guinness, burned by an earlier employee's publication that leaked trade information, required its staff to publish without naming the company, the product, or themselves — so the paper appeared under the pseudonym "Student" [5]. Ronald Fisher later recognized what the industrial chemist had done, attached the letter t to the statistic, and called it Student's distribution — the name every test report still uses [5][7]. The small-sample correction that guards every "mean of five units" claim in a qual package was invented to make beer come out the same batch to batch.
Related tools
- /tools/snr-enob — averaging N waveforms buys
10·log₁₀(N)dB of SNR; this entry is why. - /tools/thermal-noise-floor — the physical source of the
σthat root-n works against on electrical measurements. - /tools/rms-peak — the RMS of zero-mean noise is the
σin the numerator of the standard error. - /tools/adc-resolution — oversampling and decimation trade sample count for effective resolution using the same square-root arithmetic.
- /tools/strain-gauge-bridge — repeated bridge readings averaged to beat down noise are the standard bench case for
s/√n.
Sources
- https://en.wikipedia.org/wiki/Standard_error
- https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-3-type-evaluation-standard-uncertainty
- https://en.wikipedia.org/wiki/Central_limit_theorem
- https://en.wikipedia.org/wiki/Pierre-Simon_Laplace
- https://en.wikipedia.org/wiki/William_Sealy_Gosset
- https://mathshistory.st-andrews.ac.uk/Biographies/Gosset/
- https://en.wikipedia.org/wiki/Student%27s_t-distribution
- https://mathshistory.st-andrews.ac.uk/Miller/mathword/s/
- https://doi.org/10.2307/2979746
- https://en.wikipedia.org/wiki/De_Moivre%E2%80%93Laplace_theorem
- https://mathshistory.st-andrews.ac.uk/Biographies/Pearson/