ERF in WPS Spreadsheet: Error-Function Integrals
Evaluate a normalized Gaussian integral between nonnegative bounds, check interval additivity and distinguish the result from a probability density.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
ERF evaluates the error-function integral over an interval. For the bounded examples in this guide, the mathematical definition is:
ERF(a,b) = (2/sqrt(pi)) * integral from a to b of exp(−t^2) dt.
Equivalently, it is erf(b) − erf(a), where the single-variable mathematical erf integrates from zero. This is an integral of a Gaussian-shaped kernel, not an integral of the already integrated error function.
Syntax and evidence boundary
=ERF(lower_limit, [upper_limit])
The WPS lesson says that when the upper limit is omitted, integration is from zero to the supplied lower limit. The original controls below supply both arguments, using finite, nonnegative, ordered bounds. They establish no negative-domain convention, extreme-tail accuracy or universal precision guarantee.
The vendor demonstration =ERF(0,1) displays approximately 0.842700793. That agrees with the standard normalized error-function integral named in the lesson. It corroborates the model without establishing how many digits a particular WPS build calculates internally.
Calculate an original interval
- Enter 0 in A2 and 0.5 in B2.
- Enter
=ERF(A2,B2)in C2. - The independent expected result is approximately 0.5204998778130465.
- Label the bounds and retain adequate decimal display for the task. Display rounding is separate from the underlying calculation.
For comparison, the unnormalized integral of exp(−t²) over the same interval is this result multiplied by sqrt(pi)/2, approximately 0.4612810064. Confusing the normalized and unnormalized integrals changes the answer by a constant factor.
Independently calculated controls
| Formula | Expected value, approximately |
|---|---|
=ERF(0,0.5) |
0.5204998778130465 |
=ERF(0.5,1) |
0.3222009151366684 |
=ERF(0,1.5) |
0.9661051464753108 |
=ERF(1,1.5) |
0.1234043535255959 |
=ERF(0.5,0.5) |
0 |
=ERF(0,0) |
0 |
Equal bounds describe an interval of zero width. The zero expectations follow from the integral definition; they are documentation-derived mathematical controls, not observed application outputs.
Use interval additivity as a cross-check
The adjacent intervals 0 to 0.5 and 0.5 to 1 partition 0 to 1. Their independent values sum to approximately 0.8427007929497149, matching the mathematical reference for the vendor’s displayed example. Similarly, the interval 0 to 1 plus 1 to 1.5 gives approximately 0.9661051464753108.
This check is useful when an application model divides a continuous range into segments. Use consistent bounds and avoid rounding every intermediate value aggressively. It does not by itself prove the numerical implementation is accurate at much larger arguments or for a very narrow interval whose endpoint values nearly cancel.
Interpretation and troubleshooting
ERF’s normalized kernel is not the standard normal density directly: the standard normal cumulative function requires an additional argument scaling by sqrt(2) and a one-half shift and scale. Do not interpret an arbitrary ERF interval as a probability for a differently scaled random variable without deriving that transformation.
The lesson documents #VALUE! for a nonnumeric bound. Its walkthrough does not establish negative-input errors, locale parsing, text coercion or extreme arguments. Use numeric cells and the explicit bounded controls above. For a separately documented complementary function, see ERFC; do not assume every small-tail calculation is numerically interchangeable with subtracting from one.
Availability and evidence scope
The official WPS lesson is dated 2019-06-24. The lesson leaves its applicability edition and platform unspecified; links elsewhere on the website do not establish a supported platform. A numeric build is not specified. The lesson date is a documented-by date, not a first-release date. First introduction, last functioning version and retirement or deprecation history remain unestablished. No cross-platform parity is inferred.
The complete lesson and its formula images or walkthrough were inspected on October 18, 2026. Original examples in this guide were independently calculated from the documented model; they were not executed in WPS or another spreadsheet engine. Historical vendor demonstrations are identified separately. Numeric approximations below are independent expectations, not promises about WPS display precision.