EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 250+ Courses All in One Bundle
  • Login

Sample Standard Deviation Formula

By Madhuri ThakurMadhuri Thakur

Home » Finance » Blog » Finance Formula » Sample Standard Deviation Formula

Sample Standard Deviation Formula

Sample Standard Deviation Formula (Table of Contents)

  • Formula
  • Examples

Sample Standard Deviation Formula

In statistics, the standard deviation is basically a measure to find the dispersion of the data set values from the mean value of the data set. It measures the distance of that data point and the mean. So higher the standard deviation, the higher will be the dispersion, and data points will tend to far from the mean. Similarly, a lower standard deviation means that data points will be closer to the mean. It is very useful in comparing data sets which may have the same mean value but a different range.

Start Your Free Investment Banking Course

Download Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

Usually, calculate the standard deviation of population data, but sometimes population data is so huge that it is not possible to find the standard deviation for that. In that case, sample standard deviation is calculated, which will represent population standard deviation. So we will assume that the sample is the correct representation of the population and will focus on sample standard deviation in this article.

Suppose you have a data set X with data points {X1, X2……..Xn}.

The formula for population standard deviation is given by:

Population Standard Deviation = √ [Σ (Xi – Xm)2 / n ]

In case you are not given the entire population and only have a sample (Let’s say X is the sample data set of the population), then the formula for sample standard deviation is given by:

Sample Standard Deviation = √ [Σ (Xi – Xm)2 / (n – 1)]

Where:

  • Xi – ith value of data set
  • Xm– Mean value of data set
  • n – Total number of data points

The formula may look confusing at first, but it is really to work on. Following are the steps which can be followed to calculate sample standard deviation:

  • Find the number of points in the data set, i.e. n.
  • Then the next step is to find the mean value of the sample. It is basically the average of all the values.
  • After that, for each data point, find the difference of that from the mean and then square it.
  • Take the sum of all the values in the above step and divided that by n-1.
  • The last step is to take the square root of the number calculated above.

There is another way to calculate population and standard deviation simply by using the STDEV.P () function for population standard deviation and STDEV.S () function for sample standard deviation in excel.

Popular Course in this category
Sale
All in One Financial Analyst Bundle - 250+ Courses, 40+ Projects250+ Online Courses | 1000+ Hours | Verifiable Certificates | Lifetime Access
4.9 (3,296 ratings)
Course Price

View Course

Related Courses
Finance for Non Finance Managers Course (7 Courses)Investment Banking Course (122 Courses, 25+ Projects)Financial Modeling Course (5 Courses, 14 Projects)

Examples of Sample Standard Deviation Formula (With Excel Template)

Let’s take an example to understand the calculation of the Sample Standard Deviation in a better manner:

You can download this Sample Standard Deviation Formula Excel Template here – Sample Standard Deviation Formula Excel Template

Sample Standard Deviation Formula – Example #1

Let’s say we have two sample data sets, A & B, and each contains 20 random data points and have the same mean. Calculate the Sample Standard Deviation for the data set A & B. 

Example 1-1

Solution: 

Mean is calculated as:

Calculation of Mean Example 1-2

  • Mean of Data Set A = 51.25
  • Mean of Data Set B = 51.25

Now, we need to calculate the difference between the data points and the mean value.

Sample Standard Deviation Formula Example 1-3

Similarly, calculate for all the data set of A.

Sample Standard Deviation Formula Example 1-4

Similarly, calculate it for data set B also.

Sample Standard Deviation Formula Example 1-5

Calculate the square of the difference for both the data sets A and B.

Square of differences Example 1-6

Sample Standard Deviation is calculated using the formula given below:

Sample Standard Deviation = √ [Σ (Xi – Xm)2 / (n – 1)]

Sample Standard Deviation Formula Example 1-7

So if you see here, although both the data sets have the same mean value, B has a more standard deviation than A, which means that data points of B are more dispersed than A.

Sample Standard Deviation Formula – Example #2

