How to Calculate Standard Deviation in Excel: Quick Guide (2024)

Download Article

Step-by-step tutorial for the STDEV functions

Explore this Article

Steps

Steps

Other Sections

Video

Tips and Warnings

Related Articles

References

Written byKyle Smith

Last Updated: June 27, 2023Fact Checked

Download Article

This wikiHow shows you how to find the standard deviation of a dataset in Microsoft Excel. Whether you’re studying for statistics, analyzing data at work, or just researching something for fun, calculating a standard deviation is essential. And, it’s pretty easy to do in Excel! There are built-in functions for calculating the standard deviation.

Things You Should Know

  • There are four functions for calculating standard deviation.
  • STDEV.P and STDEV.S cover most situations. Use STDEV.P for populations and STDEV.S for samples.
  • The function will calculate the standard deviation for a selected range of cells.

Steps

Download Article

  1. 1

    Enter the values you want to use. Pick a column in which you want to enter your data, then type each data value into individual cells in that column. Using Excel is a great way to organize and analyze your data.

    • For example, if you select column "A" as the area in which to enter your data, you might type a number into cell A1, cell A2, cell A3, and so on.
    • If needed, you can move columns in your spreadsheet to organize your data.
  2. 2

    Note this information about the different functions. There are four functions in Excel for calculating standard deviation. The functions differ in two ways:[1]

    • The selected function will either calculate the standard deviation for a sample (using n - 1) or a population (using n), where n is the sample size.
    • The selected function will include or exclude logical values (TRUE and FALSE) and text (numbers represented as text). TRUE is interpreted as a 1, while FALSE is 0.

    Advertisem*nt

  3. 3

    Choose a standard deviation function. Here are the four options for calculating standard deviation:

    • STDEV.P — Finds the standard deviation of a population. This function doesn’t include logical values or text.[2]
    • STDEV.S — Finds the standard deviation of a sample. This function doesn’t include logical values or text.[3]
    • STDEVA — Finds the standard deviation of a sample. This function does include logical values or text.[4]
    • STDEVPA — Finds the standard deviation of a population. This function does include logical values or text.[5]
    • There are also two outdated functions that have been replaced by the above functions. They are still present in Excel for backward compatibility reasons, but may be phased out in future versions.
      • STDEV — This function was replaced by STDEV.S. Finds the standard deviation of a sample. This function doesn’t include logical values or text.[6]
      • STDEVP — This function was replaced by STDEV.P. Finds the standard deviation of a population. This function doesn’t include logical values or text.[7]
  4. 4

    Click a blank cell. This should be the cell in which you want to display the standard deviation value. Doing so selects the cell.

  5. 5

    Type in the standard deviation function. In the cell you selected, enter the standard deviation function you want to use. Here is STDEV.S() as an example:

    • =STDEV.S()
  6. 6

    Add your value range. To do so:

    • In between the parentheses, type the letter and number of the cell containing your first data value.
    • Type a colon (:)
    • Type the letter and number of the last cell.
    • For example, if you entered your data in column "A" from rows 1 through 10, you would have =STDEV.S(A1:A10) typed here.
    • If you just want to display the standard deviation of the value of a few scattered cells such as A1, B3, and C5, you can type the cell names separated by commas (e.g., =STDEV.S(A1,B3,C5)).
  7. 7

    Press Enter. This will prompt Excel to run the formula, displaying the standard deviation of the selected cells in the formula's cell.

    • If you want to check your work, you can calculate the standard deviation by hand.
  8. Advertisem*nt

Community Q&A

Search

Add New Question

  • Question

    How do I use Excel to calculate 2 standard deviations?

    How to Calculate Standard Deviation in Excel: Quick Guide (11)

    Community Answer

    Use =STDEV(), and put your range of values in the parentheses. This can be 2 cells or 2 values (numbers).

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 36Helpful 30

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Video

      Tips

      • For more function information, check out how to use VLOOKUP and the IF function.

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      Advertisem*nt

      Warnings

      • The old =STDEV( ) formula doesn't work in versions of Excel older than 2007.

        Thanks

        Helpful0Not Helpful0

      Advertisem*nt

      About This Article

      How to Calculate Standard Deviation in Excel: Quick Guide (13)

      Written by:

      Kyle Smith

      wikiHow Technology Writer

      This article was co-authored by wikiHow staff writer, Kyle Smith. Kyle Smith is a wikiHow Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo. This article has been viewed 514,307 times.

      How helpful is this?

      Co-authors: 7

      Updated: June 27, 2023

      Views:514,307

      Categories: Microsoft Excel

      In other languages

      Spanish

      Chinese

      Russian

      French

      Indonesian

      Dutch

      Korean

      Arabic

      Thai

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 514,307 times.

      Is this article up to date?

      How to Calculate Standard Deviation in Excel: Quick Guide (2024)
      Top Articles
      Latest Posts
      Article information

      Author: Clemencia Bogisich Ret

      Last Updated:

      Views: 6250

      Rating: 5 / 5 (80 voted)

      Reviews: 87% of readers found this page helpful

      Author information

      Name: Clemencia Bogisich Ret

      Birthday: 2001-07-17

      Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

      Phone: +5934435460663

      Job: Central Hospitality Director

      Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

      Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.