How to Calculate the Variance in Salaries | Career Trend

How to Calculate the Variance in Salaries

How to Calculate the Variance in Salaries
Written By
James Green
James Green
Sep 10, 2011
2 minute read

The variance of a set of data measures how far the observations are spread out. To calculate the variance of any distribution, the data's mean and number of observations are needed. Larger calculations are simplified with the use of a spreadsheet, a tool that will not only make the process easier but will also contain built-in functions that calculate the variance automatically.

Gather data regarding salaries. It's important that such data is within the same time frame, for example, in the same month, quarter or year. Databases for salaries in the United States may be obtained from the Bureau of Labor Statistics. Compiling your data into a spreadsheet will make the calculation process easier.

Calculate the mean of the sample of salaries. This is accomplished by adding up all of the salaries, then dividing by the sample size. The sample size is the number of observations in your sample. So if you have observations of salaries of $18,000, $12,000 and $14,000 a year, adding all of these up and dividing by three gives a mean of $14,666.67, rounded up to the nearest penny.

Subtract the mean from each observed salary. Using the same example, the results are 3,333.33, -2,666.67 and -666.67. Take the square root of each these results. This leaves you with 11,111,088.89 for the first observation, 7,111,128.89 for the second and 444,448.89 for the third. Take the sum of all of these results, which add up to $18,666,666.67.

Divide your result by the number of observations, minus one, to obtain the variance. Using the same example, dividing by two would give a variance of $9,333,333.33. Taking the square root of this number gives the standard deviation, which would equal $3,055.05. Due to its smaller nature, many people find the standard deviation easier to deal with than the variance.

Photo Credits

Towfiqu Photography/Moment/GettyImages

James Green

James Green has composed economic research reports on a freelance basis since 2008. Specializing in business and finance, he also writes for various websites. Green possesses a Master of Science in real estate from the University of…

Sponsored
Career Trend Logo

Career Trend is the go-to guide for readers navigating their careers, offering diverse and credible content for those looking to achieve professional success.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.