STDEV
Supported, behaves as documentedCategory: Compatibility · 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(A1:A2) | Sample standard deviation of two hand-verifiable values | 7.07106781186548 | 7.0710678118654755 Mean=15; sample variance=((10-15)^2+(20-15)^2)/(2-1)=50; sqrt(50)=7.0710678118654755 |
Matched |
| =STDEV(A1:A8) | Legacy STDEV on the classic Wikipedia sample dataset {2,4,4,4,5,5,7,9}; compare to STDEV.S_matches_STDEV_same_data on identical data in the STDEV.S file - both must return exactly the same value since STDEV.S is just the modern name for the same sample-stdev calculation | 2.1380899352994 | 2.138089935299395 Sample variance=32/7=4.571428571428571; sqrt of that = 2.138089935299395 |
Matched |
| =STDEV(A1:A1) | Sample stdev needs at least 2 data points (divides by n-1); a single value -> #DIV/0! | #DIV/0! | #DIV/0! n-1=0 with a single supplied value, causing division by zero |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation