Science, Tech, Math › Math How to Calculate a Sample Standard Deviation Share Flipboard Email Print ThoughtCo. Math Statistics Statistics Tutorials Formulas Probability & Games Descriptive Statistics Inferential Statistics Applications Of Statistics Math Tutorials Geometry Arithmetic Pre Algebra & Algebra Exponential Decay Worksheets By Grade Resources By Courtney Taylor Courtney Taylor Professor of Mathematics Ph.D., Mathematics, Purdue University M.S., Mathematics, Purdue University B.A., Mathematics, Physics, and Chemistry, Anderson University Courtney K. Taylor, Ph.D., is a professor of mathematics at Anderson University and the author of "An Introduction to Abstract Algebra." Learn about our Editorial Process Updated on February 12, 2020 A common way to quantify the spread of a set of data is to use the sample standard deviation. Your calculator may have a built-in standard deviation button, which typically has an sx on it. Sometimes it’s nice to know what your calculator is doing behind the scenes. The steps below break down the formula for a standard deviation into a process. If you're ever asked to do a problem like this on a test, know that sometimes it’s easier to remember a step-by-step process rather than memorizing a formula. After we look at the process, we will see how to use it to calculate a standard deviation. The Process Calculate the mean of your data set. Subtract the mean from each of the data values and list the differences. Square each of the differences from the previous step and make a list of the squares. In other words, multiply each number by itself. Be careful with negatives. A negative times a negative makes a positive. Add the squares from the previous step together. Subtract one from the number of data values you started with. Divide the sum from step four by the number from step five. Take the square root of the number from the previous step. This is the standard deviation. You may need to use a basic calculator to find the square root. Be sure to use significant figures when rounding your final answer. A Worked Example Suppose you're given the data set 1, 2, 2, 4, 6. Work through each of the steps to find the standard deviation. Calculate the mean of your data set. The mean of the data is (1+2+2+4+6)/5 = 15/5 = 3.Subtract the mean from each of the data values and list the differences. Subtract 3 from each of the values 1, 2, 2, 4, 61-3 = -22-3 = -12-3 = -14-3 = 16-3 = 3Your list of differences is -2, -1, -1, 1, 3Square each of the differences from the previous step and make a list of the squares.You need to square each of the numbers -2, -1, -1, 1, 3Your list of differences is -2, -1, -1, 1, 3(-2)2 = 4(-1)2 = 1(-1)2 = 112 = 132 = 9Your list of squares is 4, 1, 1, 1, 9Add the squares from the previous step together. You need to add 4+1+1+1+9 = 16Subtract one from the number of data values you started with. You began this process (it may seem like a while ago) with five data values. One less than this is 5-1 = 4.Divide the sum from step four by the number from step five. The sum was 16, and the number from the previous step was 4. You divide these two numbers 16/4 = 4.Take the square root of the number from the previous step. This is the standard deviation. Your standard deviation is the square root of 4, which is 2. Tip: It’s sometimes helpful to keep everything organized in a table, like the one shown below. Mean Data Tables Data Data-Mean (Data-Mean)2 1 -2 4 2 -1 1 2 -1 1 4 1 1 6 3 9 We next add up all of the entries in the right column. This is the sum of the squared deviations. Next divide by one less than the number of data values. Finally, we take the square root of this quotient and we are done. Cite this Article Format mla apa chicago Your Citation Taylor, Courtney. "How to Calculate a Sample Standard Deviation." ThoughtCo, Aug. 27, 2020, thoughtco.com/calculate-a-sample-standard-deviation-3126345. Taylor, Courtney. (2020, August 27). How to Calculate a Sample Standard Deviation. Retrieved from https://www.thoughtco.com/calculate-a-sample-standard-deviation-3126345 Taylor, Courtney. "How to Calculate a Sample Standard Deviation." ThoughtCo. https://www.thoughtco.com/calculate-a-sample-standard-deviation-3126345 (accessed March 8, 2023). copy citation Watch Now: How to Add Fractions When you visit the site, Dotdash Meredith and its partners may store or retrieve information on your browser, mostly in the form of cookies. Cookies collect information about your preferences and your devices and are used to make the site work as you expect it to, to understand how you interact with the site, and to show advertisements that are targeted to your interests. You can find out more about our use, change your default settings, and withdraw your consent at any time with effect for the future by visiting Cookies Settings, which can also be found in the footer of the site. Cookies Settings Reject All Accept Cookies