Welcome to the standard error calculator, also known as the standard error of the mean (SEM) calculator. This is a great tool that helps you estimate the standard error of the mean of any dataset in the blink of an eye.
If you've studied statistics at all, you've probably already heard of the mean, median, and mode, but do you know how to calculate the standard error? If not - this is the right place to begin!
In the article below, you can also find the equation of the standard error of the mean, as well as a comparison of standard error vs. standard deviation. There is no time to waste, let's go!
What is a standard error?
To learn how to find a standard error, we first need to ask ourselves standard error of what?
In statistics, we can estimate the standard error of any parameter - a mean, a proportion, a difference of means, and many many more. Typically, if someone wants to know how to calculate standard error, it's the standard error of the mean, or SEM for short.
Great! So then, why do we want to know how to find the standard error?
Ideally, we should measure everybody, one by one, and, eventually, we would get a precise, well-defined number. In practice, however, it's impossible from a time, money, and technical point of view, so we need to estimate such a value.
One approach is to take a relatively small group of people (a sample) and find their average height. It's almost certain that it won't be precisely the same as the one for the whole country, but we should be able to say that there is a high probability that the real result is within a range of values that we evaluated using the standard error. That's an example of a situation where this SEM calculator comes in handy!
Standard error formula
The equation of the standard error of the mean in its most compact form is:
√(∑(xᵢ - x̄)² / [N * (N - 1)],
xᵢis the ith measure;
x̄(x-bar) stands for the mean value of our dataset; and
Nis the number of data points.
To get familiar with the standard error formula, it's a good practice to follow these steps:
Evaluate the mean value (
x̄). It's usually the arithmetic average.
Find the differences
xᵢ - x̄for every point.
Square the differences for each of the points separately,
(xᵢ - x̄)².
Add up all of the squared differences
∑(xᵢ - x̄)².
Divide the sum by the product
N * (N - 1).
As you can see, estimating the standard error of the mean for multiple points by hand can be really time-consuming. In such cases, it's always a good idea to use our standard error calculator, and you'll also avoid any mistakes!
Standard error vs. standard deviation
In statistics, the standard deviation tells us about the variability of the respective measures from the mean. So what is the difference between standard deviation and standard error then?
Simply speaking, the standard deviation is a parameter of a population (or a sample), while the standard error is an estimation of a particular value. In general, we can compute the standard error of any statistical value, but, in most cases, we want to find the standard error of the mean.
To compare standard error vs. standard deviation, let's take a look at their formulas:
standard deviation = √(σ²) = σ = ∑(xᵢ - μ)² / Nfor a population, where
σ²is the variance of the set; or
standard deviation = √(s²) = s = ∑(xᵢ - x̄)² / (N-1)for a sample, where
s²is the estimate of the variance.
standard error of the mean = s/√N = ∑(xᵢ - x̄)² / (N*(N-1)).
x̄ stand for the mean and a sample mean, respectively.
In other words, we can say that SEM tries to estimate the mean value of the whole population within a certain margin of error.
Take a look at an example:
We want to estimate the average height of students in a school (a population). We take a group of 12 random pupils (a sample), whose heights (in cm) are
The average height of this sample is
x̄ = 179.5. Using our SEM calculator, you can find that the standard error of the mean equals
SEM = 1.88. It tells us that the (real) mean height of students in this school is most likely between
181.38 (which is
179.5 ± 1.88).
At the same time, the standard deviation of this sample is
s = 6.52. This means that we can expect that the majority of students' heights (roughly 70%) to lie within the range
[172.98, 186.02] (that is
179.5 ± 6.52).
How to find a standard error of the mean?
Let's say we have a set of ten different values related to the weight of balls taken randomly from a production line. The numbers are:
[5.5, 5.8, 6.1, 5.4, 5.5, 5.4, 5.9, 5.6, 5.9, 5.5]. The question is: what is the standard error of the mean for these measures? Let's do it step by step:
Work out the mean value of this set.
x̄ = (5.5+5.8+6.1+5.4+5.5+5.4+5.9+5.6+5.9+5.5) / 10 = 56.6/10 = 5.66.
Calculate the difference between every number and the mean (
xᵢ - x̄):
[-0.16, 0.14, 0.44, -0.26, -0.16, -0.26, 0.24, -0.6, 0.24, -0.16].
[0.0256, 0.0196, 0.1936, 0.0676, 0.0256, 0.0676, 0.0576, 0.0036, 0.0576, 0.0256].
Sum them up:
0.0256 + 0.0196 + 0.1936 + 0.0676 + 0.0256 + 0.0676 + 0.0576 + 0.0036 + 0.0576 + 0.0256 = 0.544.
Make a fraction from this value and
0.544 / 90 = 0.0060.
Compute the square root of the latter, resulting in the standard error of the mean:
SEM = √0.0060 = 0.078.
We can also write that our estimated mean in the form
x̄ = 5.660 ± 0.078, taking two significant figures into account.
You can always check the result with our standard error calculator!
By the way, have you heard about the skewness or mean absolute deviation? These are other parameters you can find while working with statistical data. Each of them carries additional information about your numbers!