Home · Statistics · Descriptive Statistics · Sum of Squares Calculator
Sum of Squares Calculator
The total sum of squared deviations from the mean — the numerator behind variance and standard deviation.
What this calculator does
The total sum of squared deviations from the mean — the numerator behind variance and standard deviation. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Each value's deviation from the mean is squared and the squares are summed.
Dividing this sum by n−1 gives the sample variance; dividing by n gives the population variance.
Worked example
With the example inputs this page opens with, the result is 52.00. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 52.00 |
| Count (n) | 10 |
| Mean | 6 |
| Median | 6.5 |
| Mean | 6 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Where does the sum of squares appear besides variance?
It is the building block of ANOVA tables, regression residual sums and R² calculations.
Can the sum of squares be zero?
Only when every value equals the mean — that is, when all values are identical.
How does the Sum of Squares Calculator work?
The total sum of squared deviations from the mean — the numerator behind variance and standard deviation. Data values → Σ(x − x̄)². The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Sum of Squares Calculator need?
Data values → Σ(x − x̄)². Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.