# Standard deviation spreadsheet - unexpected result

I have set up a spreadsheet to demonstrate to students how to calculate standard deviation. The result that I have calculated matches the result given with the data, from the source. However, it differs from the result of the spreadsheet formula...

=STDEV(B2:B20)

Is anyone able to explain why the function STDEV might not give the result expected?

I shall be happy to share my spreadsheet if attachments are possible on this forum?

The data set I am working with is available here:

https://www.rgs.org/CMSPages/GetFile....

My step by step spreadsheet calculations involve...

(1) Calculate the mean.

(2) Subtract the mean from each value in the set.

(3) Calculate the square of each value in (2).

(4) Sum the vales from (3).

(5) Divide (4) buy n.

(6) Take the square root of (5).

Do you expect potential contributors to figure out on their own, which data you have used from the link to a PDF, recreate formulas based on your description and compare with

`STDEV()`

result, while it could be so simple, if you'd upload your Calc sheet with theincorrectcalculation (but may be you are looking for`STDEVP()`

)@Opaque: note that OP wrote:

... which means that only technical problem prevented OP from uploading the sample document.

Oh sorry, I oversaw the statement

@Meneer: my apologies for the comment above.

@Mike Kaganski - Thanks to point me to that.