Let say you are a very risk-averse investor and you looking to invest money in the stock market. Since your risk appetite is low, you want to invest in safe stocks which have a lower standard deviation. Your financial advisor has suggested to you 4 stocks from which you can choose. You want to select 2 stocks among those 4, and you will decide that on the basis of lower standard deviation.

You have got information on their historical returns for the last 15 years.

Example 2-1

Solution:

Sample Standard Deviation is calculated using the excel formula:

Sample Standard Deviation Formula Example 2-2

Based on the information and sample standard deviation, you will choose stock Y and Z to invest in since they have the lowest standard deviation.

Explanation

We discuss the meaning of standard deviation from a statistical standpoint, but it also plays a vital role if we talk about a financial point of view. It is basically the measure of risk an investment carries and how risky that investment is in finance. Based on the risk an investment has, investors can then calculate the minimum return they require to compensate for that risk.

As in the above example, since Y and Z have a lesser standard deviation, it means that there is less variability in the return of these stocks, so they are less riskier. One point while using the standard deviation tool we need to keep in mind that it is highly affected by the extreme values or outliers. These outliers can skew the standard deviation value.

Relevance and Uses of Sample Standard Deviation Formula

Standard deviation helps the investors and analysts to find the risk and reward ratio or Sharpe ratio for an investment. Basically, anyone can earn a risk-free rate of return by investing in Treasury and risk-free securities. But return over and above this is the excess return and to achieve that, what is the level of risk one needs to take is a measure of Sharpe ratio:

Sharpe Ratio = (Return on Investment – Risk Free Rate) / Standard Deviation

So as to the higher the Sharpe ratio, the better is the investment.

As we said, the standard deviation is a measure of risk, but a lower standard deviation value is not always preferred. If an investor has a higher risk appetite and wants to invest more aggressively, he will be willing to take more risk and prefer a relatively higher standard deviation than a risk-averse investor. So it all depends on what level of risk an investor is willing to take.

Recommended Articles

This has been a guide to Sample Standard Deviation Formula. Here we discuss how to calculate the Sample Standard Deviation along with practical examples and a downloadable excel template. You may also look at the following articles to learn more –

  1. Examples of Population Variance Formula
  2. Calculator For Relative Standard Deviation
  3. How to Calculate Standard Normal Distribution?
  4. Calculation of Binomial Distribution

All in One Financial Analyst Bundle (250+ Courses, 40+ Projects)

250+ Online Courses

1000+ Hours

Verifiable Certificates

Lifetime Access

Learn More

1 Shares
Share
Tweet
Share
Primary Sidebar
Finance Blog
  • Finance Formula
    • Fixed Asset Turnover Ratio Formula
    • Deferred Annuity Formula
    • Capital Investment Formula
    • Ratio Analysis Formula
    • Loss Ratio Formula
    • Benefit-Cost Ratio Formula
    • Probability Distribution Formula
    • Cash Conversion Cycle Formula
    • Accrued Income
    • DCF Excel summary
    • Price to Earning Ratio Formula
    • Current Yield of Bond Formula
    • Earnings Per Share Formula
    • Manufacturing Overhead Formula
    • FCFF Formula
    • Predetermined Overhead Rate Formula
    • Times Interest Earned Ratio Formula
    • Bank Efficiency Ratio Formula
    • Capital Expenditure Formula
    • Expense Ratio Formula
    • WACC Formula
    • Activity Ratio Formula
    • Standard Error Formula
    • Forward Rate Formula
    • Gearing Formula
    • Prime Cost Formula
    • Productivity Formula
    • t-Test Formula
    • Risk Free Rate Formula
    • Tax Shield Formula
    • Sortino Ratio
    • Reserve Ratio Formula
    • Bond Formula
    • Annualized Rate of Return Formula
    • Conditional Probability Formula
    • Financing Formula
    • Future Value of an Annuity Formula
    • For Profit vs Non Profit
    • Deadweight Loss Formula
    • Inflation Formula
    • Amortized Loan Formula
    • Horizontal Analysis Formula
    • Marginal Utility Formula
    • Kurtosis Formula
    • Macaulay Duration Formula
    • Multiplier Formula
    • Modified Duration Formula
    • Operating Leverage Formula
    • Payout Ratio Formula
    • Statistics Formula
    • Sampling Error Formula
    • Trend Analysis Formula
    • Taylor Rule Formula
    • Put Call Parity Formula
    • Annual Return Formula
    • Discount Rate Formula
    • Cash Flow Formula
    • Dilution Formula
    • Attrition Formula
    • Operating Expense Formula
    • Interpolation Formula
    • Annuity Due Formula
    • Bond Yield Formula
    • Turnover Ratio Formula
    • Efficiency Formula
    • Revenue Per Employee
    • Regression Line Formula
    • Yield to Maturity
    • Pearson Correlation Coefficient Formula
    • Accounting Formula
    • Fiscal Deficit Formula
    • Tax Multiplier Formula
    • Efficiency Ratio Formula
    • Demand Elasticity Formula
    • Gross Margin Formula
    • Elasticity Formula
    • Marginal Benefit Formula
    • Depreciation Formula
    • Cost-Benefit Analysis Formula
    • Percentage Change Formula
    • Levered Beta Formula
    • Shares Outstanding Formula
    • Capital Gain Formula
    • Convexity Formula
    • Gross Income Formula
    • Net Exports Formula
    • Producer Surplus Formula
    • Accounting Rate of Return Formula
    • Net Cash Flow Formula
    • Labor Force Participation Rate Formula
    • Moving Average Formula
    • Net Worth Formula
    • Accounting Profit Formula
    • Disposable Income Formula
    • Discount Formula
    • Average Variable Cost Formula
    • Total Variable Cost Formula
    • Product Cost Formula
    • Marginal Product Formula
    • Break-Even Sales Formula
    • Return on Sales Formula
    • Cost of Goods Manufactured Formula
    • Average Fixed Cost Formula
    • Stock Turnover Ratio Formula
    • Operating Ratio Formula
    • Equity Ratio Formula
    • Net Present Value Formula
    • Aggregate Demand Formula
    • Volatility Formula
    • Marginal Product of Labor Formula
    • Z Test Statistics Formula
    • Standard Cost Formula
    • Velocity of Money Formula
    • Invested Capital Formula
    • Unlevered Beta Formula
    • Bank Reconciliation Formula
    • Portfolio Return Formula
    • Central Tendency Formula
    • Accumulated Depreciation Formula
    • Intrinsic Value Formula
    • Decile Formula
    • Vector Cross Product Formula
    • Effective Annual Rate Formula
    • CAGR Formula
    • Mode Formula
    • Arithmetic Mean Formula
    • Real GDP Formula
    • Gini Coefficient Formula
    • Expected Value Formula
    • Price Elasticity of Supply Formula
    • Net Operating Income Formula
    • Profit Percentage Formula
    • GDP Per Capita Formula
    • Altman Z Score
    • Quartile Deviation Formula
    • Return on Capital Employed Formula
    • Consumer Price Index Formula
    • Economic Profit Formula
    • Market Share Formula
    • Real Interest Rate Formula
    • Income Elasticity of Demand Formula
    • Income From Operations Formula
    • Indexation Formula
    • Sales Formula
    • Money Multiplier Formula
    • GDP Deflator Formula
    • Residual Income Formula
    • Effective Interest Rate Formula
    • Coupon Bond Formula
    • Current Account Formula
    • Total Cost Formula
    • Total Expense Ratio Formula
    • Net Sales Formula
    • Percentage Decrease Formula
    • Uncertainty Formula
    • Nominal GDP Formula
    • Effect Size Formula
    • Delta Formula
    • Cost of Sales Formula
    • Fixed Cost Formula
    • Unemployment Rate Formula
    • Present Value of Annuity Formula
    • Compounding Formula
    • Geometric Distribution Formula
    • National Income Formula
    • Accounts Receivables Turnover Formula
    • Integer Formula
    • Ending Inventory Formula
    • Owner's Equity Formula
    • Capacity Utilization Rate Formula
    • Interest Formula
    • Nominal Interest Rate Formula
    • Risk Premium Formula
    • Interest Coverage Ratio Formula
    • Gross Profit Margin Formula
    • Diluted EPS Formula
    • Return On Average Equity Formula
    • Return on Average Assets Formula
    • Working Capital Formula
    • Revenue Per Employee Ratio Formula
    • Capital Employed Formula
    • Rule of 72 Formula
    • Inventory Turnover Ratio Formula
    • Preferred Dividend Formula
    • Retention Ratio Formula
    • Present Value Factor Formula
    • Equity Multiplier Formula
    • Continuous Compounding Formula
    • Return on Assets (ROA) Formula
    • Portfolio Variance Formula
    • Weighted Average Formula
    • Net Working Capital Formula
    • Tax Equivalent Yield Formula
    • Poisson Distribution Formula
    • Current Ratio Formula
    • Debt Ratio Formula
    • Quick Ratio Formula
    • Payback Period Formula
    • Marginal Cost Formula
    • Debt to Income Ratio Formula
    • Book Value Per Share Formula
    • Asset Turnover Ratio Formula
    • Perpetuity Formula
    • Bid-Ask Spread Formula
    • Price to Book Value Formula
    • Capital Gains Yield Formula
    • Net Profit Margin Formula
    • DuPont Formula
    • Bond Pricing Formula
    • Binomial Distribution Formula
    • Sustainable Growth Rate Formula
    • Average Collection Period Formula
    • Net Income Formula
    • CAPM Formula
    • Cost of Goods Sold Formula
    • Economic Order Quantity (EOQ) Formula
    • Amortization Formula
    • Enterprise Value Formula
    • Beta Formula
    • Cost of Equity Formula
    • Rate of Return Formula
    • Revenue Formula
    • Markup Price Formula
    • Cash Flow from Operations Formula
    • Simple Interest Rate Formula
    • Consumer Surplus Formula
    • Asset to Sales Ratio Formula
    • Debt Service Coverage Ratio Formula
    • Capitalization Rate Formula
    • Cost of Debt Formula
    • Straight Line Depreciation Formula
    • Variable Costing Formula
    • Return on Invested Capital Formula
    • Profitability Index Formula
    • Expected Return Formula
    • Cost of Capital Formula
    • Price Index Formula
    • Average Total Cost Formula
    • Discount Factor Formula
    • Price Elasticity Formula
    • Profitability Ratios Formula
    • Financial Leverage Formula
    • Contribution Margin Formula
    • Time Value of Money Formula
    • Balance Sheet Formula
    • Opportunity Cost Formula
    • Current Assets Formula
    • Operating Cycle Formula
    • Operating Margin Formula
    • Bond Equivalent Yield Formula
    • Marginal Revenue Formula
    • Sales Revenue Formula
    • Net Debt Formula
    • Times Interest Earned Formula
    • Gordon Growth Model Formula
    • Required Rate of Return Formula
    • Break Even Analysis Formula
    • Inventory Formula
    • Marginal Propensity to Consume Formula
    • Debt to Asset Ratio Formula
    • Solvency Ratio Formula
    • Interest Expense Formula
    • Leverage Ratio Formula
    • Dividend Payout Ratio Formula
    • Operating Profit Margin Formula
    • PEG Ratio Formula
    • Net Interest Margin Formula
    • Return on Equity (ROE) Formula
    • Overhead Ratio Formula
    • Future Value Formula
    • Days in Inventory Formula
    • Market Capitalization Formula
    • Sharpe Ratio Formula
    • Cash Ratio Formula
    • Retained Earnings Formula
    • Average Rate of Return Formula
    • Current Liabilities Formula
    • Equity Value Formula
    • Relative Risk Reduction Formula
    • Capital Adequacy Ratio Formula
    • Debtor Days Formula
    • DPMO Formula
    • Average Formula
    • Exponential Growth Formula
    • Net Realizable Value Formula
    • Range Formula
    • Shareholders' Equity Formula
    • Sinking Fund Formula
    • Doubling Time Formula
    • Salvage Value Formula
    • Coupon Rate Formula
    • Simple Interest Formula
    • Correlation Formula
    • R - Squared Formula
    • MTBF Formula
    • Change in Net Working Capital Formula
    • Midrange Formula
    • Normal Distribution Formula
    • Mean Formula
    • Population Mean Formula
    • Median Formula
    • Central Limit Theorem Formula
    • Free Cash Flow Formula
    • Stockholder's Equity Formula
    • Acid-Test Ratio Formula
    • Percentile Rank Formula
    • Purchasing Power Parity Formula
    • Harmonic Mean Formula
    • Relative Standard Deviation Formula
    • T Distribution Formula
    • Normalization Formula
    • Operating Income Formula
    • Markup Percentage Formula
    • Relative Change Formula
    • Maturity Value Formula
    • Salary Formula
    • High Low Method
    • Income Statement Formula
    • Market to Book Ratio Formula
    • Dividends Per Share Formula
    • Daily Compound Interest Formula
    • Working Capital Turnover Ratio Formula
    • Weighted Mean Formula
    • Compounded Annual Growth Rate Formula
    • Regression Formula
    • Margin of Error Formula
    • Hypergeometric Distribution Formula
    • Standard Normal Distribution Formula
    • NOPAT Formula
    • Effective Tax Rate Formula
    • Degree of Operating Leverage Formula
    • Outliers Formula
    • Information Ratio Formula
    • Percent Error Formula
    • Hypothesis Testing Formula
    • Activity Based Costing Formula
    • Coverage Ratio Formula
    • Market Risk Premium Formula
    • Degree of Financial Leverage Formula
    • Absorption Costing Formula
    • Future Value of Annuity Due Formula
    • Internal Growth Rate Formula
    • F-Test Formula
    • Covariance Formula
    • Population Variance Formula
    • Coefficient of Determination Formula
    • Adjusted R Squared Formula
    • Compound Interest Formula
    • Gross Profit Formula
    • Accounting Equation Formula
    • Sample Size Formula
    • Sample Standard Deviation Formula
    • Quartile Formula
    • Variance Analysis Formula
    • Correlation Coefficient Formula
    • Z Score Formula
    • Variance Formula
    • Present Value Formula
    • Coefficient of Variation Formula
    • Net Asset Value Formula
    • Profit Margin Formula
    • Holding Period Return Formula
    • Capital Asset Pricing Model Formula
    • Present Value of Annuity Due Formula
    • Depreciation Expenses Formula
    • Annuity Formula
    • Taxable Income Formula
    • Profit Formula
    • Monthly Compound Interest Formula
    • Equity Formula
    • Return on Total Assets Formula
    • Alpha Formula
    • Debt to Equity Ratio Formula
    • EBITDA Formula
    • Accrued Interest Formula
    • Dividend Formula
    • Common Stock Formula
    • Mortgage Formula
    • Growth Rate Formula
    • Absolute Value Formula
  • Accounting fundamentals (614+)
  • Asset Management Tutorial (181+)
  • Banking (43+)
  • Corporate Finance Basics (248+)
  • Credit Research Fundamentals (6+)
  • Economics (44+)
  • Financial Modeling in Excel (13+)
  • Investment Banking Basics (114+)
  • Investment Banking Careers (26+)
  • Trading for dummies (67+)
  • valuation basics (27+)
Finance Blog Courses
  • Finance for Non Finance Managers Training Course
  • Investment Banking Online Course
  • Financial Modeling Certification
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Investment Banking Jobs Offer
  • Finance Formula
  • All Tutorials
Certification Courses
  • All Courses
  • Financial Analyst All in One Bundle
  • Investment Banking Training
  • Financial Modeling Course
  • Equity Research Course
  • Private Equity Training Course
  • Business Valuation Course
  • Mergers and Acquisitions Course

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

Download Sample Standard Deviation Formula Excel Template

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Special Offer - All in One Financial Analyst Bundle (250+ Courses, 40+ Projects) Learn More