Why correlation changes the benefit of averaging
An average of repeated readings can suppress uncorrelated random variation because positive and negative deviations tend to cancel. If samples share a common offset or slow drift, their errors move together and the average retains more of that shared component. The sample count alone therefore does not determine the improvement.
This calculator assumes every sample has the same variance and every distinct pair has the same correlation coefficient ρ. That equicorrelation model is useful for a compact comparison, but a real ADC noise record may have time-dependent autocorrelation, periodic interference, or several correlated components that require a fuller model.
Enter sample count, pairwise correlation, and RMS noise
Enter N as the number of equally weighted samples in one output average. N must be an integer from 1 through 1,000,000. Enter ρ between −1 and 1, subject to the positive-semidefinite bound for an equal-correlation matrix, and enter the single-sample RMS noise σ in volts. Zero RMS noise is allowed, though it leaves no noise reduction to interpret.
Enter the pairwise coefficient ρ, where zero means uncorrelated and a positive value means samples tend to share deviations. Negative correlation can improve cancellation, but values that imply negative variance are not valid. The calculator expects the coefficient, so 5% is entered as 0.05.
Calculate the variance of an equally weighted mean
For N samples with common variance σ² and pairwise covariance ρσ², the variance of their arithmetic mean is Var(ȳ)=σ²[1+(N−1)ρ]/N. The factor r=[1+(N−1)ρ]/N is the variance fraction remaining after averaging. RMS noise is σ√r, not σr, because standard deviation is the square root of variance.
For independent samples, ρ=0 and RMS falls by √N. With positive correlation, the remaining variance approaches a floor as N grows. A common offset therefore cannot be removed by simply collecting more samples under the same model.
The calculator converts the variance ratio into an SNR improvement of −10log₁₀(r) dB and a noise-equivalent bit gain of −½log₂(r). These are alternative ways to express the same modeled noise reduction. They do not state the ADC’s total resolution or guarantee that the measurement’s signal-to-noise ratio will improve by that amount.
Worked examples
Sixteen mildly correlated samples
Inputs: N=16, ρ=0.05, single-sample RMS noise σ=1 mV.
Calculation: r=[1+15(0.05)]/16=0.109375. RMS_AVG=1 mV×√0.109375=0.330719 mV. The noise-power improvement is −10log₁₀(r)=9.61082 dB, or 1.59632 noise-equivalent bits.
Correlation leaves more noise than the independent result of 1/√16=0.25 mV.
Four samples with stronger correlation
Inputs: N=4, ρ=0.25, single-sample RMS noise σ=2 mV.
Calculation: r=[1+3(0.25)]/4=0.4375. RMS_AVG=2 mV×√0.4375=1.32288 mV. The corresponding improvement is 3.59022 dB, or 0.59632 bits.
Averaging still reduces RMS noise, but four samples do not provide the 6.02 dB gain expected from four independent samples.
Check the covariance before trusting the result
For N>1, an equal-correlation covariance matrix requires ρ≥−1/(N−1); for N=1, ρ has no effect. The runtime also rejects a zero variance fraction because its dB improvement would be infinite.
This bound is a consistency check, not evidence that measured samples actually follow the model. Estimate autocorrelation from data collected under the same clocking, filtering, and bandwidth conditions as the intended measurement. If correlation changes with lag, a single ρ cannot represent the full covariance structure.
Use repeated measurements as a diagnostic
Compare the observed RMS spread of several block sizes with the predicted curve. A fall near 1/√N followed by a plateau suggests shared or slowly varying error, but drift, quantization, interference, and changing conditions can look similar.
Record the single-sample RMS, sample rate, averaging window, filter settings, and how ρ was estimated. A correlation coefficient without the time spacing and observation conditions is hard to reuse. If the instrument already averages internally, avoid treating each displayed value as an independent raw sample.
Model limits and common mistakes
The formula assumes equal sample weights, equal variance, stationary noise, and a constant correlation between every distinct pair. It excludes quantization steps, nonlinear filtering, outliers, drift that changes during the record, and signal changes during the averaging interval. Averaging a changing signal can reduce noise while also smoothing real events.
Do not apply the independent-sample √N rule to correlated data, enter 5 for a 5% coefficient, or confuse variance with RMS: variance scales by r while standard deviation scales by √r.