Integral Calculator

Type a function and choose a tab. Definite integrals are computed numerically with an error estimate. Indefinite integrals appear only when a closed form is found, and each one is checked by differentiating it back. Numerical results carry a label and their error estimate, so you can tell them apart from exact forms.

Integral Calculator calculates in your browser: the numbers you enter are never sent to a server. It is free and needs no sign-up.

How to use it

  1. Compute a definite integral In the Integral Calculator, on the Definite tab, enter 4/(1+x^2) with limits 0 and 1, then press Calculate. The result is π ≈ 3.141592654, shown with an error estimate.
  2. Try an infinite limit On the Definite tab, enter 1/x^2 with limits 1 and inf to get 1. For 1/x from 0 to 1, a warning says the integral may diverge, so the number shown is not reliable.
  3. Check a midpoint sum On the Riemann sum tab, choose Midpoints for x^2 on [0, 1] with n = 4 to get 0.328125. Simpson’s rule needs an even n, and an odd n shows an error.

Questions

What is the difference between a numerical value and an exact form?

The numerical value comes from numerical methods and carries an error estimate. An exact form appears only when a closed form is found, such as π for 4/(1+x^2) from 0 to 1.

Why can the Indefinite tab fail to find an antiderivative?

Some functions have no closed-form antiderivative that can be verified here. The calculator then says so and offers Use in the definite tab, where a numerical value can still be computed.

What does the divergence warning mean?

The warning means the integral may diverge, as with 1/x from 0 to 1. The number shown beside it is not reliable, so check the limits and the function before you use it.