ERF Function (Gnumeric)
Calculate Gnumeric ERF with one or two limits, including signed intervals, native tail examples, normal-probability relationships and cancellation cautions.
Verification status: 16 reference, boundary and explicit advanced-check formulas were recalculated with Gnumeric 1.12.57 ssconvert and replayed in 1.12.62. Current CLI checks also cover argument-sensitive XLSX serialization, cacheless re-import, input mutation and restoration. No receiving application or GUI was tested. How formula examples are checked
Quick answer: =ERF(0.5) gives 0.520499877813 in the tested Gnumeric 1.12.57 build.
Availability and version history
- Introduced: First release not established.
- Supported in: Gnumeric 1.12.62, with no retirement established.
- Scope: Desktop Gnumeric with the Engineering plugin; English comma-separated formulas are shown.
- Checked: October 14, 2026 in 1.12.57 ssconvert, with a fresh 1.12.62 ssconvert replay on October 22, 2026. The reference and boundary tables plus the explicit advanced-check formula were reproduced in both versions. The newer checks used Debian 13 x86-64, GOFFICE 0.10.61, C.UTF-8 and UTC, without opening the GUI.
What ERF returns
ERF evaluates the Gauss error function. With one argument x it integrates from zero to x, scaled by 2/SQRT(PI()). With two arguments it integrates from the first limit to the second. The order of those limits controls the sign. Versioned function help.
Syntax and arguments
=ERF(lower[,upper])
One or two numeric arguments are accepted. In the one-argument form, the supplied value is the endpoint: =ERF(1) means the integral from 0 to 1. In the two-argument form, =ERF(lower,upper) uses both limits. Do not interpret the optional second position as a cumulative flag. Brackets mark optional arguments; do not type the brackets into a formula. Function implementation.
Reproducible examples
Ordinary results are rounded to twelve decimal places; tiny nonzero values use scientific notation. The eight reference rows were independently checked.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=ERF(0) |
0 |
=ERF(0.5) |
0.520499877813 |
=ERF(1) |
0.84270079295 |
=ERF(-1) |
-0.84270079295 |
=ERF(0,1) |
0.84270079295 |
=ERF(-1,1) |
1.685401585899 |
=ERF(1,2) |
0.152621472069 |
=ERF(6,10) |
2.15197367125E-17 |
Practical worksheet
For the interval from 1 to 2, =ERF(1,2) is approximately 0.152621472069. Reversing the limits gives approximately −0.152621472069, while equal limits give zero. Put the lower and upper limits in separately labeled cells before filling a table.
The result is a signed scaled integral. For example, =ERF(-1,1) is approximately 1.685401585899, which exceeds 1. That is valid for this function and should not be described as a probability without the appropriate transformation.
Advanced interpretation and checks
For a standard normal variable Z, the probability that Z is greater than a and at most b is ERF(a/SQRT(2),b/SQRT(2))/2. The factor 1/2 and the SQRT(2) scaling are essential. As a simpler check, the executed identity =ERF(1)+ERFC(1) returned 1.
The native =ERF(6,10) returned a small nonzero result, approximately 2.151973671250E-17. Computing ERF(10)−ERF(6) separately can lose that tail difference when both single-argument values round to 1. The two-limit implementation uses a normal-interval helper rather than requiring the user to subtract two near-one displayed values.
Boundaries and troubleshooting
Negative arguments are accepted and ERF is odd: ERF(−x)=−ERF(x). A negative interval result need not indicate an error; inspect the order of the limits. The function does not silently sort them.
The listed coercion tests accepted TRUE as 1 and an empty F5 as 0, while text “abc” failed. Such observations apply to these exact formulas and import path; they are not a rule that all text or missing data should be treated numerically. Very narrow intervals and extreme tails still require accuracy checks beyond the ordinary examples.
F5 below is an actually empty cell. The listed errors are native error results, not mathematical zeroes.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=ERF(2,1) |
-0.152621472069 |
=ERF(1,1) |
0 |
=ERF("abc") |
#VALUE! |
=ERF(F5) |
0 |
=ERF(TRUE()) |
0.84270079295 |
=ERF() |
#N/A |
=ERF(0,1,2) |
#N/A |
XLSX compatibility: one limit versus two limits
When Gnumeric 1.12.62 saves an XLSX file, the formula name depends on the number of arguments. Its XLSX writer keeps the two-limit form as ERF and uses the ERF.PRECISE translation for the one-limit form. The _xlfn. prefix below is the serialized XLSX formula spelling, not an instruction to change the formula you enter in Gnumeric.
| Formula entered in Gnumeric | Formula saved inside XLSX | Recalculated result |
|---|---|---|
=ERF(0.5) |
_xlfn.ERF.PRECISE(0.5) |
0.520499877813 |
=ERF(1,2) |
ERF(1,2) |
0.152621472069 |
=ERF(6,10) |
ERF(6,10) |
2.15197367125E-17 |
Do not replace a two-limit expression with a one-argument ERF.PRECISE call: that would lose the lower-to-upper interval. For example, ERF(1,2) is not the same calculation as ERF(1).
For an editable check, put 1 in B2 and 2 in B3. In the tested Gnumeric 1.12.62 CLI path, =ERF(B2) returned approximately 0.842700792950, while =ERF(B2,B3) returned approximately 0.152621472069. Changing B2 to 0.5 and B3 to 1 changed those results to approximately 0.520499877813 and 0.322200915137. Restoring the two inputs restored the original results.
These formulas were exported, their saved result caches removed, and the XLSX file recalculated by Gnumeric again. The re-imported native formulas used ERF in both cases, and the complete cell values and formulas matched the baseline after restoration. This proves the tested Gnumeric round trip, not Excel, Calc or another application’s acceptance, precision or GUI behavior. Test the receiving application before relying on a shared workbook, particularly for small tail intervals.
Official evidence and checking scope
The retained workbook results include a deliberately stale SUM cache and an uncached SUM formula, both recalculated correctly. Native evidence covers the named 1.12.57 build and listed cases; cell-reference layouts and other explanatory compositions are instructions or independent mathematical checks unless explicitly identified as executed. The October 22 extension additionally tested the listed formulas and B2/B3 mutations in Gnumeric 1.12.62, including cacheless XLSX re-import. Other locales, direct GUI entry, other applications and releases beyond 1.12.62 were not tested.