Beginner

Area Under the Curve Calculator

Find the signed area under a chosen function between two limits using high-accuracy numerical integration.

Function f(x)

Pick the curve to integrate
Signed area under curve
2.6667

Definite integral from a to b

Shaded region under f(x)
Average value of f
1.3333
Interval width (b − a)
2
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

The area under a curve is the definite integral ∫_a^b f(x) dx. This tool evaluates it with composite Simpson's rule using 1000 subintervals for high accuracy. The result is a signed area, so sections below the x-axis subtract from the total and can yield a negative or zero answer.

Formula
Area = ∫_a^b f(x) dx ≈ (Δx/3)[f₀ + 4·Σ(odd) + 2·Σ(even) + fₙ], Δx = (b − a)/n
How this is calculated

Choose a function f(x) from the list and enter the lower limit a and the upper limit b. The calculator approximates the definite integral ∫_a^b f(x) dx, which represents the signed area between the curve and the x-axis over [a, b].

Integration uses composite Simpson's rule with n = 1000 even subintervals. The step size is Δx = (b − a)/n, and the rule weights the endpoints once, odd-indexed interior samples by 4, and even-indexed interior samples by 2, then multiplies the total by Δx/3. Simpson's rule fits parabolas to pairs of subintervals, giving fourth-order accuracy that is far better than the basic rectangle or trapezoid methods for smooth curves.

The result is a signed area: regions where f(x) is below the x-axis subtract from the total, so the answer can be negative or zero. If a > b the sign flips automatically because Δx becomes negative. Functions like 1/x, √x, and ln(x) are undefined or singular at parts of the real line, so a limit that lands on an undefined point (or an interval crossing such a point) returns no result. The average value is the area divided by (b − a).

Frequently asked questions

No. This computes the signed area, so portions of the curve below the x-axis count as negative and can make the total negative or zero.

It uses composite Simpson's rule with 1000 subintervals, which is exact for polynomials up to degree three and highly accurate for other smooth functions.

The integral simply changes sign, matching the standard convention ∫_a^b = −∫_b^a.

Also known as

area under curve
area under graph
integral area
definite integral area
auc calculator

APA

TG we-Calculate Editorial Team. (2026). Area Under the Curve Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/area-under-curve-calculator

Chicago

TG we-Calculate Editorial Team. "Area Under the Curve Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/area-under-curve-calculator.

IEEE

TG we-Calculate Editorial Team, "Area Under the Curve Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/area-under-curve-calculator

BibTeX

@misc{wecalculate_area_under_curve_calculator, title = {Area Under the Curve Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/area-under-curve-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?