Skip to content
ihateDesmos

Area under the curve calculator

Type a function and two bounds to find the area between the curve and the x-axis. You get the exact answer where one exists, with steps, and regions below the axis are handled properly.

y =
from to
Result
9

≈ 9 (decimal)

Steps
  1. Power rule: ∫x^n dx = x^(n+1)/(n+1) with n = 2
  2. Check: differentiating x³ / 3 gives x² again
  3. Fundamental theorem of calculus: ∫ from 0 to 3 = F(3) − F(0) with F(x) = 1/3 x³
  4. = 9
  5. The curve stays on one side of the x-axis between 0 and 3, so the area is the size of the integral.
Graph the curve

How to use it

  1. 1
    Type a function of x, like x^2 or sin(x).
  2. 2
    Type the left and right bounds. These can include pi, like pi/2.
  3. 3
    Press Find the area, and read the steps.

How to find the area under a curve

  1. Find an antiderivative F of f.
  2. Work out F(b) − F(a). This is the fundamental theorem of calculus.

For f(x) = x² from 0 to 3: F(x) = x³/3, so the area is 27/3 − 0 = 9.

Area versus the definite integral

These aren’t always the same. A definite integral counts area below the x-axis as negative, so ∫ sin(x) dx from 0 to 2π is 0: the positive and negative parts cancel. The actual area is 4. This calculator gives the total area, and notes the signed integral when the two differ. To find the area by hand, split the integral wherever the curve crosses the axis.

Why an integral gives area

Slice the region into thin rectangles of width Δx and height f(x), and add up their areas. As the slices get thinner, the sum approaches the exact area. This is called a Riemann sum, and the integral sign ∫ is a stretched S, for “sum”. The sum dx is what remains of Δx when the rectangles become infinitely thin.

Frequently asked questions

How do you calculate the area under a curve?
Integrate the function between the two x-values. If it crosses the x-axis, integrate each piece separately and add the sizes.
Can the area under a curve be negative?
An area can’t be, but a definite integral can. Regions below the x-axis count as negative in the integral.
What if there’s no formula for the antiderivative?
The calculator estimates the area numerically by adaptive quadrature, and marks the answer with ≈ where it isn’t exact.
How do I find the area between two curves?
Integrate the top curve minus the bottom curve. The area between curves calculator does this for you.

Related tools and guides

Try the area under the curve calculator

It opens instantly, with no account and nothing to install.

Open the calculator