Statistics & probability

Stratified survey mean calculator with finite population correction

Estimate a finite-population mean and total from stratum summary statistics under independent simple random sampling without replacement.

Your numbers

Each line: population N, sample n, sample mean, sample variance using n−1.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Estimate a finite-population mean and total from stratum summary statistics under independent simple random sampling without replacement. Show population weights, finite-population corrections and separate variance contributions.

THE FORMULAW_h=N_h/ΣN_h; mean=ΣW_h·mean_h; Var̂(mean)=ΣW_h²(1−n_h/N_h)s_h²/n_h; total=(ΣN_h)·mean.

A worked example

Population shares 0.6, 0.3 and 0.1 give mean 15.1. Variance contributions 0.0864, 0.0675 and zero sum to 0.1539; standard error is 0.392300905 and estimated total is 15100.

Good to know

2–40 strata; each row N,n,mean,sample variance. Integer N≥n≥1 within 10⁶; noncertainty strata need n≥2; variance nonnegative and uses n−1 divisor. Independent simple random sampling without replacement within every stratum and known stratum population sizes. Normal 95% interval is approximate. No clusters, unequal within-stratum probabilities, nonresponse, calibration or measurement-error correction.

Weight people by the population design

A stratified survey divides a finite population into disjoint strata and draws an independent simple random sample without replacement within each one. The overall mean weights stratum means by population shares, not by the number of completed records. Disproportionate sampling is therefore handled explicitly rather than ignored.

Each input row supplies population size, sample size, observed sample mean and sample variance for one stratum. All strata together must cover the target population for the estimate to represent that population. Omitting a difficult stratum changes the target unless a separate justified adjustment is made.

Where stratified sampling variance comes fromContribution to mean varianceStratum12300.050.10.08640.06750.0000Census
Scroll across to see the full diagram.
Population-weighted variance contributions are 0.0864, 0.0675 and zero. The final stratum is a census and contributes no selection variance.

Compare this with the Survey sample size calculator. Estimate an overall mean and design-based variance from stratum samples and known population sizes,not a required sample count.

Use sample variances with the right divisor

The variance input is the within-stratum sample variance using n minus one in its denominator. It is not a standard deviation and not a variance of the stratum mean. Squaring an already squared variance or dividing it by n before entry applies an unintended extra transformation.

A noncertainty stratum needs at least two sampled units to estimate its sample variance. A stratum sampled completely has no sampling variance contribution, including a one-unit stratum with its sole unit observed. The interface accepts that special case while rejecting a one-unit sample from a larger stratum.

Apply the finite population correction

For population share W, population size N and sample size n within a stratum, the estimated mean-variance contribution is W squared times one minus n divided by N, times sample variance divided by n. Independent strata allow those contributions to be added directly without cross-stratum covariance terms.

The finite population correction reflects sampling without replacement from a known finite population. It approaches one when the sampling fraction is tiny and becomes zero for a census stratum. Applying it to convenience samples or an assumed future superpopulation does not magically create design-based representativeness.

Work through the three default strata

The displayed populations are six hundred, three hundred and one hundred units. Samples contain sixty, thirty and one hundred observations, with means twelve, eighteen and twenty-five. Population shares are therefore 0.6, 0.3 and 0.1, giving an overall weighted mean of 15.1.

The first variance contribution is 0.0864 and the second is 0.0675. The third contributes zero because all one hundred units are observed. Summing gives variance 0.1539 and standard error approximately 0.392301. The larger census sample does not receive extra population weight merely because it supplied many records.

Translate a mean into a total

Multiplying the estimated mean by the full population count gives the estimated total. Here the population contains one thousand units, so the total estimate is 15,100 and its standard error is approximately 392.301. The total and mean summarize the same estimator on different scales.

The approximate ninety-five percent interval for the mean uses 1.959964 standard errors on each side, producing about 14.331104 through 15.868896. This normal approximation is a separate inferential step beyond the design variance formula. Small or highly skewed strata can make its coverage inaccurate.

Distinguish sampling error from other errors

A census stratum has no sampling uncertainty about its finite-population mean if its values are recorded correctly. Measurement error, frame omissions and missing responses can remain. A zero variance contribution therefore describes the specified random sampling mechanism, not certainty about every aspect of the underlying information.

The calculator assumes the supplied n is the actual simple-random-sample size for the stated mean and variance. Using invited sample size when only some units respond can understate uncertainty and conceal nonresponse bias. Nonresponse weights, calibration and poststratification require estimators tailored to their own construction.

Preserve the design in reporting

Two through forty strata are supported, with integer population and sample sizes, nonnegative sample variances and finite means. The calculation returns population weights, separate variance contributions, mean and total estimates, standard errors and a normal interval. Stratum order does not affect the overall answer when rows remain intact.

There is no cluster correction, multi-stage design, unequal within-stratum probability, estimated population-size adjustment or design-effect estimate. Keep a record of how each stratum was sampled and how its variance was calculated. Those design facts determine whether the displayed formulas apply more directly than the apparent precision of the final decimal output.

A few questions, answered

Should the variance input be a standard deviation?

No. Enter the sample variance with n−1 divisor. Square a standard deviation once if that is the summary you actually have.

Why does a census stratum contribute no sampling variance?

All units in that finite stratum are observed under the stated design. Measurement and coverage errors can remain, but there is no without-replacement selection uncertainty.

Why are population rather than sample shares used?

They reconstruct the target population mean even when some strata were sampled more intensely. Sample shares generally change the target weighting.

Does this handle nonresponse?

No. The formulas assume the supplied summaries come from the stated independent simple random samples. Nonresponse weighting and calibration need design-specific variance methods.

Find your calculator

Start typing to explore the library.