Skip to main content
Graphing Calculator
English

Integral Calculator

The definite integral of f from a to b measures the signed area between the graph and the x-axis on that interval. Enter a function and bounds below to compute it numerically.

Integrate

How the calculation works

This tool uses adaptive Simpson’s rule: it approximates the function with parabolas on small subintervals and recursively subdivides wherever the estimate is not yet accurate enough. It is the same quadrature routine behind the shaded integral regions in the graphing calculator, so the numbers agree.

Because the method is adaptive, smooth functions converge quickly while tricky regions — sharp peaks, oscillations — automatically receive more subdivisions. The result is rounded to 6 decimal places; the underlying estimate is typically accurate well beyond that.

Reading the result

Area above the x-axis counts positive and area below counts negative, so an integral can be zero even when the function is not — for example, ∫[−1,1] x³ dx = 0 because the two lobes cancel exactly. If you want total geometric area, integrate the absolute value instead.

Integrals also accumulate quantities: if f(x) is a rate (liters per minute, say), the integral over a time interval is the total amount. Try f(x) = x² from 0 to 1 (result: 1/3 ≈ 0.333333) — a classic every calculus student meets.

Frequently asked questions

Is this an exact antiderivative evaluation?

No — the tool integrates numerically with adaptive Simpson’s rule rather than finding a symbolic antiderivative. For well-behaved functions the approximation is accurate to many decimal places.

Why is my integral zero when the function clearly has area?

The definite integral is signed area: regions below the x-axis subtract from regions above it. Symmetric functions like sin(x) over [0, 2π] integrate to exactly zero for this reason.

What if the function is undefined somewhere in the interval?

Functions with singularities inside [a, b] (like 1/x across x = 0) do not have ordinary definite integrals there. The tool will report that the integral could not be estimated instead of returning a wrong number.

Related pages