Formualizer Docs

ERFC

Returns the complementary error function of a number.

ERFC(x) is equivalent to 1 - ERF(x).

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=ERFC(x)

Arguments

ArgumentTypeRequiredDefault
xanyRequired—

How it works

The complementary error function is the area under exp(−t²) from x to infinity, scaled by 2 / √π. The result is 1 at x = 0 and approaches 2 as x goes to negative infinity.

Remarks

  • Input is numerically coerced.
  • Results are approximate floating-point values.
  • Propagates input errors.

Examples

Evaluate one minus the error function at one.

Formula =ERFC(1)

Expected result 0.157299207050285

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

At negative one the error function is negative, so its complement exceeds one.

Formula =ERFC(-1)

Expected result 1.84270079294971

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The error function vanishes at zero, giving a complement of one.

Formula =ERFC(0)

Expected result 1

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The input must be numeric.

Formula =ERFC("invalid")

Expected result #VALUE!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

Is ERFC(x) equivalent to 1-ERF(x) here?

Yes. It computes the complementary error function and matches 1 - erf(x) behavior.

Implementation

Engine source

On this page