STDEV.P Function in LibreOffice Calc — Tested Examples
An explanation of LibreOffice Calc STDEV.P, including tested formulas, examples, expected results and common mistakes.
Verification status: Two identified examples were executed in LibreOffice Calc 25.2. Other examples are not necessarily application-tested. How formula examples are checked
Availability and version history
- Introduced: LibreOffice 4.2.
- Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
Calculates the standard deviation based on the entire population. For 2,4,6 the population standard deviation is the square root of 8/3, approximately 1.633.
Tested visual example: Population standard deviation
What this example answers: Measure variation when the listed readings are the full population. The formula was entered and recalculated in LibreOffice Calc 25.2.3.2, not simulated or inferred from a reference page.
Sample sheet you can reproduce
Create a sheet named Example, put these headings on row 4, and enter the sample values in rows 5–10. Or download the editable STDEV-P practice workbook with the formulas already entered.
| Sheet row | A: Reading ID | B: Batch | C: Reading | D: Note |
|---|---|---|---|---|
| 5 | R-01 | Batch A | 10 | Full set |
| 6 | R-02 | Batch A | 14 | Full set |
| 7 | R-03 | Batch A | 8 | Full set |
| 8 | R-04 | Batch A | 22 | Full set |
| 9 | R-05 | Batch A | 12 | Full set |
| 10 | R-06 | Batch A | 16 | Full set |
Example 1 — Formula and expected result
Select cell E5, enter the formula and press Enter:
=STDEV.P(C5:C10)
Verified result: 4.5338.
STDEV.P divides squared deviations by N, appropriate for the full population rather than a sample.

Genuine screenshot from LibreOffice Calc 25.2.3.2: the formula bar, input table and computed output are visible. No interface imagery was generated.
Example 2 — Change the inputs
The same downloadable .ods file has this second formula in E12:
=STDEV.P(C5:C8)
Verified result: 5.3619. Restrict the range to the first four observations. A population standard deviation changes when the population changes.
How to avoid misleading results
- Watch for this mistake: For a sample intended to estimate a larger population, use STDEV.S instead of STDEV.P.
- Scope and limitations: An extreme outlier can increase standard deviation substantially.
- Argument separators: These examples use semicolons (
;) in the LibreOffice Calc locale tested. Other locales may use different settings. - Verification scope: The two formulas in this section were executed and checked in LibreOffice Calc 25.2.3.2. Older examples elsewhere in this article have not all been independently retested.
Official function reference: LibreOffice Help — STDEV-P.
Syntax and arguments
=STDEV.P(Number1 [; Number2; ...])
Square brackets mark optional arguments; do not type the brackets or ellipsis. Separate arguments with semicolons (;).
| Argument | Explanation |
|---|---|
Number1 |
First number or cell range to include. |
Number2; ... |
Optional additional numbers or ranges; the Help documents up to 255 arguments. |
A single range can supply multiple observations for the population standard deviation.
Worked examples
Example 1: Calculate population standard deviation
=STDEV.P(2;4;6)
Expected result: 1.632993161855452. This value was returned in the LibreOffice Calc 25.2 test.
Example 2: Population standard deviation of 1, 2, 3
=STDEV.P(1;2;3)
Expected result: 0.816496580927726. This value was returned in the LibreOffice Calc 25.2 test.
How to interpret the result
For 2,4,6 the population standard deviation is the square root of 8/3, approximately 1.633.
Mistakes and troubleshooting
- Check inputs and assumptions: If the measurements are only a sample, prefer STDEV.S.
- Check argument order and format: Strings go in quotes, cell references do not. Functions that return arrays may require special entry.
- Verify your own data: Reproduce the example first. If your formula returns an error, inspect the referenced cells and individual argument values.
Related functions
Tested version and primary reference
2 example(s) on this page passed real calculations in LibreOffice Calc 25.2.3.2. This is not a claim about every possible input or other spreadsheet applications.