Calculator
Enter survey responses, optionally add weights, and compute dispersion instantly. Results appear above this form after submission.
Example data table
This sample uses a 1–5 satisfaction scale. Try it by choosing Use example data above.
| Respondent | Response | Optional weight |
|---|---|---|
| R01 | 4 | 1.2 |
| R02 | 5 | 1.2 |
| R03 | 3 | 0.9 |
| R04 | 4 | 1.2 |
| R05 | 2 | 0.9 |
| R06 | 4 | 1.2 |
| R07 | 5 | 1.2 |
| R08 | 3 | 0.9 |
| R09 | 4 | 1.2 |
| R10 | 4 | 1.2 |
| R11 | 1 | 0.9 |
| R12 | 5 | 1.2 |
Formula used
Unweighted mean: μ = (Σx) / n
Unweighted variance:
- Population: σ² = Σ(x − μ)² / n
- Sample: s² = Σ(x − μ)² / (n − 1)
Weighted mean: μw = (Σ(w·x)) / (Σw)
Weighted variance:
- Population: σ²w = Σ(w·(x − μw)²) / (Σw)
- Sample, frequency weights: s²w = Σ(w·(x − μw)²) / (Σw − 1)
- Sample, importance weights (Kish): s²w = Σ(w·(x − μw)²) / (Σw − Σw²/Σw)
Standard deviation: SD = √variance
Effective sample size (Kish): nₑ𝒻𝒻 = (Σw)² / (Σw²)
How to use this calculator
- Select an input method: manual, CSV upload, or example data.
- Enter responses and optionally define a valid range.
- Enable weights if your survey needs them, then choose weight interpretation.
- Pick sample or population standard deviation for your context.
- Press Calculate to show results under the header.
- Use Download CSV or Download PDF to export.
Survey dispersion in practice
Standard deviation summarizes how far survey scores spread from the mean. In customer satisfaction work, a mean of 4.1 with SD 0.6 signals stable agreement, while the same mean with SD 1.4 suggests polarized opinions. This calculator also reports variance, min, max, and a coefficient of variation to compare dispersion across different question scales. When SD approaches zero, respondents cluster tightly, improving comparability and interpretation.
Choosing sample or population deviation
Use sample deviation when responses represent a sample drawn from a larger audience. The n−1 denominator reduces bias in variance estimates, especially with small n. Choose population deviation only when the dataset covers every eligible respondent, such as a complete census of employees or all transactions within a fixed period. With very large n, sample and population values converge, but reporting the correct choice remains best practice.
Handling Likert scales and coding
Survey items often use 1–5 or 1–7 coding. Set a valid range to detect miscoded entries like 0 or 99. If enforcement is enabled, out-of-range values are removed before calculation. If enforcement is off, you can keep unusual values for auditing while still quantifying their impact on dispersion. For multi-item indices, compute SD after scoring the composite so dispersion reflects the final scale rather than individual items.
Weighted analysis for complex surveys
Weights adjust for unequal selection probabilities, nonresponse, or quotas. Frequency weights treat w as replicated counts, while importance weights use a Kish adjustment that reflects effective sample size. The report shows Σw and n_eff, helping you understand how weighting reduces precision even when the raw record count is high. If you lack a weight column, leave weights off to avoid inflating or deflating variance through defaults and padding.
Interpreting outputs for reporting
Pair SD with the mean and a confidence interval to communicate uncertainty. A narrow interval indicates consistent measurement or large effective size. Use the cleaned data preview to validate inputs, then export CSV for analysis or PDF for stakeholders. For tracking over time, compare SD shifts alongside changes in coding or audience mix. Document assumptions in the PDF notes so readers know whether weighting, trimming, or range rules were applied.
FAQs
What inputs does the calculator accept?
You can paste numeric responses, use the built-in example dataset, or upload a CSV and choose the response column. Optional weights can be entered manually or read from a second column.
Should I use sample or population standard deviation?
Use sample for most surveys because responses represent a subset of a larger population. Use population only when you truly have all eligible responses for the defined group and time window.
How do weights change the results?
Weights modify the mean and dispersion to reflect unequal representation. The tool supports frequency weights and importance weights, and it reports effective sample size so you can judge precision after weighting.
What does range enforcement do?
Range enforcement removes values outside your minimum and maximum before calculating statistics. This is useful for Likert coding checks. If you leave it off, outliers remain and can increase the standard deviation.
Why is the confidence interval labeled approximate?
The interval uses a normal approximation and assumes independent observations. In clustered or stratified designs, uncertainty can be larger. Treat the interval as a quick screening metric, not a full survey inference.
How do I export my results?
After a calculation, use the Download CSV or Download PDF buttons in the results panel. Exports are created from your latest session results, including the cleaned response list and key summary metrics.