🧮
🧮 Math & statistics

Error Function Calculator (erf, erfc and inverse erf)

Results update as you type.

Your numbers

Understanding the error function calculator — concept and principle

This calculator evaluates the error function erf(x) and its complement erfc(x), or finds x for a given erf value. It also links the result to the normal distribution: the standard normal probability Φ(x√2) and the share of a normal population within ±x√2 standard deviations. Use it in statistics, heat conduction, diffusion and signal-processing problems.

erf(0.5)erf(0.5)−0.50.552.05 %area under e^(−t²), scalederfc(0.5)0.4795001222z = 0.5 · √20.7071067812Φ(0.7071)0.7602499389erf(0.5)0.5204998778
erf(x) is the share of a normal distribution within ±x√2 standard deviations.

How it is calculated

erf(x) = (2/√π) ∫₀ˣ e^(−t²) dt

erfc(x) = 1 − erf(x)

Normal link: Φ(z) = ½(1 + erf(z/√2)); share within ±z σ = erf(z/√2)

The principle

e^(−t²) is the bell curve; erf measures the area under it from 0 to x, scaled so that the total from −∞ to ∞ maps to −1 to 1. It is an odd function: erf(−x) = −erf(x). Because the normal density is a stretched version of e^(−t²), every normal probability can be written with erf, which is why it appears wherever randomness or diffusion spreads things out, from measurement errors (hence the name) to heat flowing into a cold block.

Worked example

Default inputs: erf and erfc for x = 0.5.

  1. erf(0.5) = 0.5204998778; erfc(0.5) = 1 − 0.5205 = 0.4795001222.
  2. Equivalent z-score = 0.5 × √2 = 0.7071067812.
  3. Standard normal Φ(0.7071) = ½(1 + 0.5205) = 0.7602499389.
  4. Share of a normal distribution within ±0.7071 σ = 52.05 %.
How Answer changes with x (first option)How Answer changes with x00.20.40.60.810.1250.250.3750.50.6250.751Example: 0.5204998778x (first option)
Each point is the calculator re-run with only “x (first option)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
x (first option)Answer
0.1250.1403162048
0.250.2763263902
0.3750.4041169094
0.50.5204998778
0.6250.6232408822
0.750.7111556337
10.8427007929

How to read the result

erf(x) approaches 1 quickly: erf(1) ≈ 0.843, erf(2) ≈ 0.995. erfc gives the small tail that is left, important for rare events. To get the familiar normal shares, use z/√2: erf(1/√2) ≈ 0.6827, the 68 % of the empirical rule.

Common mistakes

Keep in mind: Values are numerical approximations to about 10 significant digits; extreme arguments may lose accuracy.

Frequently asked questions

What is the error function used for?

Normal-distribution probabilities, diffusion and heat-conduction solutions, and signal processing.

What is erf(1)?

About 0.8427.

How is erf related to the normal distribution?

Φ(z) = ½(1 + erf(z/√2)).

Sources: NIST Digital Library of Mathematical Functions (DLMF), Chapter 7 Error Functions

Checked 9 Nov 2026. NIST Digital Library of Mathematical Functions (DLMF), §7.2 Definitions, equations 7.2.1 (erf) and 7.2.2 (erfc = 1 − erf).

🧮 All math & statistics tools →🌍 Calculators by country →