Standard Error Calculator
The sample standard deviation, n and the standard error s ÷ √n for a series you paste.
What the standard error calculator does
It computes the mean, the sample standard deviation and the standard error of the mean. The sample s uses the n − 1 divisor, s = √(Σ(x − x̄)² ÷ (n − 1)), and the standard error is that s divided by √n. The series 2, 4, 4, 4, 5, 5, 7, 9 has n = 8, a mean of 5, s = 2.138089935 and a standard error of 0.755928946.
The divisor is stated rather than implied: a sample s divides by n − 1, and the standard error of the mean divides by the square root of n. Because each input line is one observation, a series with a single value is refused — there is no sample deviation to divide — and the page names the one value you entered.
Every line is printed so the answer can be followed back: n, the mean and s are all on the page, and s ÷ √n can be checked by hand. A value that is not a number is refused with its line number, and a series longer than 100 000 values is refused with the count.
Figures print to ten significant figures with trailing zeros trimmed.
How to use it
Paste your data into the text box, one value per line; blank lines are skipped.
Press Run. The result prints n, the mean, the sample standard deviation and the standard error.
Worked example
Input with the default series:
2
4
4
4
5
5
7
9
Output:
n: 8
Mean: 5
Sample s: 2.138089935 (÷ n − 1)
Standard error: 0.755928946 (s ÷ √n)
Why it runs in your browser
The deviations are summed in this tab. Your data is never uploaded and nothing is stored.
The page computes the mean, the sample standard deviation and the standard error of that mean. The series 2, 4, 4, 4, 5, 5, 7, 9 has eight values, a mean of 5, a sample s of 2.138089935 and a standard error of 0.755928946.
The sample deviation divides by n − 1 and the standard error divides by the square root of n. Both steps are printed, so the answer can be followed back to the data rather than taken on trust.
A single value is refused by name: with one observation there is no sample deviation to divide, and a page that printed a number there would be hiding the problem.
What the standard error describes
The standard deviation describes how far the observations sit from their mean. The standard error describes how far a mean computed from this many observations is likely to sit from the mean of the wider population, which is a statement about the estimate rather than about the data.
That is why it shrinks with the square root of n: four times the observations halve the standard error, and a hundred times the observations divide it by ten. The page prints n beside the answer so the reader can see how much of the narrowness comes from the sample size.
The divisor, and the refusal at one value
A sample s divides the squared deviations by n − 1, which is the unbiased convention this page uses; the population divisor is n and belongs to a series that is the whole population. The page states the sample divisor on the answer line because a second convention would otherwise be indistinguishable from this one.
With one value the squared deviations sum to zero and n − 1 is zero, so the division has no value. The page refuses that case by naming the single observation, and it refuses a series longer than 100 000 values with the count.
How to use Standard Error Calculator
Paste your data into the text box, one value per line; blank lines are skipped.
The text box takes any number of values up to the cap, and a line that is not a number is reported with its line number.
Press Run. The result prints n, the mean, the sample standard deviation and the standard error.
What to Expect
Best for
- Reporting the precision of a measured mean
- Checking a statistics exercise's standard error
- Seeing how n changes the standard error
Not ideal for
- A confidence interval, which needs a critical value this page does not choose
- A weighted or clustered sample, which needs a different formula
- A population deviation, which uses the n divisor
What this tool keeps
- The values you pasted and their count
- The mean and s, so the standard error can be recomputed
What may need cleanup
- Values separated by commas, which have to become one per line
- A series with a non-numeric header row, which has to be removed
Common errors
- Confusing the standard deviation with the standard error
- Entering a summary (a mean and an s) instead of the observations
Example use cases
- Reporting a lab measurement's precision
- Checking a textbook answer
- Comparing the standard error at two sample sizes
Sample input
The eight values 2, 4, 4, 4, 5, 5, 7, 9, one per line.
Sample output
n = 8, mean 5, sample s 2.138089935, standard error 0.755928946.
Who this is for
- Students and researchers reporting a mean
- Anyone checking a standard error by hand
Frequently asked questions
Is the standard error the same as the standard deviation?
No. The standard deviation describes the spread of the observations; the standard error describes the uncertainty of their mean. For the same data the standard error is smaller by a factor of √n.
Why does it divide by n − 1?
The n − 1 divisor is the sample convention, which makes the variance estimate unbiased. The page states it on the answer line so the figure can be matched to the convention your field uses.
Why is one value refused?
A sample deviation with one observation divides by zero, and a standard error of a single value is not defined either. The page names the single value rather than printing a zero or an infinity.
Can I paste commas instead of new lines?
No. The page reads one value per line, so a comma-separated list is one line that is not a number and is refused with its line number. Replace the commas with line breaks first.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.