GAUSS Function (LibreOffice Calc)
Use GAUSS in LibreOffice Calc to calculate signed standard-normal area between zero and a z-score, with examples and cumulative-probability comparisons.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
- 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.
Validation scope: Native observations below refer to saved LibreOffice Calc 25.2.3.2 Linux evidence dated 12 October 2026 at 18:03 UTC. This later review verified artifact hashes, all 50 ODS/result pairs, and 38 independent numerical or mathematical-identity checks. Calc was not rerun. The documented ±5 precision difference remains visible rather than being treated as exact agreement.
What GAUSS does (and what it does not do)
GAUSS measures the signed area between zero and a z-score under a standard normal (bell-shaped) distribution. It is closely related to the standard normal cumulative distribution function Φ:
GAUSS(z) = Φ(z) - 0.5
= NORMSDIST(z) - 0.5
= NORM.S.DIST(z; 1) - 0.5
The first two identities are stated in LibreOffice Help and the ODF 1.3 OpenFormula standard; NORM.S.DIST with a true cumulative argument is a tested Calc alternative. [1][2][3]
The distinction is important: =GAUSS(1) does not mean 84.13% of observations are below 1. Instead, it returns approximately 0.3413447461 (34.13 percentage points), the area from 0 to +1. Add 0.5 to get the cumulative probability 0.8413447461. For z < 0, GAUSS returns a negative signed area, not an invalid negative probability. [1][3]
You might use GAUSS to calculate the share of measurements between an average and a cutoff, estimate the share within a symmetric band, or convert standardized observations into normal-distribution intervals. It does not estimate parameters from data, test normality, calculate probability density, or give a left-tail cumulative probability without an adjustment.
Syntax and arguments
=GAUSS(Number)
| Argument | Required | Accepted purpose | Notes |
|---|---|---|---|
Number |
Yes | A numeric z-score (the number of standard deviations above or below the mean). | Use 0 for the mean; negative scores fall below it. A number, calculation, or numeric cell reference is appropriate. |
There is one required positional argument, no optional arguments, and no default z-score. =GAUSS() is incomplete. The displayed function name and formula separators can change with Calc language settings, but the function itself is GAUSS in the English interface. LibreOffice Help documents GAUSS(Number); ODF 1.3 OpenFormula documents GAUSS(Number X). [1][2][4]
Language, decimal and formula-separator settings
The examples below use English function names, a dot as the decimal point and a semicolon between different functions’ multiple arguments (e.g. NORM.S.DIST(1;1)). GAUSS itself takes only one argument, so no list separator is needed inside GAUSS(1.96). Calc can use localized function names and can configure the argument separator (including comma instead of semicolon). Decimal separators can differ by locale. A comma-as-decimal input and comma-as-list-separator are not interchangeable. Check Tools → Options → LibreOffice Calc → Formula (macOS menu placement may differ). [4]
If you import regional values as text, convert or standardize the numbers before computing probabilities. The directly quoted text "1" was coerced to 1 in the tested Calc environment, but relying on implicit coercion across files, locales and other products is fragile.
First example: a one-standard-deviation result
Enter this formula into an empty Calc cell:
=GAUSS(1)
Observed in Calc 25.2.3.2: 0.341344746068543 (displayed here to 15 decimals). This is approximately 34.13% between z = 0 and z = 1. The cumulative probability below z = 1 is:
=GAUSS(1)+0.5
Observed: 0.841344746068543, or 84.13%. Both examples were natively executed and compared with an independent error-function calculation. [1][3]
Reproducible z-score table
In A1, type z; in B1, type GAUSS(z); enter these inputs in A2:A9. Fill B2 downward with =GAUSS(A2).
| Cell | A: z | B formula | Expected / native observed result (rounded) | Interpretation |
|---|---|---|---|---|
| A2 | 0 |
=GAUSS(A2) |
0 |
Zero area from mean to itself. |
| A3 | 0.5 |
=GAUSS(A3) |
0.1914624613 |
19.15% between mean and +0.5σ. |
| A4 | 1 |
=GAUSS(A4) |
0.3413447461 |
34.13% between mean and +1σ. |
| A5 | -1 |
=GAUSS(A5) |
-0.3413447461 |
Signed area below the mean. |
| A6 | 1.96 |
=GAUSS(A6) |
0.4750021049 |
47.50% between mean and +1.96σ. |
| A7 | -1.96 |
=GAUSS(A7) |
-0.4750021049 |
Negative of the corresponding upper area. |
| A8 | 2 |
=GAUSS(A8) |
0.4772498681 |
47.72% between mean and +2σ. |
| A9 | 3 |
=GAUSS(A9) |
0.4986501020 |
49.87% between mean and +3σ. |
Validation label: These results are native Calc observations, not merely calculator estimates. The saved ODS workbook and script record them; independent calculations use 0.5 × erf(z / √2). Show fewer decimal places in ordinary reports, because the calculation is approximate and machine precision varies.
LibreOffice’s official examples present =GAUSS(0.19) as about 0.08 and =GAUSS(0.0375) as about 0.01. The more precise tested values are 0.0753454347347955 and 0.0149568299259098, respectively. The Help examples are rounded, not separate definitions. [1]
Four practical patterns
1. Fraction within a symmetric band
To calculate the share of a standard normal population between −1.96 and +1.96, double the area from 0 to +1.96:
=2*GAUSS(1.96)
Native observed result: 0.950004209703559, or approximately 95.00%. This follows from symmetry; it does not mean every real dataset is normally distributed. A value of 1.96 is often associated with a 95% central band for a standard normal model, but using such an interval to infer uncertainty from sampled data requires separate assumptions.
2. Area between two z-scores
For a continuous standard normal variable, GAUSS(z2)-GAUSS(z1) returns the area between the two cutoffs (assuming z2 > z1). For z = 1 through z = 2:
=GAUSS(2)-GAUSS(1)
Native observed: 0.135905121983278, or approximately 13.59%. This works even when the interval crosses zero, because subtracting the signed areas cancels the shared 0.5 offset. For the reverse order the result is negative; sort the endpoints or use the smaller cutoff first if you want a nonnegative probability.
3. Standardize real-world values before using GAUSS
Suppose you are modeling product weights as normally distributed with mean 100 g and standard deviation 15 g. To examine a threshold of 130 g, put 100 into F2, 15 into G2, and 130 into H2:
=GAUSS((H2-F2)/G2)
The standardized z-score is (130−100)/15 = 2. Native observed: 0.477249868051821. This is the modeled share between the mean and 130 g. To find the modeled proportion at or below 130 g:
=GAUSS((H2-F2)/G2)+0.5
Native observed: 0.977249868051821 (about 97.72%). For another readable equivalent, =GAUSS(STANDARDIZE(H2;F2;G2)) returned 0.477249868051821 in the test workbook. These are model-based results, not observations about real products; verify that a normal model is justified first. A standard deviation of zero or less makes standardization invalid. [2]
4. Unequal cutoffs on an ordinary scale
Using the same mean, standard deviation and upper limit, find the modeled share between 90 g and 130 g:
=GAUSS((H2-F2)/G2)-GAUSS((90-F2)/G2)
Native observed result: 0.724757330505, approximately 72.48%. The lower z-score is −10/15. This pattern also works for non-symmetric bands so long as the same mean and standard deviation are used for both endpoints.
GAUSS compared with related Calc functions
| Function | What it answers | Formula at z = 1 | Value in Calc (approximately) |
|---|---|---|---|
GAUSS |
Signed area between zero and z | =GAUSS(1) |
0.3413447461 |
NORMSDIST |
Cumulative area to the left of z | =NORMSDIST(1) |
0.8413447461 |
NORM.S.DIST with 1/TRUE |
Cumulative area to the left of z | =NORM.S.DIST(1;1) |
0.8413447461 |
NORM.S.DIST with 0/FALSE |
Density height, not cumulative area | =NORM.S.DIST(1;0) |
0.2419707245 |
PHI |
Standard normal density height at z | =PHI(1) |
0.2419707245 |
STANDARDIZE |
Convert original value into z-score | =STANDARDIZE(130;100;15) |
2 |
Source and test basis: GAUSS, NORMSDIST and NORM.S.DIST relationships are in current LibreOffice Help and OpenFormula; the equalities and the density distinction were exercised in native Calc assertions. [1][2][3] A density is not a probability by itself; integrate over a range to get probability.
Errors and troubleshooting
The following results are native observations in LibreOffice 25.2.3.2 on Linux, not promises that every LibreOffice version or spreadsheet app renders identical error text:
| Input or problem | Observed output | Practical correction |
|---|---|---|
=GAUSS() |
Err:511 |
Provide the required numeric z-score. |
=GAUSS(1;2) |
Err:508 |
Remove the extra parameter; GAUSS accepts exactly one. |
=GAUSS("abc") |
#VALUE! |
Confirm that the value is numeric rather than nonnumeric text. |
=GAUSS("1") |
0.341344746068543 |
Numeric text was coerced in this test; convert imported numbers explicitly for portability. |
=GAUSS(TRUE()) |
0.341344746068543 |
TRUE acted as 1 in this test; use a numeric reference for clarity. |
=GAUSS(1/0) |
#DIV/0! |
Resolve the upstream division by zero. |
=GAUSS(NA()) |
#N/A |
Resolve the source error rather than hiding it. |
=GAUSS(A1000) with blank A1000 |
0 |
Check whether an unintentionally empty input is being interpreted as zero. |
=GAUSS(1E+300) |
#NUM! |
Extreme magnitude failed in the tested build; do not extrapolate one tested limit to all versions. |
=GAUSS(1.2.3) |
Err:509 |
Correct the invalid numeric syntax. |
If a number displays incorrectly, check number formatting and decimal separators; a result like 0.34134 displayed as 34.13% is the same numeric value. If your expected result is near 0.84 but GAUSS shows 0.34, you probably need +0.5 or the cumulative form of NORM.S.DIST. If you are working with quantities below the mean, the negative GAUSS value is intentional; for an interval’s probability, subtract the GAUSS values in increasing endpoint order or use a cumulative distribution.
Numerical precision at far-tail z-scores
For finite real inputs, GAUSS approaches +0.5 as z increases and −0.5 as z decreases. At sufficiently extreme values, finite-precision numerical arithmetic may round the result to 0.5/−0.5. The native regression test recorded a particularly useful accuracy detail: at z=5 and z=-5, LibreOffice 25.2.3.2 differed from independent erf calculations by about 2.03×10⁻¹¹. Consequently, the regression suite uses a documented 5×10⁻¹¹ absolute tolerance only at ±5 rather than claiming exact agreement at every printed digit. The initial 1×10⁻¹² failures and the justified tolerance change are both retained in the evidence. These are precision differences, not different definitions of GAUSS.
Compatibility: LibreOffice, Excel and Google Sheets
| Spreadsheet application | Official support | Syntax / meaning | Validation performed for this guide |
|---|---|---|---|
| LibreOffice Calc | Confirmed in LibreOffice 26.8 Help; ODF 1.3 OpenFormula defines GAUSS | GAUSS(Number); returns Φ(z)−0.5 |
Native execution in Calc 25.2.3.2 on Linux; 38 passing assertions and 12 diagnostics. |
| Microsoft Excel | Microsoft’s GAUSS article documents current Excel editions | GAUSS(z); returns Φ(z)−0.5 |
Official documentation checked only; Excel was not executed. |
| Google Sheets | Google’s official GAUSS article documents GAUSS(z) and negative-z results |
Returns signed area from the mean to z | Official documentation checked only; Google Sheets was not executed. |
Those applications agree on the mathematical definition in their official documentation, but do not assume identical error codes, numeric coercion, locale parsing, or last-digit precision. The official documents were checked again on October 13, 2026. [1][3][5][6]
ODF / OpenFormula name versus aliases
ODF 1.3 Part 4 section 6.18.33 explicitly specifies the function name GAUSS, with one numeric argument and semantics NORMDIST(X;0;1;TRUE())−0.5. This is the standard name, not an alias for PHI (density), NORMSDIST (cumulative), or an edition-specific variant. GAUSS is a separate function from those related functions. [3]
Related tutorials on Spreadsheet-Tutorials.com
- NORMSDIST — cumulative standard normal probability.
- NORM.S.DIST — switch between density and cumulative probability.
- NORM.DIST — normal distribution with a specified mean and standard deviation.
- PHI — standard normal density, not an area.
- STANDARDIZE — convert a value to a z-score.
Official references and validation provenance
All source pages below were checked again on 2026-10-13. Direct references are included at the point of the corresponding claims above. Access dates indicate when the sources were checked, not when an application was natively executed.
- [1] LibreOffice 26.8 Help, Statistical Functions Part Two, “GAUSS.” Syntax, one argument, meaning, relation to NORMSDIST and rounded examples. https://help.libreoffice.org/latest/en-US/text/scalc/01/04060182.html
- [2] LibreOffice 26.8 Help, Statistical Functions Part Five, “NORMSDIST” and “NORM.S.DIST.” Cumulative versus density behavior. https://help.libreoffice.org/latest/en-US/text/scalc/01/04060185.html
- [3] OASIS OpenDocument 1.3, Part 4 OpenFormula §6.18.33 “GAUSS.” Standard one-numeric-argument name and
NORMDIST(X;0;1;TRUE())−0.5semantics. https://oasis-tcs.github.io/odf-tc/odf1.3/content.odf13-formula.html - [4] LibreOffice 26.8 Help, Formula Options. Localized function names, formula language and configurable separators. https://help.libreoffice.org/latest/en-US/text/shared/optionen/01060900.html
- [5] Microsoft Support, “GAUSS function.” Excel syntax, compatible definition and documented error categories. https://support.microsoft.com/en-us/excel/functions/gauss-function
- [6] Google Docs Editors Help, “GAUSS function.” Google Sheets syntax, negative argument and examples. https://support.google.com/docs/answer/9116278?hl=en
Execution vs documentation: The results labelled native observed come from LibreOffice Calc 25.2.3.2 in the saved ODS workbook and UNO test script. Expected numeric outcomes were independently calculated with Python’s math.erf formula; observed/expected values and precision tolerances are recorded per assertion. LibreOffice 26.8 Help, ODF 1.3, Microsoft and Google support pages were documentation-checked, not executed in their respective application versions. Calc was not rerun during the later evidence review.