Statistics

### What Do Subsets Mean in Statistics?

This article explains what subsets are in statistics and why they are important. You’ll learn about different types of subsets with formulas and examples for each.

#### Sarah Thomas

Subject Matter Expert

Skip to content## If you could change one thing about college, what would it be?

## What Is Standard Deviation?

##
When to Use the Sample or Population Standard Deviation

##
Sample Standard Deviation vs. Sample Variance

## How to Calculate a Sample Standard Deviation Step by Step

### STEP 1

### STEP 2

###
STEP 3

###
STEP 4

### STEP 5

###
STEP 6

**Explore Outlier's Award-Winning For-Credit Courses**

## Related Articles

### What Do Subsets Mean in Statistics?

#### Sarah Thomas

### Set Operations: Formulas, Properties, Examples & Exercises

#### Sarah Thomas

### Definite Integrals: What Are They and How to Calculate Them

#### Rachel McLean

## Your Best. Semester. Ever! Start strong with 2-for-1 courses.

## Hurry, lock in our lowest tuition ever + get your $0 degree!

See if I qualify## Get a head start on your degree: 2-for-1 College Courses

## Get 2-for-1 on the world’s best online college courses

## Start 2023 Strong With a Free College Course

Outlier Articles Home# Sample Standard Deviation: What is It & How to Calculate It

## Sarah Thomas

Statistics

12.15.2021 • 5 min read

Subject Matter Expert

This article is a guide on sample standard deviation, including concepts, a step-by-step process to calculate it, and a list of examples.

In This Article

**Standard deviation** measures the spread of data relative to its mean. You can think of standard deviation as the average distance between a single data point and the mean. A large standard deviation shows that data is more widely dispersed about the mean, and a small standard deviation shows that data are tightly clustered around the mean. You can calculate standard deviation by taking the square root of the variance.

In statistics, a population refers to the entire set of objects or events being studied, and a sample is a subset of the population. As an example, imagine you are studying national elections in the United States. Your population of interest consists of every single eligible voter across the 50 states. Because you can’t collect data for the entire population, you draw random samples (subsets) of voters and make inferences about the population from these samples. Sometimes statisticians have data for an entire population. Most of the time, however, they have to work with samples.

When you are dealing with population data and want to calculate a standard deviation, use the population standard deviation formula given above. A population standard deviation is denoted by the lowercase Greek letter sigma, 𝞂.

When you are dealing with sample data and want to calculate a standard deviation, use the sample standard deviation formula given above. A sample standard deviation is denoted by the lowercase letter **s**.

We calculate standard deviation as the square root of the variance. This may cause you to wonder: why do we use standard deviation when we already have variance? Great question!

To answer this question, first notice that in both the equation for variance and the equation for standard deviation, you take the squared deviation (the squared distances) between each data point and the sample mean $(x_i-\bar{x})^2$. You do this so that the negative distances between the mean and the data points below the mean do not cancel out the positive distances between the mean and data points above it.

By squaring deviations, we convert each deviation into a positive number, and from there, you can measure average dispersion. There is a downside to doing this, though. By squaring the deviations, you square the units of the data as well. Imagine your data is measured in ounces. By taking squared deviations, you are now measuring the dispersion in your data in terms of ounces squared — a unit of measurement that is difficult to interpret.

Standard deviation is intended to be a standardized measure of dispersion. By taking the square root of the variance, we convert the statistic back into the same units as the data. Ounces, not ounces squared!

Say you have the following sample data for temperatures measured in degrees Fahrenheit. For simplicity, this sample just has four observations (n=4).

Using the formula for sample standard deviation, let’s go through a step-by-step example of how to find the standard deviation for this sample.

$s = \sqrt{\frac{\sum_{}^{}(x_i-\bar{x})^2}{n-1}}$

Calculate the sample mean x̅.

$\bar{x}=\frac{51+58+61+62}{4} = 58 \degree F$

Calculate the deviation between each data point and the sample mean $(x_i-\bar{x})$.

$51-58 = - 7$

$58-58 = 0$

$61-58 = 3°F$

$62-58 = 4°F$

Notice that there are both positive and negative deviations.

Square the deviations, $(x_i-\bar{x})^2$.

$\left(-7\right)^2=49$

$0^2 = 0$

$3^2 = 9$

$4^2 =16$

By squaring the deviations, we turn all of the deviations positive.

Sum the squared distances, $\sum(x_i-\bar{x})^2$.

$49+0+9+16 = 74$

Divide the sum of the squares by the number of data points minus one, $\dfrac{\sum(x_i-\bar{x})^2}{(n-1)}$.

Notice that this is the variance, $s^2$, and it is measured in degrees Fahrenheit squared!

Take the square root of the variance.

$s = \sqrt{\frac{\sum_{}^{}(x_i-\bar{x})^2}{n-1}} = \sqrt{24.6\bar{6}} = 4.97$

And there is your sample standard deviation. 4.97 °F.

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Check out these related courses:

Statistics

This article explains what subsets are in statistics and why they are important. You’ll learn about different types of subsets with formulas and examples for each.

Subject Matter Expert

Statistics

Here is an overview of set operations, what they are, properties, examples, and exercises.

Subject Matter Expert

Calculus

Knowing how to find definite integrals is an essential skill in calculus. In this article, we’ll learn the definition of definite integrals, how to evaluate definite integrals, and practice with some examples.

Subject Matter Expert

Earn 6 credits for ¼ the cost of traditional college and take this semester by storm! Backed by our risk-free guarantee. Offer expires soon.

By signing up for our email list, you indicate that you have read and agree to our __Terms of Use__ and __Privacy Policy__.

Apply by August 17th to start Degrees+ this Fall and guarantee the lowest tuition ever. See if you qualify for $0 college today.

Plus, skip the line with guaranteed admission to Degrees+ when you pass both courses. Backed by our risk-free guarantee. Offer expires soon.

By signing up for our email list, you indicate that you have read and agree to our __Terms of Use__ and __Privacy Policy__.

Plus, you’re guaranteed admission to Degrees+ when you pass both courses. Backed by our Risk-Free Guarantee, Offer expires soon.

By signing up for our email list, you indicate that you have read and agree to our __Terms of Use__ and __Privacy Policy__.

No joke—get any college course on us. Free. Simply complete an application to Degrees+ by Jan. 24th. Limited to the first 500 students. No commitment required.

Get started