erf

erf(x)

Try it yourself:


erf(): The Gaussian Error Function

erf() calculates the error function, a smooth function closely connected to the normal distribution and diffusion processes. It integrates a Gaussian curve, so it appears in probability, heat flow, signal analysis, and statistics.

Interpreting values

For real input, erf(x) lies between −1 and 1, is odd, and approaches those limits as magnitude grows. erf(0) is zero. It relates a standard normal cumulative probability to an input scaled by √2, which makes it useful when translating between Gaussian models and probability statements.

Use exp() in explicit Gaussian formulas, sqrt() for standard-deviation scaling, and abs() for symmetric error magnitudes. For a tail probability, avoid subtracting nearly equal values when precision matters; choose a numerically suitable formulation.

Try Erf in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions