Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Error Function Table Generated
51
rows  |  x from 0 to 5
x erf(x) erfc(x)
0 0 1
0.1 0.112463 0.887537
0.2 0.2227025 0.7772975
0.3 0.3286267 0.6713733
0.4 0.4283924 0.5716076
0.5 0.5205 0.4795
0.6 0.6038562 0.3961438
0.7 0.6778012 0.3221988
0.8 0.7421009 0.2578991
0.9 0.7969081 0.2030919
1 0.8427007 0.1572993
1.1 0.880205 0.119795
1.2 0.910314 0.089686
1.3 0.9340081 0.0659919
1.4 0.9522853 0.0477147
1.5 0.9661053 0.0338947
1.6 0.9763485 0.0236515
1.7 0.9837905 0.0162095
1.8 0.9890905 0.0109095
1.9 0.9927903 0.0072097
2 0.9953221 0.0046779
2.1 0.9970204 0.0029796
2.2 0.998137 0.001863
2.3 0.9988567 0.0011433
2.4 0.9993114 0.0006886
2.5 0.999593 0.000407
2.6 0.9997639 0.0002361
2.7 0.9998656 0.0001344
2.8 0.999925 0.000075
2.9 0.9999589 0.0000411
3 0.9999779 0.0000221
3.1 0.9999883 0.0000117
3.2 0.999994 0.000006
3.3 0.9999969 0.0000031
3.4 0.9999985 0.0000015
3.5 0.9999993 0.0000007
3.6 0.9999996 0.0000004
3.7 0.9999998 0.0000002
3.8 0.9999999 0.0000001
3.9 1 0
4 1 0
4.1 1 0
4.2 1 0
4.3 1 0
4.4 1 0
4.5 1 0
4.6 1 0
4.7 1 0
4.8 1 0
4.9 1 0
5 1 0

What is the Error Function Table Calculator?

This tool builds a table of the Gauss error function erf(x) and the complementary error function erfc(x) over a sequence of x values. The error function appears throughout probability, statistics, heat conduction and diffusion problems. It is a pure mathematical (special function) tool, so it applies identically everywhere.

Two S-shaped curves: erf rising from -1 to 1 and erfc falling from 2 to 0
erf(x) rises from -1 to 1 while the complementary erfc(x) falls from 2 to 0.

How to use it

Enter three numbers: the Initial value of x (the first row), the Increment added to x for each successive row, and the Number of iterations (rows). The calculator generates \(x = \text{startX} + i \times \text{stepX}\) for \(i = 0, 1, \ldots, \text{numPoints}-1\) and reports erf(x) and erfc(x) for every row. The increment may be negative (descending table) or zero (all rows identical).

The formula

$$\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}} \int_{0}^{x} e^{-t^{2}}\,dt, \qquad \operatorname{erfc}(x) = 1 - \operatorname{erf}(x)$$The values are computed with the Abramowitz & Stegun 7.1.26 rational approximation (maximum error about \(1.5 \times 10^{-7}\)), using the odd symmetry \(\operatorname{erf}(-x) = -\operatorname{erf}(x)\) for negative arguments.

Advertisement
Bell-shaped curve with the area from 0 to x shaded under the curve
erf(x) is proportional to the area under the Gaussian e^(-t^2) from 0 to x.

Worked example

With Initial value 0, Increment 0.5 and 5 rows you get \(x = 0, 0.5, 1.0, 1.5, 2.0\). Then \(\operatorname{erf}(1.0) \approx 0.8427008\) and \(\operatorname{erfc}(1.0) \approx 0.1572992\), and indeed \(\operatorname{erf}(1.0) + \operatorname{erfc}(1.0) = 1\), confirming the identity.

FAQ

What range can erf take? \(\operatorname{erf}(x)\) lies in \((-1, 1)\); \(\operatorname{erf}(0) = 0\), \(\operatorname{erf}(+\infty) = 1\), \(\operatorname{erf}(-\infty) = -1\).

What about erfc? \(\operatorname{erfc}(x)\) lies in \((0, 2)\): \(\operatorname{erfc}(0) = 1\), \(\operatorname{erfc}(+\infty) = 0\), \(\operatorname{erfc}(-\infty) = 2\).

How many rows can I generate? The number of rows must be a positive integer; the table is capped at 2000 rows to keep output manageable.

Last updated: