Field guide
| Field | What it does | Example |
|---|---|---|
| Input | ||
| Data (numbers) | Enter numbers separated by commas, spaces, semicolons, tabs or new lines; a spreadsheet column can be pasted as is. Use a dot for decimals and e for powers of ten (1.5e3 = 1500). | 2, 4, 4, 4, 5, 5, 7, 9 (used in the examples below) |
| Center | ||
| Mean (x̄) | x̄ = Σx ÷ n | 40 ÷ 8 = 5 |
| Median | The middle value of the sorted data; when n is even, the average of the two middle values. | (4 + 5) ÷ 2 = 4.5 |
| Mode | The most frequent value. Ties are all listed; if every value appears once, it shows “None”. | 4 (appears 3 times) |
| Geometric mean | ⁿ√(x₁ × x₂ × … × xₙ). Calculated only when every value is greater than 0. | ⁸√201600 = 4.60321559605 |
| Range and quartiles | ||
| Range | Maximum − minimum | 9 − 2 = 7 |
| First quartile (Q1) | The value at position 1 + (n − 1) × 0.25 in the sorted data, interpolated between neighbors (same as Excel QUARTILE.INC). | position 2.75 → 4 |
| Third quartile (Q3) | The value at position 1 + (n − 1) × 0.75, found the same way as Q1. | position 6.25 → 5 + 0.25 × (7 − 5) = 5.5 |
| Interquartile range (IQR) | IQR = Q3 − Q1, the width of the middle 50% of the data. | 5.5 − 4 = 1.5 |
| Spread | ||
| Population standard deviation (σ) | σ = √(Σ(x − x̄)² ÷ n). Use it when the data covers the whole group. | √(32 ÷ 8) = 2 |
| Population variance (σ²) | σ² = Σ(x − x̄)² ÷ n | 32 ÷ 8 = 4 |
| Sample standard deviation (s) | s = √(Σ(x − x̄)² ÷ (n − 1)). Use it when the data is a sample from a larger group. Needs at least 2 values. | √(32 ÷ 7) = 2.1380899353 |
| Sample variance (s²) | s² = Σ(x − x̄)² ÷ (n − 1) | 32 ÷ 7 = 4.57142857143 |
| Sum of squares Σ(x − x̄)² | Each value’s distance from the mean, squared, then added up. | 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32 |
Frequently asked questions
Should I use the population or the sample standard deviation?
Use the population version (÷n) when your data covers the whole group you care about, and the sample version (÷(n − 1)) when it is a sample from a larger group. Dividing by n − 1 corrects a sample’s tendency to underestimate the spread (Bessel’s correction). In Excel these are STDEV.P and STDEV.S.
Why are my quartiles different from another calculator or textbook?
There are several ways to calculate quartiles. This calculator uses the Excel QUARTILE.INC method, so for 2, 4, 4, 4, 5, 5, 7, 9 it gives Q3 = 5.5, while QUARTILE.EXC gives 6.5 and taking the median of the upper half gives 6.
Why are the count (n) or the results not what I expected?
Commas and spaces always separate numbers, so 1,000 is read as two values, 1 and 0. Type numbers without thousands separators, like 1000.
What does “… is not a number” mean?
An entry contains something other than a number, such as a unit or a symbol (10kg, 5%). The message shows the first such entry; keep only the number and the results come back.
Why do the sample standard deviation or the geometric mean show “—”?
The sample variance and standard deviation divide by n − 1, so they need at least 2 values. The geometric mean is not calculated if any value is zero or negative.