Area Under Curve Calculator
FREE
Enter your expression
Use ^ for exponents, * for multiplication, sqrt() for square roots, ln() for log
Result
Example Calculations
InputResult
∫₀² x² dx8/3 ≈ 2.667
∫₀^π sin(x) dx2
∫₁ᵉ ln(x) dx1
∫₀¹ √x dx2/3

Computing Area Under a Curve

The area under y=f(x) from x=a to x=b is computed using the definite integral: A = ∫ₐᵇ f(x)dx = F(b)−F(a) where F is any antiderivative of f. This is the Fundamental Theorem of Calculus Part 2. If f(x) is negative on part of [a,b], the integral computes signed area (negative regions subtract). To get total geometric area, integrate |f(x)|.

Area between curves: If f(x) ≥ g(x) on [a,b]: A = ∫ₐᵇ [f(x)−g(x)]dx. First find intersection points (where f=g) to determine a and b, then verify which function is on top.

Common examples: ∫₀¹ x²dx = [x³/3]₀¹ = 1/3. ∫₀^π sin(x)dx = [−cos x]₀^π = −(−1)−(−1) = 2. ∫₁ᵉ ln(x)dx = [x·ln x − x]₁ᵉ = (e−e)−(0−1) = 1. Area between y=x and y=x²: ∫₀¹(x−x²)dx = 1/2−1/3 = 1/6.

How to Use This Area Under Curve Calculator

Enter your expression in the input box above using standard mathematical notation. Use ^ for exponents (e.g., x^3 for x³), * for multiplication when needed, sin(), cos(), tan(), ln(), sqrt() for standard functions. Then click Calculate to get your answer with full step-by-step working.

This calculator handles polynomial, trigonometric, exponential, logarithmic expressions, and combinations thereof. Results are shown in simplified form where possible, with each step of the working displayed below the answer.

For best results, enter expressions clearly without ambiguity. Use parentheses to group terms: (x^2 + 1)/(x - 1) rather than x^2+1/x-1. The calculator follows standard order of operations.

Why Area = Integral — The Rigorous Connection

The connection between area and the definite integral is not obvious — it is a theorem. The Riemann integral is defined as the limit of Riemann sums: ∫ₐᵇf(x)dx = lim(n→∞) Σᵢ f(xᵢ*) Δx. Each term f(xᵢ*)Δx is the area of one thin rectangle of width Δx and height f(xᵢ*). The limit of the sum of rectangle areas is, by definition, the area under the curve. So the integral equals the area because the integral was designed to capture exactly this quantity — it's the limiting, infinitely-precise version of "add up the rectangles."

The Fundamental Theorem then gives us a practical way to compute this limit without actually taking limits of sums: find an antiderivative F and compute F(b)−F(a). This is why the FTC is so powerful — it replaces an infinite limiting process with a finite computation.

Signed Area vs Geometric Area — When They Differ

The definite integral computes signed area. Where f(x) > 0, the integral accumulates positive area. Where f(x) < 0, it accumulates negative area. For example, ∫₀^(2π) sin(x)dx = 0, because the positive hump from 0 to π (area = 2) exactly cancels the negative hump from π to 2π (area = −2). This signed interpretation is mathematically correct and physically meaningful — integrating velocity gives displacement, which can be negative if you move backwards, not total distance.

To get geometric (unsigned) area, integrate |f(x)|: find all zeros of f in [a,b], split the integral at each zero, and sum the absolute values of each piece. For sin(x) on [0,2π]: |∫₀^π sin x dx| + |∫_π^(2π) sin x dx| = 2 + 2 = 4.

Consumer and Producer Surplus — Economic Applications

Area between curves has direct economic interpretation. Consumer surplus — the total benefit consumers receive above the market price — equals the area between the demand curve P = D(Q) and the market price P*: CS = ∫₀^(Q*) [D(Q)−P*]dQ. Producer surplus — profit above the minimum sellers would accept — equals the area between the market price and the supply curve: PS = ∫₀^(Q*) [P*−S(Q)]dQ. Total economic welfare (the argument that competitive markets maximise) is CS + PS, the total area between demand and supply curves up to the equilibrium quantity. These are all "area between curves" computations with specific economic meaning.

Frequently Asked Questions
What does 'area under the curve' actually mean?
It means the area of the region bounded by the curve y = f(x), the x-axis, and vertical lines at x = a and x = b. For positive functions this is straightforward geometric area. For functions that dip below zero, the integral gives signed area — regions below the x-axis subtract.
How do I find the area between two curves?
Identify where the curves intersect (set them equal and solve). On the interval between intersection points, identify which curve is on top. Integrate: A = ∫[top − bottom]dx. If the curves switch position within the interval, split the integral at the crossing point.
Why does the integral give signed area?
Because the integral is defined as the limit of Riemann sums where each rectangle has height f(xᵢ), which is negative when f is below the x-axis. This signed convention is mathematically consistent and physically meaningful — it allows integration of velocity to give displacement (not distance).
How do I get total area (not signed area)?
Integrate |f(x)| instead of f(x). Find all x-values where f changes sign, split the integral at each crossing, and add the absolute values of each piece.
AM
Dr. Aisha Malik, PhD Mathematics
Senior Lecturer in Applied Mathematics · 12 years teaching calculus

Dr. Malik holds a PhD in Applied Mathematics from the University of Edinburgh. She has verified all formulas, examples, and explanations on this page for mathematical accuracy. The calculator tool demonstrates key concepts covered in her undergraduate calculus courses.

Reviewed by: Prof. James Chen, Stanford Mathematics Mar 2026
References & Further Reading
  • Stewart, J. (2015). Calculus, §5.1–5.3, §6.1. Cengage.
  • Apostol, T. (1967). Calculus, Vol. 1, Ch. 1. Wiley.
  • Strang, G. (1991). Calculus, Ch. 5. Wellesley-Cambridge.