📊 Standard Deviation and Variance Calculator

Enter a set of values and choose sample or population to compute standard deviation, variance and the coefficient of variation, comparing dispersion across different units.

📐 计算公式 / 原理
方差 s² = Σ(xᵢ − x̄)² / (n − 1 或 n);标准差 s = √s²;CV = s / |x̄| × 100%
先求均值 x̄,再算各值离差平方和,除以自由度即得方差:样本用 n − 1(无偏估计),总体用 n。标准差为方差开平方,与原数据同量纲;变异系数 CV 用标准差除以均值绝对值乘 100%,便于跨量纲比较。数据项可粘贴、增删;按实际有效数量 n 计算,空白项自动忽略。样本取分母 n − 1,总体取分母 n;样本至少需要 2 项。

📐 计算公式与说明

方差 s² = Σ(x − x̄)² / (n − 1)(样本)或 n(总体)
标准差 = √方差

类型填 1 为样本标准差,填 2 为总体标准差。