{"id":8774,"date":"2021-04-01T15:10:00","date_gmt":"2021-04-01T13:10:00","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8774"},"modified":"2026-10-16T15:54:10","modified_gmt":"2026-10-16T13:54:10","slug":"formula-stdev-no-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/stdev-formula-in-google-sheets\/","title":{"rendered":"Como calcular o desvio padr\u00e3o no Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Standard deviation is one of the main measures of dispersion in a dataset. It shows the spread of the data by calculating the average distance of values to the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/mean-median-mode\/\">dataset\u2019s mean<\/a>, regardless of whether they are above or below it. In other words, a low standard deviation indicates that most of the values are close to the mean or average of the dataset, while a high value indicates that the values are spread out over a wider range. The formula used to calculate it is straightforward, but if you use a spreadsheet program like Microsoft Excel or Google Sheets, there are many built-in functions that will calculate it for you. In Google Sheets, the main one is <a href=\"https:\/\/support.google.com\/docs\/answer\/3094054\" target=\"_blank\" rel=\"noopener noreferrer\">STDEV<\/a>.<\/p>\n<p>In this guide, you will learn how to calculate standard deviation and review all the built-in functions available to calculate it for you in Google Sheets. You will learn the differences between the multiple versions of the STDEV function, like STDEVP, STDEVA, STDEVPA, DSTDEV, and DSTDEVP. You have step-by-step instructions on how to use the functions with different types of data and in combination with other functions.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-to-find-standard-deviation-in-google&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>How to find standard deviation in Google Sheets<\/h2>\n<p>To calculate the standard deviation of a sample, you can use the STDEV function. Values can be typed or in the form of cell references. The function can be used on single values or arrays. When using single values, there must be a minimum of two. The next section covers its exact syntax.<\/p>\n<h3>1. Add function<\/h3>\n<p>Type the STDEV function in an empty cell.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/standard-deviation-google-sheets-stdev-function.webp&#8221; alt=&#8221;Standard deviation in Google Sheets \u2014 STDEV typed in cell C2 next to the Test1 scores, with its syntax hint&#8221; title_text=&#8221;STDEV typed in cell C2 next to the Test1 scores, with its syntax hint&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>2. Select dataset<\/h3>\n<p>Type the values in your dataset, separated by commas. Alternatively, select the cells containing the values.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/standard-deviation-google-sheets-select-range.webp&#8221; alt=&#8221;Standard deviation in Google Sheets \u2014 STDEV with the Test1 score range in column A selected&#8221; title_text=&#8221;STDEV with the Test1 score range in column A selected&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3. Get standard deviation<\/h3>\n<p>Close the parenthesis and press \u2018Enter\u2019.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/standard-deviation-google-sheets-sample-result.webp&#8221; alt=&#8221;Standard deviation in Google Sheets \u2014 sample standard deviation of 18.93 in cell C2&#8243; title_text=&#8221;Sample standard deviation of 18.93 in cell C2&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;the-standard-deviation-formula-in-google&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>The standard deviation formula in Google Sheets<\/h2>\n<p>To calculate the standard deviation of a dataset, you need to sum the square of the differences between each value and the mean, then divide by the size of the dataset (population) or the size of the dataset minus one (sample). Finally, take the square root of the result.<\/p>\n<h3>Population standard deviation formula<\/h3>\n<p>The formula used to calculate the standard deviation for a population is as follows:<\/p>\n<blockquote>\n<p>\u03c3 = \u221a\u03a3( x<sub>i<\/sub> &#8211; \u03bc)^2\/N<\/p>\n<\/blockquote>\n<ul>\n<li><strong>\u03c3 =<\/strong> standard deviation of population<\/li>\n<li><strong>\u03a3 =<\/strong> sum<\/li>\n<li><strong>x<sub>i<\/sub> =<\/strong> each value in dataset<\/li>\n<li><strong>\u03bc =<\/strong> population mean<\/li>\n<li><strong>N =<\/strong> size of population<\/li>\n<\/ul>\n<h3>Sample standard deviation formula<\/h3>\n<p>To calculate the standard deviation for a sample of the population, use the following formula:<\/p>\n<blockquote>\n<p>s = \u221a\u03a3( x<sub>i <\/sub>&#8211; x\u0304)^2\/(n-1)<\/p>\n<\/blockquote>\n<ul>\n<li><strong>s =<\/strong> standard deviation of sample<\/li>\n<li><strong>\u03a3 =<\/strong> sum<\/li>\n<li><strong>x<sub>i <\/sub>=<\/strong> each value in sample<\/li>\n<li><strong>x\u0304<sub> <\/sub>=<\/strong> sample mean<\/li>\n<li><strong>n =<\/strong> size of sample<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>You don&#8217;t need to work through these by hand. In Google Sheets, STDEV applies the sample formula and STDEVP applies the population formula. This is the syntax of STDEV:<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.16&#8243; border_width_left=&#8221;4px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]=STDEV(value1, [value2, \u2026])[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<ul>\n<li><b>value1<\/b> \u2013 is the first value or reference to the range of the dataset.<\/li>\n<li><b>value2, \u2026<\/b> \u2013 [ OPTIONAL ] \u2013 are additional values or references to ranges that contain values you want to include in the dataset.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Four ways to enter values in STDEV<\/h3>\n<p>STDEV accepts typed numbers, cell references, ranges, or a mix of them. The snapshot below runs the same ten values through each option.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/04\/1.-STDEV-examples.png&#8221; alt=&#8221;Standard deviation formula in Google Sheets \u2014 four STDEV formulas using values, cell references, a range, and a mix, all returning 6.31&#8243; title_text=&#8221;Four STDEV formulas using values, cell references, a range, and a mix, all returning 6.31&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The first thing you\u2019ll notice is that in all four instances above, you get the same result. This makes sense, since I\u2019m using the same data each time. The point here is to demonstrate the different ways you can input data into the STDEV function.<\/p>\n<p>The first example takes direct numeric values and returns the calculated standard deviation. The second demonstrates that the STDEV formula is also capable of using references to cells that store numbers. In the third example, instead of sending multiple values or references, I\u2019ve entered a single range that contains all the values from A2 through A11. This is the easiest method, since you only have to input a single range. In the final example, I typed a combination of direct numeric values and range references.<\/p>\n<p>As you can see, regardless of the approach you take with the formula, the output will be the same.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Notes<\/h3>\n<ul>\n<li>STDEV returns an error if you type text directly as an argument. Text and empty cells inside a referenced range are ignored. To count text as zero, use STDEVA.<\/li>\n<li>This formula calculates the standard deviation for a sample. If you need to do it for a population instead, you can use the STDEVP formula.<\/li>\n<li>The formula may return a #DIV\/0! error if there are not at least two value arguments.<\/li>\n<li>If you\u2019re familiar with statistics, you\u2019ll know that standard deviation is just the square root of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Variance\" target=\"_blank\" rel=\"noopener\">variance<\/a>, another important metric in statistics. You can calculate this using the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/var-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener\">VAR<\/a> formula in Google Sheets. The image below illustrates this concept.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/04\/2.-STDEV-variance-example.png&#8221; alt=&#8221;Standard deviation formula in Google Sheets \u2014 SQRT(VAR(A2:A11)) and STDEV(A2:A11) both returning 6.31&#8243; title_text=&#8221;SQRT(VAR(A2:A11)) and STDEV(A2:A11) both returning 6.31&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;sample-vs-population-standard-deviation&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Sample vs population standard deviation: STDEV, STDEVA, STDEVP, and STDEVPA<\/h2>\n<p>The STDEV function calculates the standard deviation for datasets that constitute a sample of the population. STDEVP, however, calculates it for the population. The difference is in the formula&#8217;s denominator: N is used for a population, and n-1 for a sample.<\/p>\n<p>The choice between the two depends on the type of dataset you&#8217;re working with. If you have access to the data for the entire population, which isn&#8217;t often the case, you should use the population version of the formula. If you have a sample of the population, you should use the sample version. In addition to providing both formulas as built-in functions (STDEV for samples and STDEVP for populations), Google Sheets features some additional versions, all with the same syntax and parameters.<\/p>\n<p>For example, both formulas are also available as database functions: DSTDEV and DSTDEVP. Like <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/dsum-formula-google-sheets\/\">DSUM<\/a>, these functions work with data structured as database-like tables.<\/p>\n<p>Finally, there is another version of these formulas to be used on datasets that may contain text values in some cells, such as a dash or other characters to represent zero. The STDEVA and STDEVPA functions assume that cells with text are equal to a value of 0.<\/p>\n<p>Below, you have examples using STDEV vs. STDEVP, STDEVA vs. STDEVPA, and DSTDEV vs. DSTDEVP to find the standard deviation for different datasets.<\/p>\n<h3>STDEV vs. STDEVP<\/h3>\n<p>In the example below, I will calculate the population and sample standard deviation for the same dataset to illustrate the difference. The dataset contains changes in price over a year for two vendors selling four different products. I will calculate the standard deviation for each product and vendor.<\/p>\n<p><strong>1. <\/strong>In an empty cell, type the STDEV function and select the first set of values.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/stdev-vs-stdevp-google-sheets-vendor-prices.webp&#8221; alt=&#8221;STDEV vs. STDEVP in Google Sheets \u2014 STDEV typed under the monthly prices of Vendor1 Product1&#8243; title_text=&#8221;STDEV typed under the monthly prices of Vendor1 Product1&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2. <\/strong>Press \u2018Enter\u2019 to see the result. Grab the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/fill-down-google-sheets\/\">fill handle<\/a> and drag it right to the last column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/sample-standard-deviation-google-sheets-stdev-row.webp&#8221; alt=&#8221;Sample standard deviation in Google Sheets \u2014 STDEV results for all eight vendor products in row 15&#8243; title_text=&#8221;STDEV results for all eight vendor products in row 15&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3. <\/strong>In the row beneath, I have repeated steps 1 and 2 with the STDEVP function to see the difference.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/population-standard-deviation-google-sheets-stdevp.webp&#8221; alt=&#8221;Population standard deviation in Google Sheets \u2014 STDEVP row under STDEV, with slightly lower values&#8221; title_text=&#8221;STDEVP row under STDEV, with slightly lower values&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>STDEVA vs. STDEVPA<\/h3>\n<p>Below, I will calculate the standard deviations for three tests. Since some of the cells contain dashes to indicate that the student missed the test, I will use STDEVA and STDEVPA so they are converted to zeroes.<\/p>\n<p><strong>1. <\/strong>In an empty cell, type the STDEVA function and select the first set of values.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/stdeva-google-sheets-test-scores.webp&#8221; alt=&#8221;STDEVA in Google Sheets \u2014 STDEVA on the Test1 scores, where dashes mark missed tests&#8221; title_text=&#8221;STDEVA on the Test1 scores, where dashes mark missed tests&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2. <\/strong>Press \u2018Enter\u2019 to see the result. Grab the fill handle and drag it right to the last column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/stdeva-google-sheets-results.webp&#8221; alt=&#8221;STDEVA in Google Sheets \u2014 results of 27.25, 26.95 and 24.90 for the three tests&#8221; title_text=&#8221;Results of 27.25, 26.95 and 24.90 for the three tests&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3. <\/strong>In the row beneath, repeat steps 1 and 2 with the STDEVPA function to see the difference. For Test1, STDEVPA returns 26.56, a little lower than the 27.25 that STDEVA gives.<\/p>\n<h3>DSTDEV vs. DSTDEVP<\/h3>\n<p>For this last example, I will use the database functions DSTDEV and DSTDEVP. To use these functions, you need to structure your data in tabular form. The first row should contain the headers of field labels, and subsequent rows should contain individual records. With these functions, cells containing text characters will be ignored, not replaced by zeroes.<\/p>\n<p><strong>1. <\/strong>Set up the criteria array for the function as shown below. In this case, I want to include all IDs, so I will leave the second row empty in the criteria array.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/dstdev-google-sheets-criteria-array.webp&#8221; alt=&#8221;DSTDEV in Google Sheets \u2014 criteria array with the ID header in F1 and an empty cell below it&#8221; title_text=&#8221;Criteria array with the ID header in F1 and an empty cell below it&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2. <\/strong>In an empty cell, type the DSTDEV function and select the table, including the headers.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/dstdev-google-sheets-select-database.webp&#8221; alt=&#8221;DSTDEV in Google Sheets \u2014 DSTDEV with the table A1:D21 selected, headers included&#8221; title_text=&#8221;DSTDEV with the table A1:D21 selected, headers included&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3. <\/strong>Add a comma followed by the header or field label for the column you want. In this case, the \u2018Test1\u2019 column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/dstdev-google-sheets-field-label.webp&#8221; alt=&#8221;DSTDEV in Google Sheets \u2014 Test1 field label added, with the database, field, criteria hint&#8221; title_text=&#8221;Test1 field label added, with the database, field, criteria hint&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4. <\/strong>Finally, select the cells containing the criteria array and close the parenthesis.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/dstdev-google-sheets-criteria-range.webp&#8221; alt=&#8221;DSTDEV in Google Sheets \u2014 criteria range F1:F2 added to finish the formula&#8221; title_text=&#8221;Criteria range F1:F2 added to finish the formula&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5. <\/strong>Press Enter to see the result: 16.84 for Test1. Repeat steps 2 to 5 with the DSTDEVP function to get the population value, which is 16.36.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;conclusion&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Conclusion<\/h2>\n<p>Calculating standard deviation in Google Sheets is very easy. Higher standard deviation values indicate that the data is spread out, while a lower standard deviation indicates that the values are centered around the mean or average of the dataset. Remember that the value obtained for the standard deviation will vary depending on whether you use the sample or population formula. The standard deviation for a sample will be higher, as it is calculated over n-1, not N.<\/p>\n<p>You now know the formulas used to find the standard deviation for a sample and a population, but you also know that Google Sheets provides multiple versions of the formulas as built-in functions. You have step-by-step instructions on how to find the sample and population standard deviations using STDEV and STDEVP. If some of the cells in your dataset contain text characters that represent zeroes, you can use STDEVA and STDEVPA to convert text values to zeroes. Finally, if your data is structured in a database-like table, you know how to use DSTDEV and DSTDEVP to find the standard deviation for a sample and a population.<\/p>\n<p>To check whether two sets of values move together, rather than how spread out one set is, use the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/correlation-formula-google-sheets\/\">CORREL function in Google Sheets<\/a>. And if your data is spread across several spreadsheets, Sheetgo, an AI-powered data automation platform, can bring it into one sheet on a schedule, so your standard deviation updates as new numbers arrive.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Standard deviation is one of the main measures of dispersion in a dataset. It shows the spread of the data by calculating the average distance of values to the dataset\u2019s mean, regardless of whether they are above or below it. In other words, a low standard deviation indicates that most of the values are close [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":33453,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"We carry out most of our data analysis tasks on spreadsheets applications. And we will need to arrive at some key statistical metrics to understand the nature of the dataset. Standard deviation is one such metric that helps us quantify the amount of variation or dispersion of a set of data values. The <a href=\"https:\/\/support.google.com\/docs\/answer\/3094054\" target=\"_blank\" rel=\"noopener noreferrer\">STDEV<\/a> formula in Google Sheets is ported for this purpose.\n<h3>Syntax<\/h3>\n<strong>STDEV(value1, [value2, ...])<\/strong>\n<ul>\n \t<li><strong>value1<\/strong> - is the first value or reference to the range of the dataset.<\/li>\n \t<li><strong>value2, ...<\/strong> - [ OPTIONAL ] - are the additional values or references to ranges that contain&nbsp;values we need to include in the dataset.<\/li>\n<\/ul>\n<h3>Usage: STDEV formula in Google Sheets<\/h3>\nNow that we know what the STDEV formula is for, let us try and apply this formula on a sample dataset to further reinforce our understanding. Please take a look at the following snapshot.\n\n<img class=\"aligncenter size-full wp-image-8810\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/STDEV-formula-Illustration-Frame-1.png\" alt=\"STDEV formula in Google Sheets\" width=\"863\" height=\"557\">\n\nBy any chance, if you are interested in reading through some literature as to how we usually calculate the standard deviation, here's the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Standard_deviation\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a> to it.\n\nThe first example consumes direct numeric values and returns the calculated variance. The second demonstrates that the STDEV formula is also capable of using references to cells that store numbers. In the third example, instead of sending multiple values or references, we have passed a single composite range. This composite cell range consists of all the values from A2 through A11. And, in the final example, we not only passed direct numeric values but also a couple range references. Therefore, regardless of the approach&nbsp;that we have taken with the formula, the output is same across all the examples.\n<h4>Notes<\/h4>\n<ul>\n \t<li>It is interesting to learn that the standard deviation is nothing but the square root of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Variance\" target=\"_blank\" rel=\"noopener noreferrer\">variance<\/a>, another important metric in statistics. And we can we can obtain using the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/var-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">VAR<\/a> formula in Google Sheets. Please see the image that illustrates this concept.<\/li>\n<\/ul>\n<p style=\"padding-left: 30px;\"><img class=\"aligncenter size-full wp-image-8811\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/STDEV-formula-Illustration-Frame-2.png\" alt=\"STDEV formula in Google Sheets\" width=\"863\" height=\"557\"><\/p>\n\n<ul>\n \t<li>STDEV will return an error in case any of the parameter values are strings.<\/li>\n \t<li>This formula calculates the standard deviation for a sample. If we need to do it for a population instead, we can use the STDEVP formula.<\/li>\n \t<li>The formula may return a #DIV\/0! error, if there are not at least two value arguments.<\/li>\n<\/ul>","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8774","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/8774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=8774"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/8774\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/33453"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=8774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=8774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=8774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}