STDEV.S
Supported, behaves as documentedCategory: Statistical · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =STDEV.S(A1:A2) | Sample standard deviation of two hand-verifiable values, identical formula/data to STDEV_basic_two_points in the STDEV file | 7.07106781186548 | 7.0710678118654755 Mean=15; sample variance=((10-15)^2+(20-15)^2)/(2-1)=50; sqrt(50)=7.0710678118654755 |
Matched |
| =STDEV.S(A1:A8) | STDEV.S on the classic Wikipedia sample dataset {2,4,4,4,5,5,7,9} - must match STDEV_matches_STDEV_S_same_data exactly, since STDEV.S is simply the Excel-2010+ modern name for the legacy STDEV calculation (same n-1 sample formula) | 2.1380899352994 | 2.138089935299395 | Matched |
| =STDEV.S(A1:A1) | Sample stdev needs n>=2 (divides by n-1); one value -> #DIV/0!, confirmed against Microsoft's STDEV.S documentation of the n-1 method (https://support.microsoft.com/en-us/office/stdev-s-function-7d69cf97-0c1f-4acf-be27-f3e83904cc23) | #DIV/0! | #DIV/0! | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation