# Integral Calculator

Calculate the definite integral of a function between two limits, for example sin(x) from 0 to pi or x^2 * exp(-x) from 0 to 10. The value is computed numerically with adaptive Simpson integration and shown with an error estimate.

## Frequently asked questions

### What kind of integrals can it solve?

Definite integrals of one variable: the function, the variable and the lower and upper limits. The result is a number. Indefinite integrals, which return a formula, are not supported.

### How is the integral computed?

With adaptive Simpson's rule: the interval is split into pieces, and each piece is halved again until the estimate stops changing, so steep parts of the function get more evaluation points than flat ones.

### Which functions can I use?

The same functions as the Derivative Calculator, including sin, cos, tan, exp, log, sqrt, abs and powers with ^. Constants such as pi and e are allowed in the function and in the limits.

### What does the error estimate mean?

It is the method's own estimate of how far the result may be from the exact value. Smooth functions usually reach an error far below the displayed precision.

### Why does it say the integral diverges?

The function became infinite or undefined somewhere in the interval, for example 1/x at 0. Such improper integrals need limits that avoid the singular point.

### Can I swap the limits?

Yes. If the upper limit is smaller than the lower one, the result has the opposite sign, as the definition of the integral says.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
